/drivers/misc/sgi-gru/ |
D | gru_instructions.h | 142 unsigned long nelem; /* DW 3 */ member 365 ins->nelem = 1; in gru_vload_phys() 377 ins->nelem = 1; in gru_vstore_phys() 384 unsigned int tri0, unsigned char xtype, unsigned long nelem, in gru_vload() argument 390 ins->nelem = nelem; in gru_vload() 397 unsigned int tri0, unsigned char xtype, unsigned long nelem, in gru_vstore() argument 403 ins->nelem = nelem; in gru_vstore() 411 unsigned long nelem, unsigned long hints) in gru_ivload() argument 416 ins->nelem = nelem; in gru_ivload() 424 unsigned char xtype, unsigned long nelem, unsigned long hints) in gru_ivstore() argument [all …]
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_drv.h | 92 static inline size_t size_vstruct(size_t nelem, size_t elem_size, size_t base) in size_vstruct() argument 94 if (elem_size && nelem > (SIZE_MAX - base) / elem_size) in size_vstruct() 96 return base + nelem * elem_size; in size_vstruct()
|
/drivers/xen/ |
D | privcmd.c | 107 unsigned nelem, size_t size, in gather_array() argument 119 while (nelem--) { in gather_array() 151 static int traverse_pages(unsigned nelem, size_t size, in traverse_pages() argument 165 while (nelem--) { in traverse_pages() 187 static int traverse_pages_block(unsigned nelem, size_t size, in traverse_pages_block() argument 197 while (nelem) { in traverse_pages_block() 200 if (nr > nelem) in traverse_pages_block() 201 nr = nelem; in traverse_pages_block() 208 nelem -= nr; in traverse_pages_block()
|
/drivers/sbus/char/ |
D | oradax.c | 403 static void dax_unlock_pages(struct dax_ctx *ctx, int ccb_index, int nelem) in dax_unlock_pages() argument 407 for (i = ccb_index; i < ccb_index + nelem; i++) { in dax_unlock_pages() 437 int nelem, u64 *err_va) in dax_lock_pages() argument 441 for (i = 0; i < nelem; i++) { in dax_lock_pages() 497 dax_unlock_pages(ctx, idx, nelem); in dax_lock_pages() 758 static void dax_prt_ccbs(struct dax_ccb *ccb, int nelem) in dax_prt_ccbs() argument 764 for (i = 0; i < nelem; i++) { in dax_prt_ccbs() 777 static int dax_preprocess_usr_ccbs(struct dax_ctx *ctx, int idx, int nelem) in dax_preprocess_usr_ccbs() argument 787 for (i = 0; i < nelem; i++) { in dax_preprocess_usr_ccbs()
|
/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 920 static struct rxdb *bdx_rxdb_create(int nelem) in bdx_rxdb_create() argument 926 + (nelem * sizeof(int)) in bdx_rxdb_create() 927 + (nelem * sizeof(struct rx_map))); in bdx_rxdb_create() 930 db->elems = (void *)(db->stack + nelem); in bdx_rxdb_create() 931 db->nelem = nelem; in bdx_rxdb_create() 932 db->top = nelem; in bdx_rxdb_create() 933 for (i = 0; i < nelem; i++) in bdx_rxdb_create() 934 db->stack[i] = nelem - i - 1; /* to make first allocs in bdx_rxdb_create() 949 BDX_ASSERT((n < 0) || (n >= db->nelem)); in bdx_rxdb_addr_elem() 960 BDX_ASSERT((n >= db->nelem) || (n < 0)); in bdx_rxdb_free_elem() [all …]
|
D | tehuti.h | 179 int nelem; member
|
/drivers/ata/ |
D | sata_qstor.c | 269 unsigned int nelem; in qs_qc_prep() local 277 nelem = qs_fill_sg(qc); in qs_qc_prep() 288 *(__le32 *)(&buf[ 8]) = cpu_to_le32(nelem); in qs_qc_prep()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 751 static void *alloc_ring(struct device *dev, size_t nelem, size_t hwsize, in alloc_ring() argument 758 size_t hwlen = nelem * hwsize + stat_size; in alloc_ring() 770 void *swring = kcalloc(nelem, swsize, GFP_KERNEL); in alloc_ring()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 617 static void *alloc_ring(struct pci_dev *pdev, size_t nelem, size_t elem_size, in alloc_ring() argument 620 size_t len = nelem * elem_size; in alloc_ring() 627 s = kcalloc(nelem, sw_size, GFP_KERNEL); in alloc_ring()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 657 static void *alloc_ring(struct device *dev, size_t nelem, size_t elem_size, in alloc_ring() argument 661 size_t len = nelem * elem_size + stat_size; in alloc_ring() 668 s = kcalloc_node(sw_size, nelem, GFP_KERNEL, node); in alloc_ring()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dp.c | 838 const int *array, int nelem) in snprintf_int_array() argument 844 for (i = 0; i < nelem; i++) { in snprintf_int_array()
|