Searched refs:memchr_inv (Results 1 - 25 of 111) sorted by relevance

12345

/linux-master/lib/test_fortify/
H A Dread_overflow-memchr_inv.c3 memchr_inv(small, 0x7A, sizeof(small) + 1)
/linux-master/tools/include/linux/
H A Dstring.h49 extern void *memchr_inv(const void *start, int c, size_t bytes);
/linux-master/mm/
H A Dpage_poison.c54 start = memchr_inv(mem, PAGE_POISON, bytes);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_geneve.c179 if (memchr_inv(&enc_opts.mask->data, 0, sizeof(enc_opts.mask->data)) &&
231 !memchr_inv(option_mask->opt_data, 0, option_mask->length * 4))
244 if (!memchr_inv(option_key->opt_data, 0, option_key->length * 4)) {
H A Dtc_tun_vxlan.c122 if (memchr_inv(&enc_opts.mask->data, 0, sizeof(enc_opts.mask->data)) &&
/linux-master/tools/lib/
H A Dstring.c184 * memchr_inv - Find an unmatching character in an area of memory.
192 void *memchr_inv(const void *start, int c, size_t bytes) function
/linux-master/net/core/
H A Ddev_addr_lists_test.c19 if (a[0] < 31 && !memchr_inv(a, a[0], ETH_ALEN))
29 if (a[0] < 31 && !memchr_inv(a, a[0], ETH_ALEN))
H A Dnetdev-genl.c527 if (!memchr_inv(&rx, 0xff, sizeof(rx)))
535 if (!memchr_inv(&tx, 0xff, sizeof(tx)))
607 if (!memchr_inv(&rx_sum, 0xff, sizeof(rx_sum)) &&
608 !memchr_inv(&tx_sum, 0xff, sizeof(tx_sum)))
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_dmabuf.c394 if (memchr_inv(obj_map, pattern[i], PAGE_SIZE)) {
404 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) {
506 if (memchr_inv(ptr, 0, dmabuf->size)) {
/linux-master/net/ceph/
H A Ddecode.c141 if (addr_cnt == 1 && !memchr_inv(&tmp_addr, 0, sizeof(tmp_addr)))
/linux-master/crypto/
H A Ddh_helper.c115 if (memchr_inv(params->p, 0, params->p_size) == NULL)
/linux-master/lib/
H A Dtest_printf.c65 if (memchr_inv(alloced_buffer, FILL_CHAR, PAD_SIZE)) {
71 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) {
86 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, bufsize - (written + 1))) {
92 if (memchr_inv(test_buffer + bufsize, FILL_CHAR, BUF_SIZE + PAD_SIZE - bufsize)) {
H A Dcmdline_kunit.c126 p = memchr_inv(&r[1], 0, sizeof(r) - sizeof(r[0]));
H A Dstring.c812 * memchr_inv - Find an unmatching character in an area of memory.
820 void *memchr_inv(const void *start, int c, size_t bytes) function
864 EXPORT_SYMBOL(memchr_inv); variable
H A Dtest_user_copy.c44 return memchr_inv(from, 0x0, size) == NULL;
78 * memchr_inv().
97 "check_nonzero_user(=%d) != memchr_inv(=%d) mismatch (start=%zu, end=%zu)",
/linux-master/include/linux/
H A Dsockptr.h163 return memchr_inv(src.kernel + offset, 0, size) == NULL;
H A Dfortify-string.h40 macro(memchr_inv), \
716 void *__real_memchr_inv(const void *s, int c, size_t n) __RENAME(memchr_inv); variable
717 __FORTIFY_INLINE void *memchr_inv(const void * const POS0 p, int c, size_t size) function
/linux-master/drivers/nvme/host/
H A Dsysfs.c115 if (memchr_inv(ids->nguid, 0, sizeof(ids->nguid)))
118 if (memchr_inv(ids->eui64, 0, sizeof(ids->eui64)))
275 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid)))
279 if (!memchr_inv(ids->nguid, 0, sizeof(ids->nguid)))
283 if (!memchr_inv(ids->eui64, 0, sizeof(ids->eui64)))
/linux-master/security/keys/
H A Ddh.c152 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) {
/linux-master/drivers/net/ethernet/sfc/
H A Dtc.h40 return !memchr_inv(addr, 0xff, sizeof(*addr));
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_device.h671 return !memchr_inv(padding_start, 0, padding_size);
/linux-master/fs/verity/
H A Dverify.c130 if (memchr_inv(data, 0, params->block_size)) {
/linux-master/fs/xfs/
H A Dxfs_ioctl.c764 memchr_inv(hdr->reserved, 0, sizeof(hdr->reserved)))
967 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved)))
1528 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) ||
1529 memchr_inv(head.fmh_keys[0].fmr_reserved, 0,
1531 memchr_inv(head.fmh_keys[1].fmr_reserved, 0,
1840 if (memchr_inv(&src->pad32, 0, sizeof(src->pad32)) ||
1841 memchr_inv(src->pad64, 0, sizeof(src->pad64)))
/linux-master/arch/powerpc/platforms/powermac/
H A Dnvram.c304 if (memchr_inv(base, 0xff, NVRAM_SIZE)) {
384 if (memchr_inv(base, 0xff, NVRAM_SIZE)) {
/linux-master/crypto/async_tx/
H A Dasync_xor.c283 return !memchr_inv(page_address(p) + offset, 0, len);

Completed in 193 milliseconds

12345