Searched refs:MAX_PATH_LEN (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_d_path.c | 7 #define MAX_PATH_LEN 128 macro 13 char paths_stat[MAX_FILES][MAX_PATH_LEN] = {}; 14 char paths_close[MAX_FILES][MAX_PATH_LEN] = {}; 36 ret = bpf_d_path(path, paths_stat[cnt], MAX_PATH_LEN); in BPF_PROG() 58 paths_close[cnt], MAX_PATH_LEN); in BPF_PROG()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | d_path.c | 8 #define MAX_PATH_LEN 128 macro 19 char paths[MAX_FILES][MAX_PATH_LEN]; 24 char buf[MAX_PATH_LEN]; in set_pathname() 26 snprintf(buf, MAX_PATH_LEN, "/proc/%d/fd/%d", pid, fd); in set_pathname() 27 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN); in set_pathname() 136 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic() 140 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic()
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | serial.c | 89 char path[MAX_PATH_LEN]; in serial_get_stdout_devp() 95 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || in serial_get_stdout_devp() 96 getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { in serial_get_stdout_devp()
|
D | ops.h | 19 #define MAX_PATH_LEN 256 macro 176 char path[MAX_PATH_LEN]; in find_node_by_alias() 177 if (getprop(devp, alias, path, MAX_PATH_LEN) > 0) in find_node_by_alias()
|
/kernel/linux/linux-5.10/drivers/staging/hievent/ |
D | hiview_hievent.c | 14 #define MAX_PATH_LEN 256 macro 213 if (strlen(path) > MAX_PATH_LEN) { in append_array_item() 214 pr_err("file path over max: %d", MAX_PATH_LEN); in append_array_item()
|
/kernel/linux/linux-5.10/include/linux/ |
D | f2fs_fs.h | 64 #define MAX_PATH_LEN 64 macro 71 __u8 path[MAX_PATH_LEN];
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | super.c | 3444 memcpy(FDEV(i).path, RDEV(i).path, MAX_PATH_LEN); in f2fs_scan_devices()
|
D | f2fs.h | 1170 char path[MAX_PATH_LEN];
|