Searched refs:MAX_PATH_LEN (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
/openbmc/linux/arch/powerpc/boot/ |
H A 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()
|
H A 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()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_device_path_to_text.c | 15 #define MAX_PATH_LEN 1024 macro 316 char buffer[MAX_PATH_LEN]; in efi_convert_device_path_to_text() 324 str + MAX_NODE_LEN < buffer + MAX_PATH_LEN) { in efi_convert_device_path_to_text()
|
/openbmc/linux/include/linux/ |
H A D | f2fs_fs.h | 59 #define MAX_PATH_LEN 64 macro 66 __u8 path[MAX_PATH_LEN];
|
/openbmc/linux/tools/bpf/bpftool/ |
H A 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()
|
/openbmc/linux/fs/f2fs/ |
H A D | f2fs.h | 1248 char path[MAX_PATH_LEN];
|
H A D | super.c | 4208 memcpy(FDEV(i).path, RDEV(i).path, MAX_PATH_LEN); in f2fs_scan_devices()
|