Home
last modified time | relevance | path

Searched refs:nents (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/lib/libjedec/common/
H A Dlibjedec.c1269 uint_t i, nents; in libjedec_vendor_string() local
1274 nents = ARRAY_SIZE(libjedec_vendors_0); in libjedec_vendor_string()
1278 nents = ARRAY_SIZE(libjedec_vendors_1); in libjedec_vendor_string()
1282 nents = ARRAY_SIZE(libjedec_vendors_2); in libjedec_vendor_string()
1286 nents = ARRAY_SIZE(libjedec_vendors_3); in libjedec_vendor_string()
1290 nents = ARRAY_SIZE(libjedec_vendors_4); in libjedec_vendor_string()
1294 nents = ARRAY_SIZE(libjedec_vendors_5); in libjedec_vendor_string()
1298 nents = ARRAY_SIZE(libjedec_vendors_6); in libjedec_vendor_string()
1302 nents = ARRAY_SIZE(libjedec_vendors_7); in libjedec_vendor_string()
1306 nents = ARRAY_SIZE(libjedec_vendors_8); in libjedec_vendor_string()
[all …]
/titanic_44/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c450 genasm_malloc(void *base, size_t len, int nents, int *umem_alloc_sizes) in genasm_malloc() argument
459 if (nents >= 2) in genasm_malloc()
460 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_malloc()
471 umem_alloc_sizes[nents-1]); in genasm_malloc()
476 if (nents > 1) { in genasm_malloc()
483 for (ii = 1; ii < nents - 1; ii++) { in genasm_malloc()
490 bp += genasm_lastcache(bp, nents - 1, umem_alloc_sizes[nents - 1], in genasm_malloc()
499 genasm_free(void *base, size_t len, int nents, int *umem_alloc_sizes) in genasm_free() argument
508 if (nents >= 2) in genasm_free()
509 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_free()
[all …]
/titanic_44/usr/src/lib/libumem/i386/
H A Dumem_genasm.c441 genasm_malloc(void *base, size_t len, int nents, int *umem_alloc_sizes) in genasm_malloc() argument
450 if (nents >= 2) in genasm_malloc()
451 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_malloc()
462 umem_alloc_sizes[nents-1]); in genasm_malloc()
467 if (nents > 1) { in genasm_malloc()
474 for (ii = 1; ii < nents - 1; ii++) { in genasm_malloc()
481 bp += genasm_lastcache(bp, nents - 1, umem_alloc_sizes[nents - 1], in genasm_malloc()
490 genasm_free(void *base, size_t len, int nents, int *umem_alloc_sizes) in genasm_free() argument
499 if (nents >= 2) in genasm_free()
500 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_free()
[all …]
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs_cmd.c418 size_t nents, size_t maxsize, char **ndata) in nfscmd_convdirplus() argument
446 for (skipped = 0, i = 0; i < nents; i++) { in nfscmd_convdirplus()
486 return (nents - (i + skipped)); in nfscmd_convdirplus()
501 size_t nents; in nfscmd_countents() local
503 for (nents = 0, curlen = 0; curlen < len; curlen += reclen, nents++) { in nfscmd_countents()
507 return (nents); in nfscmd_countents()
518 nfscmd_dropped_entrysize(struct dirent64 *dir, size_t drop, size_t nents) in nfscmd_dropped_entrysize() argument
523 for (i = nents - drop; i > 0 && dir != NULL; i--) in nfscmd_dropped_entrysize()
H A Dnfs4_srv_readdir.c424 int nents; in rfs4_op_readdir() local
620 nents = 0; in rfs4_op_readdir()
825 if (nents != 0 && dircount < 0) { in rfs4_op_readdir()
998 if (nents || IS_MIN_ATTR_MASK(ar)) { in rfs4_op_readdir()
1053 if (nents || IS_MIN_ATTR_MASK(ar)) { in rfs4_op_readdir()
1089 if (nents || in rfs4_op_readdir()
1105 if (nents || IS_MIN_ATTR_MASK(ar)) { in rfs4_op_readdir()
1168 if (nents || IS_MIN_ATTR_MASK(ar)) { in rfs4_op_readdir()
1206 if (nents || IS_MIN_ATTR_MASK(ar)) { in rfs4_op_readdir()
1248 if (nents || in rfs4_op_readdir()
[all …]
H A Dnfs_log_xdr.c808 int nents; in xdr_nfslog_READDIRPLUS3resok() local
813 nents = objp->size; in xdr_nfslog_READDIRPLUS3resok()
815 while (nents > 0) { in xdr_nfslog_READDIRPLUS3resok()
821 nents--; in xdr_nfslog_READDIRPLUS3resok()
833 nents--; in xdr_nfslog_READDIRPLUS3resok()
H A Dnfs3_srv.c3371 int nents = 0; in rfs3_readdirplus() local
3500 if (nents == 0) { in rfs3_readdirplus()
3522 nents++; in rfs3_readdirplus()
3526 namlen[nents] = strlen(dp->d_name); in rfs3_readdirplus()
3527 entrysize = NFS3_READDIRPLUS_ENTRY(namlen[nents]); in rfs3_readdirplus()
3550 if (nents == 0) { in rfs3_readdirplus()
3559 nents++; in rfs3_readdirplus()
3581 infop = kmem_alloc(nents * sizeof (struct entryplus3_info), KM_SLEEP); in rfs3_readdirplus()
3585 for (i = 0; i < nents; i++) { in rfs3_readdirplus()
3625 ret = nfscmd_convdirplus(ca, exi, data, nents, args->dircount, &ndata); in rfs3_readdirplus()
[all …]
H A Dnfs3_xdr.c2292 int nents; in xdr_putdirpluslist() local
2303 nents = objp->size; in xdr_putdirpluslist()
2306 while (nents > 0) { in xdr_putdirpluslist()
2324 nents--; in xdr_putdirpluslist()
H A Dnfs_srv.c2529 size_t nents; in rfs_readdir() local
2605 nents = nfscmd_countents((char *)rd->rd_entries, rd->rd_size); in rfs_readdir()
2606 ret = nfscmd_convdirplus(ca, exi, (char *)rd->rd_entries, nents, in rfs_readdir()
2619 (struct dirent64 *)rd->rd_entries, nents, ret); in rfs_readdir()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_rdma.c92 struct rdsv3_ib_mr *ibmr, struct buf *bp, unsigned int nents);
332 rdsv3_ib_get_mr(struct rds_iovec *args, unsigned long nents, in rdsv3_ib_get_mr() argument
371 ret = rdsv3_ib_map_fmr(rds_ibdev, ibmr, bp, nents); in rdsv3_ib_get_mr()
409 struct buf *bp, unsigned int nents) in rdsv3_ib_map_fmr() argument
417 unsigned int l_nents = nents; in rdsv3_ib_map_fmr()
H A Dmessage.c278 rdsv3_message_alloc(unsigned int nents, int gfp) in rdsv3_message_alloc() argument
282 RDSV3_DPRINTF4("rdsv3_message_alloc", "Enter(nents: %d)", nents); in rdsv3_message_alloc()
285 (nents * sizeof (struct rdsv3_scatterlist)), gfp); in rdsv3_message_alloc()
H A Drdma.c173 unsigned int nents = 0; in __rdsv3_rdma_map() local
210 trans_private = rs->rs_transport->get_mr(&args->vec, nents, rs, in __rdsv3_rdma_map()
/titanic_44/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dib.h312 void *rdsv3_ib_get_mr(struct rds_iovec *args, unsigned long nents,
H A Drdsv3.h701 struct rdsv3_message *rdsv3_message_alloc(unsigned int nents, int gfp);