/linux-master/kernel/bpf/ |
H A D | verifier.c | 10932 if (!array->nelems)
|
H A D | btf.c | 672 * member-type repeated by array->nelems of times. 1924 u32 i, size, nelems = 1, id = 0; local 1956 if (nelems && array->nelems > U32_MAX / nelems) 1958 nelems *= array->nelems; 1971 if (nelems && size > U32_MAX / nelems) 1974 *type_size = nelems * siz [all...] |
/linux-master/net/mac80211/ |
H A D | mesh_pathtbl.c | 486 if (atomic_read(&cache->rht.nelems) >= MESH_FAST_TX_CACHE_MAX_SIZE) 614 if (atomic_read(&cache->rht.nelems) < MESH_FAST_TX_CACHE_THRESHOLD_SIZE)
|
/linux-master/arch/powerpc/kernel/ |
H A D | iommu.c | 471 struct scatterlist *sglist, int nelems, 484 if ((nelems == 0) || !tbl) 489 incount = nelems; 495 DBG("sg mapping %d elements:\n", nelems); 498 for_each_sg(sglist, s, nelems, i) { 596 for_each_sg(sglist, s, nelems, i) { 614 int nelems, enum dma_data_direction direction, 625 while (nelems--) { 470 ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl, struct scatterlist *sglist, int nelems, unsigned long mask, enum dma_data_direction direction, unsigned long attrs) argument 613 ppc_iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) argument
|
/linux-master/net/netfilter/ |
H A D | nft_set_hash.c | 157 atomic_dec(&set->nelems); 167 atomic_dec(&set->nelems);
|
H A D | nf_tables_api.c | 5383 atomic_read(&set->nelems) > 0)) { 6262 int rem, err = 0, nelems = 0; local 6300 nelems++; 6302 audit_log_nft_set_reset(dump_ctx.ctx.table, nft_net->base_seq, nelems); 7116 if (!atomic_add_unless(&set->nelems, 1, max)) { 9764 atomic_dec(&trans->set->nelems); 10369 atomic_dec(&te->set->nelems); 10645 atomic_dec(&te->set->nelems);
|
H A D | nft_dynset.c | 56 if (!atomic_add_unless(&set->nelems, 1, set->size)) 77 atomic_dec(&set->nelems);
|
/linux-master/include/net/netfilter/ |
H A D | nf_tables.h | 556 * @nelems: number of elements 590 atomic_t nelems; member in struct:nft_set
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 2361 *res = arr_info->nelems; 2589 if (!btf_is_array(t) || btf_array(t)->nelems) { 4014 if (btf_array(t)->nelems == 0)
|
H A D | btf.c | 378 a->nelems = bswap_32(a->nelems); 767 __u32 nelems = 1; local 797 if (nelems && array->nelems > UINT32_MAX / nelems) 799 nelems *= array->nelems; 812 if (nelems && size > UINT32_MAX / nelems) [all...] |
/linux-master/drivers/iommu/ |
H A D | dma-iommu.c | 1107 struct scatterlist *sgl, int nelems, 1114 for_each_sg(sgl, sg, nelems, i) 1118 for_each_sg(sgl, sg, nelems, i) 1123 struct scatterlist *sgl, int nelems, 1130 for_each_sg(sgl, sg, nelems, i) 1135 for_each_sg(sgl, sg, nelems, i) 1106 iommu_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir) argument 1122 iommu_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir) argument
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 2378 for (i = 0, ninstrs = 0; i < pat->nelems && instr < end; i++) { 2427 for (; i < pat->nelems; i++) {
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 552 int nelems, enum dma_data_direction direction, 561 for_each_sg(sglist, sgl, nelems, count) 567 ret = ppc_iommu_map_sg(dev, tbl, sglist, nelems, dma_get_mask(dev), 586 struct scatterlist *sglist, int nelems, 596 for_each_sg(sglist, sgl, nelems, count) 599 ppc_iommu_unmap_sg(tbl, sglist, nelems, direction, attrs); 551 vio_dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) argument 585 vio_dma_iommu_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) argument
|
/linux-master/net/bridge/ |
H A D | br_multicast.c | 1288 if (atomic_read(&br->mdb_hash_tbl.nelems) >= br->hash_max) {
|
/linux-master/net/ipv4/ |
H A D | proc.c | 72 atomic_read(&net->ipv4.fqdir->rhashtable.nelems),
|
/linux-master/fs/nfsd/ |
H A D | filecache.c | 1217 count = atomic_read(&ht->nelems);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 5388 return atomic_read(&tc_ht->nelems);
|
/linux-master/kernel/dma/ |
H A D | debug.c | 1357 int nelems, int dir) 1365 for_each_sg(sglist, s, nelems, i) { 1375 .sg_call_ents = nelems, 1530 int nelems, int direction) 1538 for_each_sg(sg, s, nelems, i) { 1548 .sg_call_ents = nelems, 1562 int nelems, int direction) 1570 for_each_sg(sg, s, nelems, i) { 1580 .sg_call_ents = nelems, 1356 debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, int dir) argument 1529 debug_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, int direction) argument 1561 debug_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, int direction) argument
|
/linux-master/lib/ |
H A D | test_rhashtable.c | 202 pr_info(" Traversal complete: counted=%u, nelems=%u, entries=%d, table-jumps=%u\n", 203 total, atomic_read(&ht->nelems), entries, chain_len); 205 if (total != atomic_read(&ht->nelems) || total != entries)
|
/linux-master/include/linux/ |
H A D | rhashtable-types.h | 79 * @nelems: Number of elements in table 90 atomic_t nelems; member in struct:rhashtable
|
/linux-master/include/linux/mtd/ |
H A D | rawnand.h | 948 * @nelems: number of pattern elements in @elems array 965 unsigned int nelems; member in struct:nand_op_parser_pattern 973 .nelems = sizeof((struct nand_op_parser_pattern_elem[]) { __VA_ARGS__ }) / \
|
/linux-master/arch/sparc/kernel/ |
H A D | pci_sun4v.c | 470 int nelems, enum dma_data_direction direction, 489 if (nelems == 0 || !iommu) 502 incount = nelems; 523 for_each_sg(sglist, s, nelems, i) { 604 for_each_sg(sglist, s, nelems, i) { 625 int nelems, enum dma_data_direction direction, 646 while (nelems--) { 469 dma_4v_map_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) argument 624 dma_4v_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) argument
|
/linux-master/arch/x86/kernel/ |
H A D | amd_gart_64.c | 323 int nelems, struct scatterlist *sout, 334 for_each_sg(start, s, nelems, i) { 361 dma_map_cont(struct device *dev, struct scatterlist *start, int nelems, argument 365 BUG_ON(nelems != 1); 370 return __dma_map_cont(dev, start, nelems, sout, pages); 322 __dma_map_cont(struct device *dev, struct scatterlist *start, int nelems, struct scatterlist *sout, unsigned long pages) argument
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 1824 num_flows = atomic_read(&tc_info->flow_table.nelems);
|
/linux-master/drivers/xen/ |
H A D | swiotlb-xen.c | 311 xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, argument 319 for_each_sg(sgl, sg, nelems, i) 326 xen_swiotlb_map_sg(struct device *dev, struct scatterlist *sgl, int nelems, argument 334 for_each_sg(sgl, sg, nelems, i) { 342 return nelems; 351 int nelems, enum dma_data_direction dir) 356 for_each_sg(sgl, sg, nelems, i) { 364 int nelems, enum dma_data_direction dir) 369 for_each_sg(sgl, sg, nelems, i) { 350 xen_swiotlb_sync_sg_for_cpu(struct device *dev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir) argument 363 xen_swiotlb_sync_sg_for_device(struct device *dev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir) argument
|