/linux-6.1.9/lib/test_fortify/ |
D | read_overflow-memchr_inv.c | 3 memchr_inv(small, 0x7A, sizeof(small) + 1)
|
/linux-6.1.9/tools/include/linux/ |
D | string.h | 49 extern void *memchr_inv(const void *start, int c, size_t bytes);
|
/linux-6.1.9/lib/ |
D | test_printf.c | 66 if (memchr_inv(alloced_buffer, FILL_CHAR, PAD_SIZE)) { in do_test() 72 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { in do_test() 87 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, bufsize - (written + 1))) { in do_test() 93 if (memchr_inv(test_buffer + bufsize, FILL_CHAR, BUF_SIZE + PAD_SIZE - bufsize)) { in do_test()
|
D | cmdline_kunit.c | 126 p = memchr_inv(&r[1], 0, sizeof(r) - sizeof(r[0])); in cmdline_do_one_range_test()
|
D | string.c | 920 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function 964 EXPORT_SYMBOL(memchr_inv);
|
D | test_user_copy.c | 44 return memchr_inv(from, 0x0, size) == NULL; in is_zeroed()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_geneve.c | 179 if (memchr_inv(&enc_opts.mask->data, 0, sizeof(enc_opts.mask->data)) && in mlx5e_tc_tun_parse_geneve_options() 231 !memchr_inv(option_mask->opt_data, 0, option_mask->length * 4)) in mlx5e_tc_tun_parse_geneve_options() 244 if (!memchr_inv(option_key->opt_data, 0, option_key->length * 4)) { in mlx5e_tc_tun_parse_geneve_options()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_dmabuf.c | 317 if (memchr_inv(obj_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import() 327 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import() 429 if (memchr_inv(ptr, 0, dmabuf->size)) { in igt_dmabuf_export_vmap()
|
/linux-6.1.9/net/core/ |
D | dev_addr_lists_test.c | 19 if (a[0] < 31 && !memchr_inv(a, a[0], ETH_ALEN)) in dev_addr_test_sync() 29 if (a[0] < 31 && !memchr_inv(a, a[0], ETH_ALEN)) in dev_addr_test_unsync()
|
/linux-6.1.9/mm/ |
D | page_poison.c | 55 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
|
/linux-6.1.9/tools/lib/ |
D | string.c | 192 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
|
/linux-6.1.9/kernel/bpf/ |
D | bpf_struct_ops.c | 302 memchr_inv(data + prev_mend, 0, moff - prev_mend)) in check_zero_holes() 313 memchr_inv(data + prev_mend, 0, t->size - prev_mend)) in check_zero_holes() 444 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
|
/linux-6.1.9/include/linux/ |
D | sockptr.h | 115 return memchr_inv(src.kernel + offset, 0, size) == NULL; in check_zeroed_sockptr()
|
D | fortify-string.h | 564 void *__real_memchr_inv(const void *s, int c, size_t n) __RENAME(memchr_inv); 565 __FORTIFY_INLINE void *memchr_inv(const void * const POS0 p, int c, size_t size) in memchr_inv() function
|
D | string.h | 171 void *memchr_inv(const void *s, int c, size_t n);
|
/linux-6.1.9/crypto/ |
D | dh_helper.c | 115 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_ioctl.c | 763 memchr_inv(hdr->reserved, 0, sizeof(hdr->reserved))) in xfs_bulk_ireq_setup() 966 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry() 1521 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || in xfs_ioc_getfsmap() 1522 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in xfs_ioc_getfsmap() 1524 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in xfs_ioc_getfsmap() 1833 if (memchr_inv(&src->pad32, 0, sizeof(src->pad32)) || in xfs_fs_eofblocks_from_user() 1834 memchr_inv(src->pad64, 0, sizeof(src->pad64))) in xfs_fs_eofblocks_from_user()
|
/linux-6.1.9/net/ceph/ |
D | decode.c | 141 if (addr_cnt == 1 && !memchr_inv(&tmp_addr, 0, sizeof(tmp_addr))) in ceph_decode_entity_addrvec()
|
/linux-6.1.9/arch/powerpc/platforms/powermac/ |
D | nvram.c | 304 if (memchr_inv(base, 0xff, NVRAM_SIZE)) { in sm_erase_bank() 384 if (memchr_inv(base, 0xff, NVRAM_SIZE)) { in amd_erase_bank()
|
/linux-6.1.9/fs/crypto/ |
D | keyring.c | 703 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in fscrypt_ioctl_add_key() 1026 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in do_remove_key() 1149 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in fscrypt_ioctl_get_key_status()
|
/linux-6.1.9/drivers/s390/char/ |
D | uvdevice.c | 194 if (memchr_inv(ioctl->reserved14, 0, sizeof(ioctl->reserved14))) in uvio_copy_and_check_ioctl()
|
/linux-6.1.9/security/keys/ |
D | dh.c | 168 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | selftest_context.c | 135 if (memchr_inv(vaddr, POISON_INUSE, I915_GTT_PAGE_SIZE)) { in __live_context_size()
|
/linux-6.1.9/fs/verity/ |
D | open.c | 236 if (memchr_inv(desc->__reserved, 0, sizeof(desc->__reserved))) { in validate_fsverity_descriptor()
|
D | enable.c | 352 memchr_inv(arg.__reserved2, 0, sizeof(arg.__reserved2))) in fsverity_ioctl_enable()
|