/Linux-v5.15/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-v5.15/tools/include/linux/ |
D | string.h | 49 extern void *memchr_inv(const void *start, int c, size_t bytes);
|
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_dmabuf.c | 316 if (memchr_inv(obj_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import() 326 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import() 428 if (memchr_inv(ptr, 0, dmabuf->size)) { in igt_dmabuf_export_vmap()
|
/Linux-v5.15/mm/ |
D | page_poison.c | 55 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
|
/Linux-v5.15/kernel/bpf/ |
D | bpf_struct_ops.c | 298 memchr_inv(data + prev_mend, 0, moff - prev_mend)) in check_zero_holes() 309 memchr_inv(data + prev_mend, 0, t->size - prev_mend)) in check_zero_holes() 406 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
|
/Linux-v5.15/lib/ |
D | test_printf.c | 60 if (memchr_inv(alloced_buffer, FILL_CHAR, PAD_SIZE)) { in do_test() 66 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { in do_test() 81 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { 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 | 1099 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function 1143 EXPORT_SYMBOL(memchr_inv);
|
D | test_user_copy.c | 44 return memchr_inv(from, 0x0, size) == NULL; in is_zeroed()
|
/Linux-v5.15/tools/lib/ |
D | string.c | 192 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
|
/Linux-v5.15/include/linux/ |
D | fortify-string.h | 249 void *__real_memchr_inv(const void *s, int c, size_t n) __RENAME(memchr_inv); 250 __FORTIFY_INLINE void *memchr_inv(const void *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-v5.15/crypto/ |
D | dh_helper.c | 109 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
|
/Linux-v5.15/fs/xfs/ |
D | xfs_ioctl.c | 842 memchr_inv(hdr->reserved, 0, sizeof(hdr->reserved))) in xfs_bulk_ireq_setup() 1041 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry() 1590 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || in xfs_ioc_getfsmap() 1591 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in xfs_ioc_getfsmap() 1593 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in xfs_ioc_getfsmap() 1902 if (memchr_inv(&src->pad32, 0, sizeof(src->pad32)) || in xfs_fs_eofblocks_from_user() 1903 memchr_inv(src->pad64, 0, sizeof(src->pad64))) in xfs_fs_eofblocks_from_user()
|
/Linux-v5.15/net/ceph/ |
D | decode.c | 141 if (addr_cnt == 1 && !memchr_inv(&tmp_addr, 0, sizeof(tmp_addr))) in ceph_decode_entity_addrvec()
|
/Linux-v5.15/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-v5.15/fs/crypto/ |
D | keyring.c | 645 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in fscrypt_ioctl_add_key() 928 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in do_remove_key() 1058 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in fscrypt_ioctl_get_key_status()
|
/Linux-v5.15/fs/verity/ |
D | open.c | 237 if (memchr_inv(desc->__reserved, 0, sizeof(desc->__reserved))) { in validate_fsverity_descriptor()
|
D | enable.c | 353 memchr_inv(arg.__reserved2, 0, sizeof(arg.__reserved2))) in fsverity_ioctl_enable()
|
/Linux-v5.15/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-v5.15/fs/ext4/ |
D | ioctl.c | 636 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || in ext4_ioc_getfsmap() 637 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in ext4_ioc_getfsmap() 639 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in ext4_ioc_getfsmap()
|
/Linux-v5.15/crypto/async_tx/ |
D | async_xor.c | 283 return !memchr_inv(page_address(p) + offset, 0, len); in page_is_zero()
|
/Linux-v5.15/security/keys/ |
D | dh.c | 257 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
|
/Linux-v5.15/fs/ubifs/ |
D | auth.c | 545 return !memchr_inv(hmac, 0, c->hmac_desc_len); in ubifs_hmac_zero()
|
/Linux-v5.15/fs/xfs/scrub/ |
D | scrub.c | 375 if (memchr_inv(sm->sm_reserved, 0, sizeof(sm->sm_reserved))) in xchk_validate_inputs()
|