Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_gem_dmabuf.c147 if (memchr_inv(obj_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
157 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
255 if (memchr_inv(ptr, 0, dmabuf->size)) { in igt_dmabuf_export_vmap()
301 if (memchr_inv(ptr, 0, PAGE_SIZE)) { in igt_dmabuf_export_kmap()
327 if (memchr_inv(ptr, 0xaa, PAGE_SIZE)) { in igt_dmabuf_export_kmap()
343 if (memchr_inv(ptr, 0xc5, PAGE_SIZE)) { in igt_dmabuf_export_kmap()
/Linux-v4.19/fs/xfs/
Dxfs_icache.h95 if (memchr_inv(&src->pad32, 0, sizeof(src->pad32)) || in xfs_fs_eofblocks_from_user()
96 memchr_inv(src->pad64, 0, sizeof(src->pad64))) in xfs_fs_eofblocks_from_user()
Dxfs_ioctl.c1659 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || in xfs_ioc_getfsmap()
1660 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in xfs_ioc_getfsmap()
1662 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in xfs_ioc_getfsmap()
/Linux-v4.19/lib/
Dtest_printf.c52 if (memchr_inv(alloced_buffer, FILL_CHAR, PAD_SIZE)) { in do_test()
58 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { in do_test()
73 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test()
Dstring.c986 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
1030 EXPORT_SYMBOL(memchr_inv);
/Linux-v4.19/include/linux/
Dstring.h163 void *memchr_inv(const void *s, int c, size_t n);
399 void *__real_memchr_inv(const void *s, int c, size_t n) __RENAME(memchr_inv);
400 __FORTIFY_INLINE void *memchr_inv(const void *p, int c, size_t size) in memchr_inv() function
/Linux-v4.19/mm/
Dpage_poison.c65 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
Dvmstat.c1832 if (memchr_inv(p->vm_stat_diff, 0, NR_VM_ZONE_STAT_ITEMS)) in need_update()
1835 if (memchr_inv(p->vm_numa_stat_diff, 0, NR_VM_NUMA_STAT_ITEMS)) in need_update()
/Linux-v4.19/crypto/
Ddh_helper.c113 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
/Linux-v4.19/drivers/gpu/drm/udl/
Dudl_connector.c59 memchr_inv(block_buff, 0, EDID_LENGTH)) { in udl_get_edid()
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dnvram.c303 if (memchr_inv(base, 0xff, NVRAM_SIZE)) { in sm_erase_bank()
383 if (memchr_inv(base, 0xff, NVRAM_SIZE)) { in amd_erase_bank()
/Linux-v4.19/fs/ext4/
Dioctl.c541 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || in ext4_ioc_getfsmap()
542 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in ext4_ioc_getfsmap()
544 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in ext4_ioc_getfsmap()
/Linux-v4.19/crypto/async_tx/
Dasync_xor.c238 return !memchr_inv(page_address(p) + offset, 0, len); in page_is_zero()
/Linux-v4.19/arch/x86/mm/
Dinit_64.c952 if (!memchr_inv(page_addr, PAGE_INUSE, PAGE_SIZE)) { in remove_pte_table()
1000 if (!memchr_inv(page_addr, PAGE_INUSE, in remove_pmd_table()
1056 if (!memchr_inv(page_addr, PAGE_INUSE, in remove_pud_table()
/Linux-v4.19/security/keys/
Ddh.c262 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
/Linux-v4.19/fs/xfs/scrub/
Dscrub.c380 if (memchr_inv(sm->sm_reserved, 0, sizeof(sm->sm_reserved))) in xchk_validate_inputs()
Dagheader.c285 if (memchr_inv(&sb->sb_features_compat, 0, in xchk_superblock()
341 if (memchr_inv(sb + 1, 0, in xchk_superblock()
/Linux-v4.19/drivers/nvme/target/
Dadmin-cmd.c519 if (memchr_inv(&ns->uuid, 0, sizeof(ns->uuid))) { in nvmet_execute_identify_desclist()
526 if (memchr_inv(ns->nguid, 0, sizeof(ns->nguid))) { in nvmet_execute_identify_desclist()
/Linux-v4.19/net/sched/
Dcls_flower.c999 memchr_inv(((char *)mask) + FL_KEY_MEMBER_OFFSET(member), \
1454 if (!memchr_inv(mask, 0, len)) in fl_dump_key_val()
1473 if (!memchr_inv(mpls_mask, 0, sizeof(*mpls_mask))) in fl_dump_key_mpls()
1525 if (!memchr_inv(vlan_mask, 0, sizeof(*vlan_mask))) in fl_dump_key_vlan()
1559 if (!memchr_inv(&flags_mask, 0, sizeof(flags_mask))) in fl_dump_key_flags()
/Linux-v4.19/drivers/nvme/host/
Dcore.c1455 memchr_inv(ids->nguid, 0, sizeof(ids->nguid)) || in nvme_ns_ids_valid()
1456 memchr_inv(ids->eui64, 0, sizeof(ids->eui64)); in nvme_ns_ids_valid()
2632 if (memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in wwid_show()
2635 if (memchr_inv(ids->eui64, 0, sizeof(ids->eui64))) in wwid_show()
2710 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_id_attrs_are_visible()
2714 if (!memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_id_attrs_are_visible()
2718 if (!memchr_inv(ids->eui64, 0, sizeof(ids->eui64))) in nvme_ns_id_attrs_are_visible()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c375 if (!memchr_inv(mask_value, 0, len)) /* If mask is zero */ in mlxsw_afk_values_add_buf()
/Linux-v4.19/drivers/isdn/mISDN/
Dl1oip_core.c1122 if (!memchr_inv(skb->data, 0xff, l)) { in handle_bmsg()
1133 if (!memchr_inv(skb->data, 0x2a, l)) { in handle_bmsg()
/Linux-v4.19/drivers/infiniband/core/
Duverbs_ioctl.c142 return !memchr_inv((const void *)&uattr->data + len, in uverbs_is_attr_cleared()
/Linux-v4.19/arch/x86/kernel/fpu/
Dxstate.c498 if (memchr_inv(hdr->reserved, 0, sizeof(hdr->reserved))) in validate_xstate_header()
/Linux-v4.19/drivers/target/
Dtarget_core_iblock.c438 not_zero = memchr_inv(buf, 0x00, cmd->data_length); in iblock_execute_zero_out()

12