Searched refs:nents (Results 1 - 13 of 13) sorted by relevance

/freebsd-10-stable/sys/ofed/include/linux/
H A Dscatterlist.h63 unsigned int nents; /* number of mapped entries */ member in struct:sg_table
100 sg_init_table(struct scatterlist *sg, unsigned int nents) argument
102 bzero(sg, sizeof(*sg) * nents);
103 sg[nents - 1].flags = SG_END;
227 * @nents: Number of entries in sg list
232 * This function returns a @table @nents long. The allocator is
234 * Thus if @nents is bigger than @max_ents, the scatterlists will be
243 __sg_alloc_table(struct sg_table *table, unsigned int nents, argument
251 if (nents == 0)
253 left = nents;
317 sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) argument
[all...]
H A Ddma-mapping.h68 int nents, enum dma_data_direction dir, struct dma_attrs *attrs);
69 void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nents,
82 int nents, enum dma_data_direction dir);
84 int nents, enum dma_data_direction dir);
175 dma_map_sg_attrs(struct device *dev, struct scatterlist *sgl, int nents, argument
181 for_each_sg(sgl, sg, nents, i)
184 return (nents);
188 dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, int nents, argument
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Dumem.c70 int nents,
77 return ib_dma_map_sg(ibdev, sg, nents, dir);
80 for (i = 0; i < nents; ++i) {
96 int nents,
103 return ib_dma_unmap_sg(ibdev, sg, nents, dir);
106 for (i = 0; i < nents; ++i)
110 #define ib_dma_map_sg(dev, sg, nents, dir) dma_map_sg_ia64(dev, sg, nents, dir)
111 #define ib_dma_unmap_sg(dev, sg, nents, dir) dma_unmap_sg_ia64(dev, sg, nents, di
68 dma_map_sg_ia64(struct ib_device *ibdev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
94 dma_unmap_sg_ia64(struct ib_device *ibdev, struct scatterlist *sg, int nents, enum dma_data_direction dir) argument
[all...]
/freebsd-10-stable/sys/dev/drm2/radeon/
H A Dradeon_prime.c44 int nents; local
48 nents = dma_map_sg(attachment->dev, sg->sgl, sg->nents, dir);
56 dma_unmap_sg(attachment->dev, sg->sgl, sg->nents, dir);
/freebsd-10-stable/sys/ofed/include/rdma/
H A Dib_umem.h81 int nents; member in struct:ib_umem_chunk
H A Dib_verbs.h1195 struct scatterlist *sg, int nents,
1198 struct scatterlist *sg, int nents,
2291 * @nents: The number of scatter/gather entries
2295 struct scatterlist *sg, int nents,
2299 return dev->dma_ops->map_sg(dev, sg, nents, direction);
2300 return dma_map_sg(dev->dma_device, sg, nents, direction);
2307 * @nents: The number of scatter/gather entries
2311 struct scatterlist *sg, int nents,
2315 dev->dma_ops->unmap_sg(dev, sg, nents, direction);
2317 dma_unmap_sg(dev->dma_device, sg, nents, directio
2294 ib_dma_map_sg(struct ib_device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument
2310 ib_dma_unmap_sg(struct ib_device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction) argument
2320 ib_dma_map_sg_attrs(struct ib_device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
2328 ib_dma_unmap_sg_attrs(struct ib_device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
[all...]
/freebsd-10-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_dbg.c204 void cxio_dump_rqt(struct cxio_rdev *rdev, uint32_t hwtid, int nents) argument
207 int size = nents * 64;
H A Diw_cxgb_hal.h183 void cxio_dump_rqt(struct cxio_rdev *rdev, u32 hwtid, int nents);
H A Diw_cxgb_provider.c580 n += chunk->nents;
/freebsd-10-stable/usr.sbin/syslogd/
H A Dsyslogd.c1597 int i, nents; local
1628 nents = scandir(p, &ent, configfiles, alphasort);
1629 if (nents == -1) {
1634 for (i = 0; i < nents; i++) {
/freebsd-10-stable/sys/powerpc/booke/
H A Dpmap.c3079 int idx, nents; local
3109 nents = idx;
3117 for (idx = 0; idx < nents; idx++) {
/freebsd-10-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c623 n += chunk->nents;
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c1049 n += chunk->nents;

Completed in 210 milliseconds