repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmempool/check_bad_blocks.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2020, Intel Corporation */ /* * check_bad_blocks.c -- pre-check bad_blocks */ #include <stddef.h> #include <stdint.h> #include <unistd.h> #include "out.h" #include "libpmempool.h" #include "pmempool.h" #include "pool.h" #include "check_util.h" #include "se...
1,329
20.803279
127
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmempool/feature.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2018, Intel Corporation */ /* * feature.c -- implementation of pmempool_feature_(enable|disable|query)() */ #include <stddef.h> #include <stdint.h> #include <unistd.h> #include <errno.h> #include <sys/mman.h> #include "libpmempool.h" #include "util_pmem.h" #inc...
17,344
20.955696
80
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmempool/check_btt_map_flog.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2019, Intel Corporation */ /* * check_btt_map_flog.c -- check BTT Map and Flog */ #include <stdint.h> #include <sys/param.h> #include <endian.h> #include "out.h" #include "btt.h" #include "libpmempool.h" #include "pmempool.h" #include "pool.h" #include "ch...
15,734
21.937318
73
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmempool/check_backup.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2018, Intel Corporation */ /* * check_backup.c -- pre-check backup */ #include <stddef.h> #include <stdint.h> #include <unistd.h> #include "out.h" #include "file.h" #include "os.h" #include "libpmempool.h" #include "pmempool.h" #include "pool.h" #include "...
7,968
20.654891
103
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmempool/check_btt_info.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2018, Intel Corporation */ /* * check_btt_info.c -- check BTT Info */ #include <stdlib.h> #include <stdint.h> #include <endian.h> #include "out.h" #include "util.h" #include "btt.h" #include "libpmempool.h" #include "pmempool.h" #include "pool.h" #include ...
11,735
22.011765
80
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmempool/check_util.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2020, Intel Corporation */ /* * check_util.c -- check utility functions */ #include <stdio.h> #include <stdint.h> #include "out.h" #include "libpmempool.h" #include "pmempool.h" #include "pool.h" #include "check_util.h" #define CHECK_END UINT_MAX /* sepa...
15,575
22.247761
80
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmempool/pool.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2019, Intel Corporation */ /* * pool.h -- internal definitions for pool processing functions */ #ifndef POOL_H #define POOL_H #include <stdbool.h> #include <sys/types.h> #include "libpmemobj.h" #include "queue.h" #include "set.h" #include "log.h" #includ...
3,712
21.640244
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmempool/pool.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2020, Intel Corporation */ /* * pool.c -- pool processing functions */ #include <stdio.h> #include <stdint.h> #include <sys/mman.h> #include <unistd.h> #include <fcntl.h> #include <endian.h> #ifndef _WIN32 #include <sys/ioctl.h> #ifdef __FreeBSD__ #include...
24,738
21.009786
79
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem/pmem.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ /* * pmem.c -- pmem entry points for libpmem * * * PERSISTENT MEMORY INSTRUCTIONS ON X86 * * The primary feature of this library is to provide a way to flush * changes to persistent memory as outlined below (note that many * ...
21,858
21.817328
79
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem/pmem_windows.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2019, Intel Corporation */ /* * Copyright (c) 2016, Microsoft Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * ...
6,186
27.643519
74
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/auto_flush_windows.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2018-2019, Intel Corporation */ #ifndef PMEM2_AUTO_FLUSH_WINDOWS_H #define PMEM2_AUTO_FLUSH_WINDOWS_H 1 #define ACPI_SIGNATURE 0x41435049 /* hex value of ACPI signature */ #define NFIT_REV_SIGNATURE 0x5449464e /* hex value of htonl(NFIT) signature */ #define NFIT_...
1,215
22.843137
78
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/deep_flush_linux.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * deep_flush_linux.c -- deep_flush functionality */ #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include "deep_flush.h" #include "libpmem2.h" #include "map.h" #include "os.h" #include "out.h" #inclu...
2,395
20.392857
67
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/config.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * config.h -- internal definitions for pmem2_config */ #ifndef PMEM2_CONFIG_H #define PMEM2_CONFIG_H #include "libpmem2.h" #define PMEM2_GRANULARITY_INVALID ((enum pmem2_granularity) (-1)) #define PMEM2_ADDRESS_ANY 0 /* defaul...
1,070
28.75
75
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/map.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * map.h -- internal definitions for libpmem2 */ #ifndef PMEM2_MAP_H #define PMEM2_MAP_H #include <stddef.h> #include <stdbool.h> #include "libpmem2.h" #include "os.h" #include "source.h" #ifdef _WIN32 #include <windows.h> #end...
1,426
22.016129
67
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/deep_flush.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * deep_flush.h -- functions for deep flush functionality */ #ifndef PMEM2_DEEP_FLUSH_H #define PMEM2_DEEP_FLUSH_H 1 #include "map.h" #ifdef __cplusplus extern "C" { #endif int pmem2_deep_flush_write(unsigned region_id); int pmem2...
644
22.035714
74
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/persist.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * persist.c -- pmem2_get_[persist|flush|drain]_fn */ #include <errno.h> #include <stdlib.h> #include "libpmem2.h" #include "map.h" #include "out.h" #include "os.h" #include "persist.h" #include "deep_flush.h" #include "pmem2_a...
13,665
21.58843
76
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/persist_posix.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * persist_posix.c -- POSIX-specific part of persist implementation */ #include <errno.h> #include <stdint.h> #include <sys/mman.h> #include "out.h" #include "persist.h" #include "pmem2_utils.h" #include "valgrind_internal.h" ...
1,126
21.098039
80
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/pmem2_utils_linux.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ #include <errno.h> #include <fcntl.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/sysmacros.h> #include "libpmem2.h" #include "out.h" #include "pmem2_utils.h" #include "region_names...
1,507
20.239437
77
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/source_windows.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * source_windows.c -- windows specific pmem2_source implementation */ #include <Windows.h> #include "config.h" #include "libpmem2.h" #include "config.h" #include "out.h" #include "pmem2_utils.h" #include "source.h" #include "ut...
3,248
20.235294
76
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/pmem2_utils_none.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ #include <errno.h> #include "libpmem2.h" #include "out.h" #include "pmem2_utils.h" #include "source.h" /* * pmem2_device_dax_alignment -- checks the alignment of a given * dax device from given source */ int pmem2_device_dax_alignmen...
727
20.411765
77
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/auto_flush_linux.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2018-2020, Intel Corporation */ /* * auto_flush_linux.c -- Linux auto flush detection */ #define _GNU_SOURCE #include <inttypes.h> #include <fcntl.h> #include <sys/stat.h> #include <string.h> #include <errno.h> #include "out.h" #include "os.h" #include "fs.h" #...
4,214
21.783784
77
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/config.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * config.c -- pmem2_config implementation */ #include <unistd.h> #include "alloc.h" #include "config.h" #include "libpmem2.h" #include "out.h" #include "pmem2.h" #include "pmem2_utils.h" /* * pmem2_config_init -- initialize c...
5,603
20.227273
89
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/ravl_interval.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * ravl_interval.h -- internal definitions for ravl_interval */ #ifndef RAVL_INTERVAL_H #define RAVL_INTERVAL_H #include "libpmem2.h" #include "os_thread.h" #include "ravl.h" struct ravl_interval; struct ravl_interval_node; typede...
947
27.727273
77
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/memops_generic.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2018-2020, Intel Corporation */ /* * memops_generic.c -- architecture-independent memmove & memset fallback * * This fallback is needed to fulfill guarantee that pmem_mem[cpy|set|move] * will use at least 8-byte stores (for 8-byte aligned buffers and sizes), *...
9,345
26.488235
78
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/pmem2_arch.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ /* * pmem2_arch.h -- core-arch interface */ #ifndef PMEM2_ARCH_H #define PMEM2_ARCH_H #include <stddef.h> #include "libpmem2.h" #include "util.h" #include "valgrind_internal.h" #ifdef __cplusplus extern "C" { #endif struct pmem2...
1,427
22.8
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/region_namespace_ndctl.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * region_namespace_ndctl.c -- common ndctl functions */ #include <ndctl/libndctl.h> #include <ndctl/libdaxctl.h> #include <sys/sysmacros.h> #include <fcntl.h> #include "libpmem2.h" #include "pmem2_utils.h" #include "region_namespa...
5,467
20.111969
72
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/pmem2_utils_other.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ #include <errno.h> #include <sys/stat.h> #include "libpmem2.h" #include "out.h" #include "pmem2_utils.h" #ifdef _WIN32 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) #endif int pmem2_...
1,301
20.7
77
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/deep_flush.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * deep_flush.c -- pmem2_deep_flush implementation */ #include <stdlib.h> #include "libpmem2.h" #include "deep_flush.h" #include "out.h" /* * pmem2_deep_flush -- performs deep flush operation */ int pmem2_deep_flush(struct pmem2_...
929
21.682927
64
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/map_posix.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * map_posix.c -- pmem2_map (POSIX) */ #include <errno.h> #include <stdbool.h> #include <string.h> #include <sys/mman.h> #include "libpmem2.h" #include "alloc.h" #include "auto_flush.h" #include "config.h" #include "file.h" #i...
13,869
25.879845
96
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/auto_flush_windows.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2018-2019, Intel Corporation */ /* * auto_flush_windows.c -- Windows auto flush detection */ #include <windows.h> #include <inttypes.h> #include "alloc.h" #include "out.h" #include "os.h" #include "endian.h" #include "auto_flush_windows.h" /* * is_nfit_availa...
4,857
23.535354
80
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/badblocks_ndctl.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ /* * badblocks_ndctl.c -- implementation of DIMMs API based on the ndctl library */ #define _GNU_SOURCE #include <sys/types.h> #include <libgen.h> #include <limits.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #inc...
19,316
24.218016
80
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/region_namespace_ndctl.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ /* * region_namespace_ndctl.h -- internal definitions for libpmem2 * common ndctl functions */ #ifndef PMDK_REGION_NAMESPACE_NDCTL_H #define PMDK_REGION_NAMESPACE_NDCTL_H 1 #include "os.h" #ifdef __c...
754
21.878788
64
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/vm_reservation.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * vm_reservation.c -- implementation of virtual memory allocation API */ #include "libpmem2.h" /* * pmem2_vm_reservation_new -- creates new virtual memory reservation */ int pmem2_vm_reservation_new(struct pmem2_vm_reservation **...
614
20.206897
70
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/usc_windows.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * usc_windows.c -- pmem2 usc function for windows */ #include "alloc.h" #include "source.h" #include "out.h" #include "libpmem2.h" #include "pmem2_utils.h" #define GUID_SIZE sizeof("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX") #define VOL...
5,261
22.283186
93
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/ravl_interval.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2020, Intel Corporation */ /* * ravl_interval.c -- ravl_interval implementation */ #include "alloc.h" #include "map.h" #include "ravl_interval.h" #include "pmem2_utils.h" #include "sys_util.h" #include "os_thread.h" #include "ravl.h" /* * ravl_interval - struc...
4,963
21.26009
80
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/map_windows.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * map_windows.c -- pmem2_map (Windows) */ #include <stdbool.h> #include "libpmem2.h" #include "alloc.h" #include "auto_flush.h" #include "config.h" #include "map.h" #include "out.h" #include "persist.h" #include "pmem2_utils....
8,611
23.123249
99
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/extent_linux.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2018-2020, Intel Corporation */ /* * extent_linux.c - implementation of the linux fs extent query API */ #include <string.h> #include <fcntl.h> #include <sys/ioctl.h> #include <linux/fs.h> #include <linux/fiemap.h> #include "libpmem2.h" #include "pmem2_utils.h"...
3,519
20.333333
73
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/flush.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ #ifndef X86_64_FLUSH_H #define X86_64_FLUSH_H #include <emmintrin.h> #include <stddef.h> #include <stdint.h> #include "util.h" #include "valgrind_internal.h" #define FLUSH_ALIGN ((uintptr_t)64) static force_inline void pmem_clflus...
2,521
20.193277
66
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/init.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ #include <string.h> #include <xmmintrin.h> #include "auto_flush.h" #include "cpu.h" #include "flush.h" #include "memcpy_memset.h" #include "os.h" #include "out.h" #include "pmem2_arch.h" #include "valgrind_internal.h" #define MOVNT...
13,899
25.275992
79
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/avx.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2018, Intel Corporation */ #ifndef PMEM_AVX_H #define PMEM_AVX_H #include <immintrin.h> #include "util.h" /* * avx_zeroupper -- _mm256_zeroupper wrapper * * _mm256_zeroupper clears upper parts of avx registers. * * It's needed for 2 reasons: * - it imp...
2,238
24.735632
72
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy_memset.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ #ifndef MEMCPY_MEMSET_H #define MEMCPY_MEMSET_H #include <stddef.h> #include <xmmintrin.h> #include "pmem2_arch.h" typedef void barrier_fn(void); typedef void flush64b_fn(const void *); static inline void barrier_after_ntstores(vo...
9,351
33.131387
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memset/memset_nt_sse2.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "flush.h" #include "memcpy_memset.h" #include "memset_sse2.h" #include "out.h" #include "valgrind_internal.h" static force_inline void ...
5,912
20.580292
71
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memset/memset_nt_avx.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "avx.h" #include "flush.h" #include "memcpy_memset.h" #include "memset_avx.h" #include "out.h" #include "valgrind_internal.h" static fo...
6,151
20.43554
71
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memset/memset_t_avx512f.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "avx.h" #include "flush.h" #include "memcpy_memset.h" #include "memset_avx512f.h" static force_inline void mm512_store_si512(char *dest...
6,851
22.958042
69
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memset/memset_nt_avx512f.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "avx.h" #include "flush.h" #include "memcpy_memset.h" #include "memset_avx512f.h" #include "out.h" #include "util.h" #include "valgrind_...
6,397
21.607774
71
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memset/memset_t_sse2.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "flush.h" #include "memcpy_memset.h" #include "memset_sse2.h" static force_inline void mm_store_si128(char *dest, unsigned idx, __m128i...
3,304
20.461039
66
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memset/memset_sse2.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #ifndef PMEM2_MEMSET_SSE2_H #define PMEM2_MEMSET_SSE2_H #include <xmmintrin.h> #include <stddef.h> #include <stdint.h> #include <string.h> #include "out.h" static force_inline void memset_small_sse2_noflush(char *dest, __m128i xmm...
2,213
20.085714
71
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memset/memset_t_avx.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "avx.h" #include "flush.h" #include "memcpy_memset.h" #include "memset_avx.h" static force_inline void mm256_store_si256(char *dest, un...
3,890
20.73743
65
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy/memcpy_t_sse2.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "flush.h" #include "memcpy_memset.h" #include "memcpy_sse2.h" #include "out.h" static force_inline __m128i mm_loadu_si128(const char *s...
5,820
22.566802
69
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy/memcpy_avx.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #ifndef PMEM2_MEMCPY_AVX_H #define PMEM2_MEMCPY_AVX_H #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "out.h" static force_inline void memmove_small_avx_noflush(char *dest, const char *src, size_t len) { A...
2,173
20.524752
74
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy/memcpy_t_avx.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "avx.h" #include "flush.h" #include "memcpy_memset.h" #include "memcpy_avx.h" static force_inline __m256i mm256_loadu_si256(const char ...
6,705
22.780142
68
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy/memcpy_t_avx512f.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "avx.h" #include "flush.h" #include "memcpy_memset.h" #include "memcpy_avx512f.h" static force_inline __m512i mm512_loadu_si512(const c...
11,422
25.020501
72
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy/memcpy_sse2.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #ifndef PMEM2_MEMCPY_SSE2_H #define PMEM2_MEMCPY_SSE2_H #include <xmmintrin.h> #include <stddef.h> #include <stdint.h> #include "out.h" static force_inline void memmove_small_sse2_noflush(char *dest, const char *src, size_t len) {...
2,726
22.307692
75
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy/memcpy_nt_avx.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "avx.h" #include "flush.h" #include "memcpy_memset.h" #include "memcpy_avx.h" #include "valgrind_internal.h" static force_inline __m256...
10,092
21.731982
79
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy/memcpy_nt_sse2.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "flush.h" #include "memcpy_memset.h" #include "memcpy_sse2.h" #include "valgrind_internal.h" static force_inline __m128i mm_loadu_si128...
9,636
21.463869
80
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/x86_64/memcpy/memcpy_nt_avx512f.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ #include <immintrin.h> #include <stddef.h> #include <stdint.h> #include "pmem2_arch.h" #include "avx.h" #include "flush.h" #include "memcpy_memset.h" #include "memcpy_avx512f.h" #include "valgrind_internal.h" static force_inline __...
11,246
23.45
78
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/aarch64/arm_cacheops.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ /* * ARM inline assembly to flush and invalidate caches * clwb => dc cvac * clflushopt => dc civac * fence => dmb ish * sfence => dmb ishst */ /* * Cache instructions on ARM: * ARMv8.0-a DC CVAC - cache clean to Point of ...
1,988
30.571429
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/libpmem2/ppc64/init.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019, IBM Corporation */ /* Copyright 2019-2020, Intel Corporation */ #include <errno.h> #include <sys/mman.h> #include "out.h" #include "pmem2_arch.h" #include "util.h" /* * Older assemblers versions do not support the latest versions of L, e.g. * Binutils 2.3...
1,594
22.80597
74
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/windows/getopt/getopt.c
/* * *Copyright (c) 2012, Kim Gräsman * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
9,866
32.561224
91
c
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/windows/getopt/getopt.h
/* * *Copyright (c) 2012, Kim Gräsman * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
2,137
35.237288
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/windows/include/win_mmap.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2015-2019, Intel Corporation */ /* * Copyright (c) 2016, Microsoft Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * ...
2,871
34.02439
74
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/windows/include/platform.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2015-2020, Intel Corporation */ /* * Copyright (c) 2016, Microsoft Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * ...
5,431
22.929515
76
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/windows/include/endian.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2015-2017, Intel Corporation */ /* * endian.h -- convert values between host and big-/little-endian byte order */ #ifndef ENDIAN_H #define ENDIAN_H 1 /* * XXX: On Windows we can assume little-endian architecture */ #include <intrin.h> #define htole16(a) (a) ...
696
20.121212
76
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/windows/include/sys/file.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2015-2018, Intel Corporation */ /* * Copyright (c) 2016, Microsoft Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * ...
1,750
45.078947
74
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/windows/include/sys/param.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2015-2018, Intel Corporation */ /* * sys/param.h -- a few useful macros */ #ifndef SYS_PARAM_H #define SYS_PARAM_H 1 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) #define howmany(x, y) (((x) + ((y) - 1)) / (y)) #define BPB 8 /* bits per byte */ #def...
612
24.541667
64
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemblk.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmemblk.h -- definitions of libpmemblk entry points * * This library provides support for programming with persistent memory (pmem). * * libpmemblk provides support for arrays of atomically-writable blocks. * * See lib...
5,183
30.418182
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmempool.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2019, Intel Corporation */ /* * libpmempool.h -- definitions of libpmempool entry points * * See libpmempool(7) for details. */ #ifndef LIBPMEMPOOL_H #define LIBPMEMPOOL_H 1 #include <stdint.h> #include <stddef.h> #include <limits.h> #ifdef _WIN32 #incl...
8,009
22.910448
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/librpmem.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2019, Intel Corporation */ /* * librpmem.h -- definitions of librpmem entry points (EXPERIMENTAL) * * This library provides low-level support for remote access to persistent * memory utilizing RDMA-capable RNICs. * * See librpmem(7) for details. */ #if...
3,197
31.30303
77
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmemobj.h -- definitions of libpmemobj entry points * * This library provides support for programming with persistent memory (pmem). * * libpmemobj provides a pmem-resident transactional object store. * * See libpmemob...
662
23.555556
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemlog.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmemlog.h -- definitions of libpmemlog entry points * * This library provides support for programming with persistent memory (pmem). * * libpmemlog provides support for pmem-resident log files. * * See libpmemlog(7) fo...
4,540
28.679739
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmem.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmem.h -- definitions of libpmem entry points * * This library provides support for programming with persistent memory (pmem). * * libpmem provides support for using raw pmem directly. * * See libpmem(7) for details. ...
3,829
28.015152
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmem2.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2019-2020, Intel Corporation */ /* * libpmem2.h -- definitions of libpmem2 entry points (EXPERIMENTAL) * * This library provides support for programming with persistent memory (pmem). * * libpmem2 provides support for using raw pmem directly. * * See libpmem...
7,202
25.677778
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/ctl.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2019, Intel Corporation */ /* * libpmemobj/ctl.h -- definitions of pmemobj_ctl related entry points */ #ifndef LIBPMEMOBJ_CTL_H #define LIBPMEMOBJ_CTL_H 1 #include <stddef.h> #include <sys/types.h> #include <libpmemobj/base.h> #ifdef __cplusplus extern "...
6,198
34.221591
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/lists_atomic.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2017, Intel Corporation */ /* * libpmemobj/lists_atomic.h -- definitions of libpmemobj atomic lists macros */ #ifndef LIBPMEMOBJ_LISTS_ATOMIC_H #define LIBPMEMOBJ_LISTS_ATOMIC_H 1 #include <libpmemobj/lists_atomic_base.h> #include <libpmemobj/thread.h> #in...
5,121
30.042424
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/iterator.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmemobj/iterator.h -- definitions of libpmemobj iterator macros */ #ifndef LIBPMEMOBJ_ITERATOR_H #define LIBPMEMOBJ_ITERATOR_H 1 #include <libpmemobj/iterator_base.h> #include <libpmemobj/types.h> #ifdef __cplusplus exte...
2,041
23.60241
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/lists_atomic_base.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2017, Intel Corporation */ /* * libpmemobj/lists_atomic_base.h -- definitions of libpmemobj atomic lists */ #ifndef LIBPMEMOBJ_LISTS_ATOMIC_BASE_H #define LIBPMEMOBJ_LISTS_ATOMIC_BASE_H 1 #include <libpmemobj/base.h> #ifdef __cplusplus extern "C" { #endif...
1,022
24.575
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/tx_base.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ /* * libpmemobj/tx_base.h -- definitions of libpmemobj transactional entry points */ #ifndef LIBPMEMOBJ_TX_BASE_H #define LIBPMEMOBJ_TX_BASE_H 1 #include <setjmp.h> #include <libpmemobj/base.h> #ifdef __cplusplus extern "C" { #...
14,087
30.237251
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/pool_base.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ /* * libpmemobj/pool_base.h -- definitions of libpmemobj pool entry points */ #ifndef LIBPMEMOBJ_POOL_BASE_H #define LIBPMEMOBJ_POOL_BASE_H 1 #include <stddef.h> #include <sys/types.h> #include <libpmemobj/base.h> #ifdef __cplu...
3,095
24.377049
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/action_base.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2020, Intel Corporation */ /* * libpmemobj/action_base.h -- definitions of libpmemobj action interface */ #ifndef LIBPMEMOBJ_ACTION_BASE_H #define LIBPMEMOBJ_ACTION_BASE_H 1 #include <libpmemobj/base.h> #ifdef __cplusplus extern "C" { #endif enum pobj_ac...
1,935
24.813333
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/types.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2020, Intel Corporation */ /* * libpmemobj/types.h -- definitions of libpmemobj type-safe macros */ #ifndef LIBPMEMOBJ_TYPES_H #define LIBPMEMOBJ_TYPES_H 1 #include <libpmemobj/base.h> #ifdef __cplusplus extern "C" { #endif #define TOID_NULL(t) ((TOID(t))...
4,701
21.825243
78
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/base.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmemobj/base.h -- definitions of base libpmemobj entry points */ #ifndef LIBPMEMOBJ_BASE_H #define LIBPMEMOBJ_BASE_H 1 #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS #endif #include <stddef.h> #include <stdint.h...
7,415
23.72
80
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/tx.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmemobj/tx.h -- definitions of libpmemobj transactional macros */ #ifndef LIBPMEMOBJ_TX_H #define LIBPMEMOBJ_TX_H 1 #include <errno.h> #include <string.h> #include <libpmemobj/tx_base.h> #include <libpmemobj/types.h> ex...
4,386
21.848958
74
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/atomic_base.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmemobj/atomic_base.h -- definitions of libpmemobj atomic entry points */ #ifndef LIBPMEMOBJ_ATOMIC_BASE_H #define LIBPMEMOBJ_ATOMIC_BASE_H 1 #include <libpmemobj/base.h> #ifdef __cplusplus extern "C" { #endif /* * Non...
2,386
24.393617
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/thread.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2017, Intel Corporation */ /* * libpmemobj/thread.h -- definitions of libpmemobj thread/locking entry points */ #ifndef LIBPMEMOBJ_THREAD_H #define LIBPMEMOBJ_THREAD_H 1 #include <time.h> #include <libpmemobj/base.h> #ifdef __cplusplus extern "C" { #endif...
2,150
28.875
79
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/action.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2018, Intel Corporation */ /* * libpmemobj/action.h -- definitions of libpmemobj action interface */ #ifndef LIBPMEMOBJ_ACTION_H #define LIBPMEMOBJ_ACTION_H 1 #include <libpmemobj/action_base.h> #ifdef __cplusplus extern "C" { #endif #define POBJ_RESERVE...
829
23.411765
73
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/atomic.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2017, Intel Corporation */ /* * libpmemobj/atomic.h -- definitions of libpmemobj atomic macros */ #ifndef LIBPMEMOBJ_ATOMIC_H #define LIBPMEMOBJ_ATOMIC_H 1 #include <libpmemobj/atomic_base.h> #include <libpmemobj/types.h> #ifdef __cplusplus extern "C" { #...
1,115
23.26087
66
h
null
NearPMSW-main/nearpm/checkpointing/pmdk-checkpoint1/src/include/libpmemobj/iterator_base.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * libpmemobj/iterator_base.h -- definitions of libpmemobj iterator entry points */ #ifndef LIBPMEMOBJ_ITERATOR_BASE_H #define LIBPMEMOBJ_ITERATOR_BASE_H 1 #include <libpmemobj/base.h> #ifdef __cplusplus extern "C" { #endif /...
855
20.4
80
h
null
NearPMSW-main/nearpm/checkpointing/TPCC_CP/tpcc_db.h
/* Author: Vaibhav Gogte <vgogte@umich.edu> Aasheesh Kolli <akolli@umich.edu> This file declares the tpcc database and the accesor transactions. */ #include "table_entries.h" #include <atomic> #include "simple_queue.h" #include <pthread.h> #include <cstdlib> #include "../include/txopt.h" typedef simple_queu...
3,755
30.041322
110
h
null
NearPMSW-main/nearpm/checkpointing/include/txopt.h
// The starting address of the selected counter_atomic writes #ifndef TXOPT_H #define TXOPT_H #define COUNTER_ATOMIC_VADDR (4096UL*1024*1024) #define NUM_COUNTER_ATOMIC_PAGE 262144 // The starting address of the flush cache instruction #define CACHE_FLUSH_VADDR (4096UL*1024*1024+4*NUM_COUNTER_ATOMIC_PAGE*1024) // The...
3,665
26.155556
90
h
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_config.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2018, Intel Corporation */ /* * rpmemd_config.h -- internal definitions for rpmemd config */ #include <stdint.h> #include <stdbool.h> #ifndef RPMEMD_DEFAULT_LOG_FILE #define RPMEMD_DEFAULT_LOG_FILE ("/var/log/" DAEMON_NAME ".log") #endif #ifndef RPMEMD_GL...
1,012
21.021739
77
h
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2020, Intel Corporation */ /* * rpmemd.c -- rpmemd main source file */ #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> #include "librpmem.h" #include "rpmemd.h" #include "rpmemd...
18,497
22.007463
79
c
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_log.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2018, Intel Corporation */ /* * rpmemd_log.h -- rpmemd logging functions declarations */ #include <string.h> #include "util.h" #define FORMAT_PRINTF(a, b) __attribute__((__format__(__printf__, (a), (b)))) /* * The tab character is not allowed in rpmemd l...
1,991
25.210526
77
h
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_util.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2017-2018, Intel Corporation */ /* * rpmemd_util.c -- rpmemd utility functions definitions */ #include <stdlib.h> #include <unistd.h> #include "libpmem.h" #include "rpmem_common.h" #include "rpmemd_log.h" #include "rpmemd_util.h" /* * rpmemd_pmem_persist -- p...
2,839
22.666667
79
c
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_db.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2018, Intel Corporation */ /* * rpmemd_db.h -- internal definitions for rpmemd database of pool set files */ struct rpmemd_db; struct rpmem_pool_attr; /* * struct rpmemd_db_pool -- remote pool context */ struct rpmemd_db_pool { void *pool_addr; size_t ...
1,132
32.323529
76
h
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_obc.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2019, Intel Corporation */ /* * rpmemd_obc.c -- rpmemd out-of-band connection definitions */ #include <stdlib.h> #include <errno.h> #include <stdint.h> #include <string.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/socket.h> #include <unis...
12,309
21.422587
79
c
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_config.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2020, Intel Corporation */ /* * rpmemd_config.c -- rpmemd config source file */ #include <pwd.h> #include <stdio.h> #include <stddef.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <ctype.h> #include <errno.h> #in...
15,007
22.413417
79
c
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_db.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2020, Intel Corporation */ /* * rpmemd_db.c -- rpmemd database of pool set files */ #include <stdio.h> #include <stdint.h> #include <errno.h> #include <string.h> #include <unistd.h> #include <dirent.h> #include <sys/file.h> #include <sys/mman.h> #include "...
13,747
20.616352
80
c
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_fip.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2018, Intel Corporation */ /* * rpmemd_fip.h -- rpmemd libfabric provider module header file */ #include <stddef.h> struct rpmemd_fip; struct rpmemd_fip_attr { void *addr; size_t size; unsigned nlanes; size_t nthreads; size_t buff_size; enum rpmem_p...
1,066
27.078947
70
h
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/rpmemd/rpmemd_obc.h
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2016-2018, Intel Corporation */ /* * rpmemd_obc.h -- rpmemd out-of-band connection declarations */ #include <stdint.h> #include <sys/types.h> #include <sys/socket.h> struct rpmemd_obc; struct rpmemd_obc_requests { int (*create)(struct rpmemd_obc *obc, void *ar...
1,296
31.425
65
h
null
NearPMSW-main/nearpm/shadow/pmdkArrSwap-sd/src/tools/pmempool/create.c
// SPDX-License-Identifier: BSD-3-Clause /* Copyright 2014-2019, Intel Corporation */ /* * create.c -- pmempool create command source file */ #include <stdio.h> #include <getopt.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <sy...
14,987
21.403587
109
c