Home
last modified time | relevance | path

Searched refs:MAX_PATH_LEN (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_d_path.c7 #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/
Dd_path.c8 #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/
Dset-process-name.c15 #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/
Dserial.c87 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()
Dops.h17 #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/
Dhv_fcopy_uio_daemon.c39 #define MAX_PATH_LEN 15 macro
413 char uio_dev_path[MAX_PATH_LEN] = {0}; in main()
/linux-6.12.1/include/linux/
Df2fs_fs.h59 #define MAX_PATH_LEN 64 macro
66 __u8 path[MAX_PATH_LEN];
/linux-6.12.1/tools/bpf/bpftool/
Dbtf_dumper.c847 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/
Df2fs.h1260 char path[MAX_PATH_LEN];
Dsuper.c4261 memcpy(FDEV(i).path, RDEV(i).path, MAX_PATH_LEN); in f2fs_scan_devices()