/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | test_overhead.c | 71 if (CHECK(IS_ERR(obj), "obj_open_file", "err %ld\n", PTR_ERR(obj))) in test_test_overhead() 107 if (CHECK(IS_ERR(link), "attach_kprobe", "err %ld\n", PTR_ERR(link))) in test_test_overhead() 115 if (CHECK(IS_ERR(link), "attach kretprobe", "err %ld\n", PTR_ERR(link))) in test_test_overhead() 122 if (CHECK(IS_ERR(link), "attach fentry", "err %ld\n", PTR_ERR(link))) in test_test_overhead() 129 if (CHECK(IS_ERR(link), "attach fentry", "err %ld\n", PTR_ERR(link))) in test_test_overhead() 136 if (CHECK(IS_ERR(link), "attach fexit", "err %ld\n", PTR_ERR(link))) in test_test_overhead()
|
D | attach_probe.c | 77 if (CHECK(IS_ERR(obj), "obj_open_mem", "err %ld\n", PTR_ERR(obj))) in test_attach_probe() 116 if (CHECK(IS_ERR(kprobe_link), "attach_kprobe", in test_attach_probe() 124 if (CHECK(IS_ERR(kretprobe_link), "attach_kretprobe", in test_attach_probe() 134 if (CHECK(IS_ERR(uprobe_link), "attach_uprobe", in test_attach_probe() 144 if (CHECK(IS_ERR(uretprobe_link), "attach_uretprobe", in test_attach_probe()
|
D | kfree_skb.c | 99 if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", PTR_ERR(link))) in test_kfree_skb() 102 if (CHECK(IS_ERR(link_fentry), "attach fentry", "err %ld\n", in test_kfree_skb() 106 if (CHECK(IS_ERR(link_fexit), "attach fexit", "err %ld\n", in test_kfree_skb() 118 if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) in test_kfree_skb()
|
D | probe_user.c | 19 if (CHECK(IS_ERR(obj), "obj_open_file", "err %ld\n", PTR_ERR(obj))) in test_probe_user() 38 if (CHECK(IS_ERR(kprobe_link), "attach_kprobe", in test_probe_user()
|
D | perf_buffer.c | 54 if (CHECK(IS_ERR(link), "attach_kprobe", "err %ld\n", PTR_ERR(link))) in test_perf_buffer() 61 if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) in test_perf_buffer()
|
D | rdonly_maps.c | 36 if (CHECK(IS_ERR(obj), "obj_open", "err %ld\n", PTR_ERR(obj))) in test_rdonly_maps() 64 if (CHECK(IS_ERR(link), "attach_prog", "prog '%s', err %ld\n", in test_rdonly_maps()
|
D | btf_dump.c | 34 if (IS_ERR(d)) in btf_dump_all_types() 58 if (CHECK(IS_ERR(btf), "btf_parse_elf", in test_btf_dump_case()
|
D | fentry_fexit.c | 42 if (CHECK(IS_ERR(link[i]), "attach_trace", "failed to link\n")) in test_fentry_fexit() 55 if (CHECK(IS_ERR(link[i]), "attach_trace", "failed to link\n")) in test_fentry_fexit()
|
D | get_stack_raw_tp.c | 119 if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", PTR_ERR(link))) in test_get_stack_raw_tp() 124 if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) in test_get_stack_raw_tp()
|
D | reference_tracking.c | 18 if (CHECK_FAIL(IS_ERR(obj))) in test_reference_tracking()
|
D | stacktrace_map_raw_tp.c | 24 if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", PTR_ERR(link))) in test_stacktrace_map_raw_tp()
|
D | mmap.c | 40 if (CHECK(IS_ERR(obj), "obj_open", "failed to open '%s': %ld\n", in test_mmap() 86 if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", PTR_ERR(link))) in test_mmap()
|
D | stacktrace_map.c | 24 if (CHECK(IS_ERR(link), "attach_tp", "err %ld\n", PTR_ERR(link))) in test_stacktrace_map()
|
D | fexit_test.c | 35 if (CHECK(IS_ERR(link[i]), "attach_trace", "failed to link\n")) in test_fexit_test()
|
D | fentry_test.c | 35 if (CHECK(IS_ERR(link[i]), "attach_trace", "failed to link\n")) in test_fentry_test()
|
D | fexit_bpf2bpf.c | 49 if (CHECK(IS_ERR(link[i]), "attach_trace", "failed to link\n")) in test_fexit_bpf2bpf_common()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | linuxkernel-must-check-errs.c | 8 int __must_check IS_ERR(const void *ptr); 18 IS_ERR((void *)0); in f() 32 if (IS_ERR((void *)0)) { in f2()
|
/external/erofs-utils/lib/ |
D | inode.c | 144 if (IS_ERR(bh)) in __allocate_inode_bh_data() 480 if (IS_ERR(xattrs)) in erofs_bh_flush_write_inode() 520 if (IS_ERR(bh)) in erofs_prepare_tail_block() 571 if (IS_ERR(bh)) in erofs_prepare_inode_buffer() 574 } else if (IS_ERR(bh)) { in erofs_prepare_inode_buffer() 581 if (IS_ERR(ibh)) in erofs_prepare_inode_buffer() 866 if (IS_ERR(inode)) in erofs_iget_from_path() 981 if (IS_ERR(d)) { in erofs_mkfs_build_tree() 1025 if (IS_ERR(d->inode)) { in erofs_mkfs_build_tree() 1057 if (IS_ERR(inode)) in erofs_mkfs_build_tree_from_path()
|
D | xattr.c | 337 if (IS_ERR(item)) { in read_xattrs_from_file() 351 if (IS_ERR(item)) in read_xattrs_from_file() 390 if (IS_ERR(item)) in erofs_droid_xattr_set_caps() 572 if (IS_ERR(bh)) { in erofs_build_shared_xattrs_from_path()
|
D | exclude.c | 94 if (IS_ERR(r)) { in erofs_parse_exclude_path()
|
/external/erofs-utils/include/erofs/ |
D | err.h | 23 static inline int IS_ERR(const void *ptr) in IS_ERR() function
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_hashmap.c | 62 if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) in test_hashmap_generic() 269 if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) in test_hashmap_multimap() 343 if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) in test_hashmap_empty()
|
D | test_maps.c | 842 if (IS_ERR(bpf_map_rx)) { in test_sockmap() 854 if (IS_ERR(bpf_map_tx)) { in test_sockmap() 866 if (IS_ERR(bpf_map_msg)) { in test_sockmap() 878 if (IS_ERR(bpf_map_break)) { in test_sockmap() 1160 if (IS_ERR(map)) { in test_map_in_map() 1171 if (IS_ERR(map)) { in test_map_in_map() 1184 if (IS_ERR(map)) { in test_map_in_map() 1201 if (IS_ERR(map)) { in test_map_in_map()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | super.c | 211 if (IS_ERR(msblk->id_table)) { in squashfs_fill_super() 231 if (IS_ERR(msblk->fragment_index)) { in squashfs_fill_super() 245 if (IS_ERR(msblk->inode_lookup_table)) { in squashfs_fill_super()
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | linuxkernel-must-use-errs.rst | 11 ``IS_ERR``, ``IS_ERR_OR_NULL``, ``ERR_CAST``, and ``PTR_ERR_OR_ZERO`` return
|