Home
last modified time | relevance | path

Searched refs:size (Results 1 – 6 of 6) sorted by relevance

/sunrpc/
A Drpc_dtable.c43 static int size; in _rpc_dtablesize() local
45 if (size == 0) in _rpc_dtablesize()
46 size = __getdtablesize (); in _rpc_dtablesize()
48 return size; in _rpc_dtablesize()
A Dxdr_ref.c62 u_int size, in xdr_reference() argument
76 *pp = loc = (caddr_t) calloc (1, size); in xdr_reference()
91 mem_free (loc, size); in xdr_reference()
A Dsvc_udp.c413 #define ALLOC(type, size) \ argument
414 (type *) mem_alloc((unsigned) (sizeof(type) * (size)))
416 #define CALLOC(type, size) \ argument
417 (type *) calloc (sizeof (type), size)
474 svcudp_enablecache (SVCXPRT *transp, u_long size) in svcudp_enablecache() argument
490 uc->uc_size = size; in svcudp_enablecache()
492 uc->uc_entries = CALLOC (cache_ptr, size * SPARSENESS); in svcudp_enablecache()
499 uc->uc_fifo = CALLOC (cache_ptr, size); in svcudp_enablecache()
502 mem_free (uc->uc_entries, size * SPARSENESS); in svcudp_enablecache()
A Dxdr.c742 u_int size = 0; in libc_hidden_nolink_sunrpc() local
759 size = strlen (sp); in libc_hidden_nolink_sunrpc()
764 if (!xdr_u_int (xdrs, &size)) in libc_hidden_nolink_sunrpc()
768 if (size > maxsize) in libc_hidden_nolink_sunrpc()
772 nodesize = size + 1; in libc_hidden_nolink_sunrpc()
794 sp[size] = 0; in libc_hidden_nolink_sunrpc()
798 return xdr_opaque (xdrs, sp, size); in libc_hidden_nolink_sunrpc()
A Dxdr_mem.c73 xdrmem_create (XDR *xdrs, const caddr_t addr, u_int size, enum xdr_op op) in xdrmem_create() argument
80 xdrs->x_handy = size; in xdrmem_create()
A Dauth_des.c52 #define FREE(ptr, size) mem_free((char *)(ptr), (int) size) argument

Completed in 13 milliseconds