Searched refs:file_path (Results 1 – 7 of 7) sorted by relevance
| /f-stack/dpdk/usertools/ |
| H A D | dpdk-telemetry-client.py | 37 self.file_path = None 49 self.file_path = file_path 52 if os.path.exists(self.file_path): 53 os.unlink(self.file_path) 55 self.socket.recv_fd.bind(self.file_path) 60 JSON = (API_REG + self.file_path + "\"}}") 67 self.socket.client_fd.send((API_UNREG + self.file_path + "\"}}").encode()) 118 file_path = "" variable 120 file_path = sys.argv[1] variable 123 file_path = DEFAULT_FP variable [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/ |
| H A D | mmapwrite.c | 59 char *file_path = filename; in normal_writer() local 64 fd = open(file_path, O_RDWR | O_CREAT, 0777); in normal_writer() 66 err(1, "failed to open %s", file_path); in normal_writer() 92 char *file_path = filename; in map_writer() local 95 ret = access(file_path, F_OK); in map_writer() 99 fd = open(file_path, O_RDWR | O_CREAT, 0777); in map_writer() 112 fd = open(file_path, O_RDWR, 0777); in map_writer()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/ |
| H A D | zfs_ids_to_path_001_pos.ksh | 51 typeset file_path="$3" 54 typeset file_id=$(ls -i /$mntpnt/$file_path | sed 's/ .*//') 56 [[ "$output" == "$mntpnt/$file_path" ]] || \ 59 [[ "$output" == "$ds_path:/$file_path" ]] || \ 63 [[ "$output" == "$ds_path:/$file_path" ]] || \ 66 [[ "$output" == "$ds_path:/$file_path" ]] || \
|
| /f-stack/freebsd/contrib/openzfs/lib/libshare/os/linux/ |
| H A D | smb.c | 80 char file_path[PATH_MAX], line[512], *token, *key, *value; in smb_retrieve_shares() local 99 snprintf(file_path, sizeof (file_path), in smb_retrieve_shares() 102 if (stat(file_path, &eStat) == -1) { in smb_retrieve_shares() 110 if ((share_file_fp = fopen(file_path, "r")) == NULL) { in smb_retrieve_shares()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_eal_flags.c | 133 char file_path[PATH_MAX] = {0}; in process_hugefiles() local 135 snprintf(file_path, sizeof(file_path), in process_hugefiles() 139 if (remove(file_path) < 0) { in process_hugefiles()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.h | 983 uint8_t *open_file(const char *file_path, uint32_t *size); 984 int save_file(const char *file_path, uint8_t *buf, uint32_t size);
|
| H A D | config.c | 5170 open_file(const char *file_path, uint32_t *size) in open_file() argument 5172 int fd = open(file_path, O_RDONLY); in open_file() 5182 printf("%s: Failed to open %s\n", __func__, file_path); in open_file() 5223 save_file(const char *file_path, uint8_t *buf, uint32_t size) in save_file() argument 5225 FILE *fh = fopen(file_path, "wb"); in save_file() 5228 printf("%s: Failed to open %s\n", __func__, file_path); in save_file()
|