Searched refs:MAX_PATH_LEN (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/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()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | d_path.c | 8 #define MAX_PATH_LEN 128 macro 30 char paths[MAX_FILES][MAX_PATH_LEN]; 35 char buf[MAX_PATH_LEN]; in set_pathname() 37 snprintf(buf, MAX_PATH_LEN, "/proc/%d/fd/%d", pid, fd); in set_pathname() 38 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN); in set_pathname() 153 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic() 157 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic()
|
/linux-6.12.1/tools/testing/selftests/prctl/ |
D | set-process-name.c | 15 #define MAX_PATH_LEN 50 macro 58 char path[MAX_PATH_LEN] = {}; in check_name() 63 j = snprintf(path, MAX_PATH_LEN, "/proc/self/task/%d/comm", pid); in check_name()
|
/linux-6.12.1/arch/powerpc/boot/ |
D | serial.c | 87 char path[MAX_PATH_LEN]; in serial_get_stdout_devp() 93 if (getprop(devp, "linux,stdout-path", path, MAX_PATH_LEN) > 0 || in serial_get_stdout_devp() 94 getprop(devp, "stdout-path", path, MAX_PATH_LEN) > 0) { in serial_get_stdout_devp()
|
D | ops.h | 17 #define MAX_PATH_LEN 256 macro 174 char path[MAX_PATH_LEN]; in find_node_by_alias() 175 if (getprop(devp, alias, path, MAX_PATH_LEN) > 0) in find_node_by_alias()
|
/linux-6.12.1/tools/hv/ |
D | hv_fcopy_uio_daemon.c | 39 #define MAX_PATH_LEN 15 macro 413 char uio_dev_path[MAX_PATH_LEN] = {0}; in main()
|
/linux-6.12.1/include/linux/ |
D | f2fs_fs.h | 59 #define MAX_PATH_LEN 64 macro 66 __u8 path[MAX_PATH_LEN];
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | btf_dumper.c | 847 const unsigned int MAX_PATH_LEN = 32; in shorten_path() local 851 if (len <= MAX_PATH_LEN) in shorten_path() 855 shortpath = strchr(path + len - MAX_PATH_LEN, '/'); in shorten_path()
|
/linux-6.12.1/fs/f2fs/ |
D | f2fs.h | 1260 char path[MAX_PATH_LEN];
|
D | super.c | 4261 memcpy(FDEV(i).path, RDEV(i).path, MAX_PATH_LEN); in f2fs_scan_devices()
|