Home
last modified time | relevance | path

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

1234

/Linux-v5.15/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()
/Linux-v5.15/tools/include/linux/
Dstring.h49 extern void *memchr_inv(const void *start, int c, size_t bytes);
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_dmabuf.c316 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/
Dpage_poison.c55 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
/Linux-v5.15/kernel/bpf/
Dbpf_struct_ops.c298 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/
Dtest_printf.c60 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()
Dcmdline_kunit.c126 p = memchr_inv(&r[1], 0, sizeof(r) - sizeof(r[0])); in cmdline_do_one_range_test()
Dstring.c1099 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
1143 EXPORT_SYMBOL(memchr_inv);
Dtest_user_copy.c44 return memchr_inv(from, 0x0, size) == NULL; in is_zeroed()
/Linux-v5.15/tools/lib/
Dstring.c192 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
/Linux-v5.15/include/linux/
Dfortify-string.h249 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
Dstring.h171 void *memchr_inv(const void *s, int c, size_t n);
/Linux-v5.15/crypto/
Ddh_helper.c109 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
/Linux-v5.15/fs/xfs/
Dxfs_ioctl.c842 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/
Ddecode.c141 if (addr_cnt == 1 && !memchr_inv(&tmp_addr, 0, sizeof(tmp_addr))) in ceph_decode_entity_addrvec()
/Linux-v5.15/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()
/Linux-v5.15/fs/crypto/
Dkeyring.c645 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/
Dopen.c237 if (memchr_inv(desc->__reserved, 0, sizeof(desc->__reserved))) { in validate_fsverity_descriptor()
Denable.c353 memchr_inv(arg.__reserved2, 0, sizeof(arg.__reserved2))) in fsverity_ioctl_enable()
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dselftest_context.c135 if (memchr_inv(vaddr, POISON_INUSE, I915_GTT_PAGE_SIZE)) { in __live_context_size()
/Linux-v5.15/fs/ext4/
Dioctl.c636 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/
Dasync_xor.c283 return !memchr_inv(page_address(p) + offset, 0, len); in page_is_zero()
/Linux-v5.15/security/keys/
Ddh.c257 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
/Linux-v5.15/fs/ubifs/
Dauth.c545 return !memchr_inv(hmac, 0, c->hmac_desc_len); in ubifs_hmac_zero()
/Linux-v5.15/fs/xfs/scrub/
Dscrub.c375 if (memchr_inv(sm->sm_reserved, 0, sizeof(sm->sm_reserved))) in xchk_validate_inputs()

1234