Searched refs:nodesize (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/uts/common/rpc/ |
H A D | xdr_array.c | 65 uint_t nodesize; in xdr_array() local 76 nodesize = c * elsize; in xdr_array() 87 *addrp = target = (char *)mem_alloc(nodesize); in xdr_array() 88 bzero(target, nodesize); in xdr_array() 110 mem_free(*addrp, nodesize); in xdr_array()
|
H A D | xdr.c | 463 uint_t nodesize; in xdr_bytes() local 471 nodesize = *sizep; in xdr_bytes() 472 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) { in xdr_bytes() 481 if (nodesize == 0) in xdr_bytes() 484 *cpp = sp = (char *)mem_alloc(nodesize); in xdr_bytes() 488 return (xdr_opaque(xdrs, sp, nodesize)); in xdr_bytes() 492 mem_free(sp, nodesize); in xdr_bytes() 570 uint_t nodesize; in xdr_string() local 592 nodesize = size + 1; in xdr_string() 599 if (nodesize == 0) in xdr_string() [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 72 uint_t nodesize; in xdr_array() local 81 nodesize = c * elsize; in xdr_array() 92 *addrp = target = malloc(nodesize); in xdr_array() 97 (void) memset(target, 0, nodesize); in xdr_array()
|
H A D | xdr.c | 421 uint_t nodesize; in xdr_bytes() local 431 nodesize = *sizep; in xdr_bytes() 432 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) in xdr_bytes() 440 if (nodesize == 0) in xdr_bytes() 443 *cpp = sp = malloc(nodesize); in xdr_bytes() 450 return (xdr_opaque(xdrs, sp, nodesize)); in xdr_bytes()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_xdr.c | 894 uint32_t nodesize; in xdr_diropargs() local 916 nodesize = size + 1; in xdr_diropargs() 917 if (nodesize == 0) in xdr_diropargs() 920 da->da_name = kmem_alloc(nodesize, KM_NOSLEEP); in xdr_diropargs() 930 nodesize); in xdr_diropargs() 939 nodesize); in xdr_diropargs() 950 kmem_free(da->da_name, nodesize); in xdr_diropargs()
|
H A D | nfs3_xdr.c | 79 uint_t nodesize; in xdr_string3() local 114 nodesize = size + 1; in xdr_string3() 115 if (nodesize == 0) in xdr_string3() 118 sp = kmem_alloc(nodesize, KM_NOSLEEP); in xdr_string3() 129 kmem_free(sp, nodesize); in xdr_string3() 135 kmem_free(sp, nodesize); in xdr_string3() 145 nodesize = size + 1; in xdr_string3() 146 kmem_free(sp, nodesize); in xdr_string3()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | openprom.c | 1328 size_t nodesize = 0; in oprom_copychild() local 1329 if (oprom_copynode(child, flag, &nodebuf, &nodesize)) { in oprom_copychild() 1335 (uchar_t *)nodebuf, nodesize); in oprom_copychild() 1336 kmem_free(nodebuf, nodesize); in oprom_copychild()
|
/titanic_41/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 969 uint_t nodesize; in walk() local 981 (uchar_t **)&nodebuf, &nodesize); in walk() 982 walk(nodebuf, nodesize, level + 1); in walk()
|
/titanic_41/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.c | 156 nodesize(enum nodetype t, struct node *ret) in nodesize() function 216 int size = nodesize(t, ret); in newnode() 316 alloc_xfree((char *)root, nodesize(root->t, root)); in tree_free()
|