| /linux/lib/test_fortify/ |
| H A D | read_overflow-memchr_inv.c | 3 memchr_inv(small, 0x7A, sizeof(small) + 1)
|
| /linux/drivers/hv/ |
| H A D | mshv.h | 14 memchr_inv(&((STRUCT).MEMBER), \
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_tun_geneve.c | 180 if (memchr_inv(&enc_opts.mask->data, 0, sizeof(enc_opts.mask->data)) && in mlx5e_tc_tun_parse_geneve_options() 232 !memchr_inv(option_mask->opt_data, 0, option_mask->length * 4)) in mlx5e_tc_tun_parse_geneve_options() 245 if (!memchr_inv(option_key->opt_data, 0, option_key->length * 4)) { in mlx5e_tc_tun_parse_geneve_options()
|
| H A D | tc_tun_vxlan.c | 122 if (memchr_inv(&enc_opts.mask->data, 0, sizeof(enc_opts.mask->data)) && in mlx5e_tc_tun_parse_vxlan_gbp_option()
|
| /linux/mm/ |
| H A D | page_poison.c | 54 start = memchr_inv(mem, PAGE_POISON, bytes); in check_poison_mem()
|
| /linux/tools/lib/ |
| H A D | string.c | 205 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() function
|
| /linux/crypto/ |
| H A D | dh_helper.c | 115 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
|
| /linux/drivers/nvme/host/ |
| H A D | sysfs.c | 116 if (memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in wwid_show() 119 if (memchr_inv(ids->eui64, 0, sizeof(ids->eui64))) in wwid_show() 280 !memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_attrs_are_visible() 284 if (!memchr_inv(ids->nguid, 0, sizeof(ids->nguid))) in nvme_ns_attrs_are_visible() 288 if (!memchr_inv(ids->eui64, 0, sizeof(ids->eui64))) in nvme_ns_attrs_are_visible()
|
| /linux/fs/xfs/ |
| H A D | xfs_ioctl.c | 185 memchr_inv(hdr->reserved, 0, sizeof(hdr->reserved))) in xfs_bulk_ireq_setup() 395 if (memchr_inv(&ageo.ag_reserved, 0, sizeof(ageo.ag_reserved))) in xfs_ioc_ag_geometry() 445 if (memchr_inv(&rgeo.rg_reserved, 0, sizeof(rgeo.rg_reserved))) in xfs_ioc_rtgroup_geometry() 1111 if (memchr_inv(&src->pad32, 0, sizeof(src->pad32)) || in xfs_fs_eofblocks_from_user() 1112 memchr_inv(src->pad64, 0, sizeof(src->pad64))) in xfs_fs_eofblocks_from_user()
|
| H A D | xfs_fsmap.c | 1314 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || in xfs_ioc_getfsmap() 1315 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in xfs_ioc_getfsmap() 1317 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in xfs_ioc_getfsmap()
|
| /linux/net/ceph/ |
| H A D | decode.c | 141 if (addr_cnt == 1 && !memchr_inv(&tmp_addr, 0, sizeof(tmp_addr))) in ceph_decode_entity_addrvec()
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_dmabuf.c | 397 if (memchr_inv(obj_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import() 407 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
|
| /linux/fs/crypto/ |
| H A D | keyring.c | 742 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in fscrypt_ioctl_add_key() 1055 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in do_remove_key() 1180 if (memchr_inv(arg.__reserved, 0, sizeof(arg.__reserved))) in fscrypt_ioctl_get_key_status()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | tc.h | 40 return !memchr_inv(addr, 0xff, sizeof(*addr)); in efx_ipv6_addr_all_ones()
|
| /linux/io_uring/ |
| H A D | register.c | 56 if (memchr_inv(p, 0, size)) in io_probe() 450 if (memchr_inv(®.__resv, 0, sizeof(reg.__resv))) in io_register_clock() 719 if (memchr_inv(®.__resv, 0, sizeof(reg.__resv))) in io_register_mem_region()
|
| H A D | memmap.c | 216 if (memchr_inv(®->__resv, 0, sizeof(reg->__resv))) in io_create_region()
|
| /linux/security/keys/ |
| H A D | dh.c | 152 if (memchr_inv(kdfcopy->__spare, 0, sizeof(kdfcopy->__spare))) { in __keyctl_dh_compute()
|
| /linux/net/core/ |
| H A D | netdev-genl.c | 737 if (!memchr_inv(&rx, 0xff, sizeof(rx))) in netdev_nl_stats_queue() 745 if (!memchr_inv(&tx, 0xff, sizeof(tx))) in netdev_nl_stats_queue() 858 if (!memchr_inv(&rx_sum, 0xff, sizeof(rx_sum)) && in netdev_nl_stats_by_netdev() 859 !memchr_inv(&tx_sum, 0xff, sizeof(tx_sum))) in netdev_nl_stats_by_netdev()
|
| /linux/fs/xfs/scrub/ |
| H A D | agheader.c | 345 if (memchr_inv(&sb->sb_features_compat, 0, in xchk_superblock() 417 if (memchr_inv(sb->sb_pad, 0, sizeof(sb->sb_pad))) in xchk_superblock() 423 if (memchr_inv((char *)sb + sblen, 0, BBTOB(bp->b_length) - sblen)) in xchk_superblock()
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | intel_memory_region.c | 51 if (memchr_inv(result, value, sizeof(result))) { in __iopagetest()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_perf.c | 405 if (memchr_inv(scratch, POISON_FREE, PAGE_SIZE)) { in live_noa_gpr()
|
| /linux/fs/verity/ |
| H A D | verify.c | 205 if (memchr_inv(dblock->data, 0, params->block_size)) { in verify_data_block()
|
| /linux/kernel/bpf/ |
| H A D | bpf_struct_ops.c | 604 memchr_inv(data + prev_mend, 0, moff - prev_mend)) in check_zero_holes() 615 memchr_inv(data + prev_mend, 0, t->size - prev_mend)) in check_zero_holes() 827 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_acl_flex_keys.c | 461 if (!memchr_inv(mask_value, 0, len)) /* If mask is zero */ in mlxsw_afk_values_add_buf()
|
| /linux/fs/erofs/ |
| H A D | decompressor.c | 193 padend = memchr_inv(padbuf, 0, padbufsize); in z_erofs_fixup_insize()
|