Lines Matching refs:TEST
456 TEST(mounts = fopen("/proc/mounts", "re"), mounts); in tracing_folder()
480 TEST(tracing_on = s_open(s_path(tracing_folder(), s("tracing_on")), in tracing_on()
569 TEST(fuse_dev = open("/dev/fuse", O_RDWR | O_CLOEXEC), fuse_dev != -1); in mount_fuse_maybe_init()
658 TEST(*mr = realloc(*mr, ++*map_count * in install_maps()
661 TEST(map_fd = syscall(__NR_bpf, BPF_MAP_CREATE, in install_maps()
732 TEST(last_slash = strrchr(path, '/'), last_slash); in install_elf_bpf()
734 TEST(filter_fd = open(path, O_RDONLY | O_CLOEXEC), filter_fd != -1); in install_elf_bpf()
736 TEST(elf = elf_begin(filter_fd, ELF_C_READ, NULL), elf); in install_elf_bpf()
743 TEST(scn = elf_getscn(elf, i), scn); in install_elf_bpf()
745 TEST(shname = elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name), in install_elf_bpf()
749 TEST(data_maps = elf_getdata(scn, 0), data_maps); in install_elf_bpf()
752 TEST(data_symbols = elf_getdata(scn, 0), data_symbols); in install_elf_bpf()
755 TEST(data_prog = elf_getdata(scn, 0), data_prog); in install_elf_bpf()
772 TEST(scn = elf_getscn(elf, i), scn); in install_elf_bpf()
777 TEST(rel_data = elf_getdata(scn, 0), rel_data); in install_elf_bpf()
787 TEST(bpf_prog_type_fuse_fd = open("/sys/fs/fuse/bpf_prog_type_fuse", in install_elf_bpf()
791 TEST(bpf_prog_type_fuse = strtol(buffer, NULL, 10), in install_elf_bpf()