Home
last modified time | relevance | path

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

1234

/linux-6.1.9/lib/test_fortify/
Dread_overflow-memchr_inv.c3 memchr_inv(small, 0x7A, sizeof(small) + 1)
/linux-6.1.9/tools/include/linux/
Dstring.h49 extern void *memchr_inv(const void *start, int c, size_t bytes);
/linux-6.1.9/lib/
Dtest_printf.c66 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()
Dcmdline_kunit.c126 p = memchr_inv(&r[1], 0, sizeof(r) - sizeof(r[0])); in cmdline_do_one_range_test()
Dstring.c920 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
964 EXPORT_SYMBOL(memchr_inv);
Dtest_user_copy.c44 return memchr_inv(from, 0x0, size) == NULL; in is_zeroed()
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_dmabuf.c317 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/
Ddev_addr_lists_test.c19 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/
Dpage_poison.c55 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
/linux-6.1.9/tools/lib/
Dstring.c192 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
/linux-6.1.9/kernel/bpf/
Dbpf_struct_ops.c302 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/
Dsockptr.h115 return memchr_inv(src.kernel + offset, 0, size) == NULL; in check_zeroed_sockptr()
Dfortify-string.h564 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
Dstring.h171 void *memchr_inv(const void *s, int c, size_t n);
/linux-6.1.9/crypto/
Ddh_helper.c115 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
/linux-6.1.9/fs/xfs/
Dxfs_ioctl.c763 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/
Ddecode.c141 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/
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-6.1.9/fs/crypto/
Dkeyring.c703 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/
Duvdevice.c194 if (memchr_inv(ioctl->reserved14, 0, sizeof(ioctl->reserved14))) in uvio_copy_and_check_ioctl()
/linux-6.1.9/security/keys/
Ddh.c168 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dselftest_context.c135 if (memchr_inv(vaddr, POISON_INUSE, I915_GTT_PAGE_SIZE)) { in __live_context_size()
/linux-6.1.9/fs/verity/
Dopen.c236 if (memchr_inv(desc->__reserved, 0, sizeof(desc->__reserved))) { in validate_fsverity_descriptor()
Denable.c352 memchr_inv(arg.__reserved2, 0, sizeof(arg.__reserved2))) in fsverity_ioctl_enable()

1234