/Linux-v4.19/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_dmabuf.c | 147 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/ |
D | xfs_icache.h | 95 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()
|
D | xfs_ioctl.c | 1659 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/ |
D | test_printf.c | 52 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()
|
D | string.c | 986 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/ |
D | string.h | 163 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/ |
D | page_poison.c | 65 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
|
D | vmstat.c | 1832 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/ |
D | dh_helper.c | 113 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
|
/Linux-v4.19/drivers/gpu/drm/udl/ |
D | udl_connector.c | 59 memchr_inv(block_buff, 0, EDID_LENGTH)) { in udl_get_edid()
|
/Linux-v4.19/arch/powerpc/platforms/powermac/ |
D | nvram.c | 303 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/ |
D | ioctl.c | 541 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/ |
D | async_xor.c | 238 return !memchr_inv(page_address(p) + offset, 0, len); in page_is_zero()
|
/Linux-v4.19/arch/x86/mm/ |
D | init_64.c | 952 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/ |
D | dh.c | 262 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
|
/Linux-v4.19/fs/xfs/scrub/ |
D | scrub.c | 380 if (memchr_inv(sm->sm_reserved, 0, sizeof(sm->sm_reserved))) in xchk_validate_inputs()
|
D | agheader.c | 285 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/ |
D | admin-cmd.c | 519 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/ |
D | cls_flower.c | 999 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/ |
D | core.c | 1455 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/ |
D | core_acl_flex_keys.c | 375 if (!memchr_inv(mask_value, 0, len)) /* If mask is zero */ in mlxsw_afk_values_add_buf()
|
/Linux-v4.19/drivers/isdn/mISDN/ |
D | l1oip_core.c | 1122 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/ |
D | uverbs_ioctl.c | 142 return !memchr_inv((const void *)&uattr->data + len, in uverbs_is_attr_cleared()
|
/Linux-v4.19/arch/x86/kernel/fpu/ |
D | xstate.c | 498 if (memchr_inv(hdr->reserved, 0, sizeof(hdr->reserved))) in validate_xstate_header()
|
/Linux-v4.19/drivers/target/ |
D | target_core_iblock.c | 438 not_zero = memchr_inv(buf, 0x00, cmd->data_length); in iblock_execute_zero_out()
|