Home
last modified time | relevance | path

Searched refs:memchr_inv (Results 1 – 25 of 79) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_dmabuf.c130 if (memchr_inv(obj_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
140 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
238 if (memchr_inv(ptr, 0, dmabuf->size)) { in igt_dmabuf_export_vmap()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_geneve.c179 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()
/kernel/linux/linux-5.10/tools/include/linux/
Dstring.h49 extern void *memchr_inv(const void *start, int c, size_t bytes);
/kernel/linux/linux-5.10/lib/
Dtest_printf.c58 if (memchr_inv(alloced_buffer, FILL_CHAR, PAD_SIZE)) { in do_test()
64 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { in do_test()
79 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test()
Dstring.c1087 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
1131 EXPORT_SYMBOL(memchr_inv);
Dtest_user_copy.c44 return memchr_inv(from, 0x0, size) == NULL; in is_zeroed()
/kernel/linux/linux-5.10/mm/
Dpage_poison.c86 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
/kernel/linux/linux-5.10/include/linux/
Dstring.h171 void *memchr_inv(const void *s, int c, size_t n);
453 void *__real_memchr_inv(const void *s, int c, size_t n) __RENAME(memchr_inv);
454 __FORTIFY_INLINE void *memchr_inv(const void *p, int c, size_t size) in memchr_inv() function
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_struct_ops.c297 memchr_inv(data + prev_mend, 0, moff - prev_mend)) in check_zero_holes()
308 memchr_inv(data + prev_mend, 0, t->size - prev_mend)) in check_zero_holes()
405 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
/kernel/linux/linux-5.10/tools/lib/
Dstring.c192 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
/kernel/linux/linux-5.10/crypto/
Ddh_helper.c109 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_ioctl.c839 memchr_inv(hdr->reserved, 0, sizeof(hdr->reserved))) in xfs_bulk_ireq_setup()
1036 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry()
1735 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || in xfs_ioc_getfsmap()
1736 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in xfs_ioc_getfsmap()
1738 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in xfs_ioc_getfsmap()
2047 if (memchr_inv(&src->pad32, 0, sizeof(src->pad32)) || in xfs_fs_eofblocks_from_user()
2048 memchr_inv(src->pad64, 0, sizeof(src->pad64))) in xfs_fs_eofblocks_from_user()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dnvram.c304 if (memchr_inv(base, 0xff, NVRAM_SIZE)) { in sm_erase_bank()
384 if (memchr_inv(base, 0xff, NVRAM_SIZE)) { in amd_erase_bank()
/kernel/linux/linux-5.10/fs/crypto/
Dkeyring.c649 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in fscrypt_ioctl_add_key()
932 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in do_remove_key()
1064 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in fscrypt_ioctl_get_key_status()
/kernel/linux/linux-5.10/fs/verity/
Dopen.c167 if (memchr_inv(desc->__reserved, 0, sizeof(desc->__reserved))) { in fsverity_create_info()
Denable.c353 memchr_inv(arg.__reserved2, 0, sizeof(arg.__reserved2))) in fsverity_ioctl_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dselftest_context.c135 if (memchr_inv(vaddr, POISON_INUSE, I915_GTT_PAGE_SIZE)) { in __live_context_size()
/kernel/linux/linux-5.10/fs/ext4/
Dioctl.c688 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || in ext4_ioc_getfsmap()
689 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in ext4_ioc_getfsmap()
691 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in ext4_ioc_getfsmap()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dscrub.c373 if (memchr_inv(sm->sm_reserved, 0, sizeof(sm->sm_reserved))) in xchk_validate_inputs()
/kernel/linux/linux-5.10/crypto/async_tx/
Dasync_xor.c283 return !memchr_inv(page_address(p) + offset, 0, len); in page_is_zero()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_perf.c399 if (memchr_inv(scratch, POISON_FREE, PAGE_SIZE)) { in live_noa_gpr()
/kernel/linux/linux-5.10/fs/ubifs/
Dauth.c546 return !memchr_inv(hmac, 0, c->hmac_desc_len); in ubifs_hmac_zero()
/kernel/linux/linux-5.10/security/keys/
Ddh.c257 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_64.c1014 if (!memchr_inv(page_addr, PAGE_INUSE, PAGE_SIZE)) { in remove_pte_table()
1062 if (!memchr_inv(page_addr, PAGE_INUSE, in remove_pmd_table()
1118 if (!memchr_inv(page_addr, PAGE_INUSE, in remove_pud_table()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dcore.c1365 !memchr_inv(ids->eui64, 0, sizeof(ids->eui64))) in nvme_identify_ns()
1368 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_identify_ns()
1900 memchr_inv(ids->nguid, 0, sizeof(ids->nguid)) || in nvme_ns_ids_valid()
1901 memchr_inv(ids->eui64, 0, sizeof(ids->eui64)); in nvme_ns_ids_valid()
3308 if (memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in wwid_show()
3311 if (memchr_inv(ids->eui64, 0, sizeof(ids->eui64))) in wwid_show()
3386 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_id_attrs_are_visible()
3390 if (!memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_id_attrs_are_visible()
3394 if (!memchr_inv(ids->eui64, 0, sizeof(ids->eui64))) in nvme_ns_id_attrs_are_visible()

1234