Searched refs:size_t (Results 176 - 200 of 432) sorted by relevance

1234567891011>>

/xnu-2422.115.4/bsd/kern/
H A Dsubr_sbuf.c266 sbuf_bcat(struct sbuf *s, const void *buf, size_t len)
293 sbuf_bcopyin(struct sbuf *s, const void *uaddr, size_t len)
319 sbuf_bcpy(struct sbuf *s, const void *buf, size_t len)
357 sbuf_copyin(struct sbuf *s, const void *uaddr, size_t len)
359 size_t done;
H A Dkpi_socket.c50 mbuf_t, int, size_t *);
506 sock_settclassopt(socket_t sock, const void *optval, size_t optlen)
589 sock_gettclassopt(socket_t sock, void *optval, size_t *optlen)
640 int flags, size_t *recvdlen)
730 sock_receive(socket_t sock, struct msghdr *msg, int flags, size_t *recvdlen)
742 size_t *recvlen)
753 int flags, size_t *sentlen)
796 if ((size_t)msg->msg_controllen < sizeof (struct cmsghdr)) {
801 if ((size_t)msg->msg_controllen > MLEN) {
856 sock_send(socket_t sock, const struct msghdr *msg, int flags, size_t *sentle
[all...]
H A Dsubr_prf.c113 size_t remain;
476 snprintf(char *str, size_t size, const char *format, ...)
491 vsnprintf(char *str, size_t size, const char *format, va_list ap)
/xnu-2422.115.4/bsd/netinet6/
H A Desp_rijndael.c144 size_t off;
153 size_t ivoff, bodyoff;
337 size_t off,
338 __unused size_t plen,
347 size_t ivoff, bodyoff;
H A Dah_input.c134 size_t siz;
135 size_t siz1;
139 size_t hlen;
140 size_t stripsiz = 0;
364 size_t sizoff;
631 size_t siz;
632 size_t siz1;
636 size_t stripsiz = 0;
810 size_t sizoff;
/xnu-2422.115.4/bsd/security/audit/
H A Daudit_bsd.c56 size_t mh_size;
108 size_t sz;
177 _audit_malloc(size_t size, au_malloc_type_t *type, int flags, const char *fn)
179 _audit_malloc(size_t size, au_malloc_type_t *type, int flags)
183 size_t memsize = sizeof (*hdr) + size;
H A Daudit.h229 void audit_arg_opaque(struct kaudit_record *ar, void *data, size_t size);
230 void audit_arg_data(struct kaudit_record *ar, void *data, size_t size,
231 size_t number);
/xnu-2422.115.4/security/
H A Dmac_base.c1089 mac_label_externalize(size_t mpo_externalize_off, struct label *label,
1176 mac_externalize(size_t mpo_externalize_off, struct label *label,
1177 const char *elementlist, char *outbuf, size_t outbuflen)
1230 mac_label_internalize(size_t mpo_internalize_off, struct label *label,
1279 mac_internalize(size_t mpo_internalize_off, struct label *label,
1308 size_t ulen;
1363 size_t ulen;
1413 size_t ulen;
1497 size_t ulen;
1565 size_t ule
[all...]
H A Dmac_socket.c183 char *outbuf, size_t outbuflen)
194 char *outbuf, size_t outbuflen)
361 size_t len;
394 size_t len;
431 size_t len;
/xnu-2422.115.4/bsd/net/
H A Dpktap.c151 pktap_hexdump(int mask, void *addr, size_t len)
154 size_t i;
558 size_t len;
682 size_t len = pktap_filter->filter_ifname_prefix_len != 0 ?
774 size_t hlen;
935 void (*bpf_tap_func)(ifnet_t , u_int32_t , mbuf_t , void * , size_t ) =
973 size_t hdr_size = sizeof(struct pktap_header);
975 size_t data_adjust = 0;
1031 if (proto == AF_INET && (size_t) m_pktlen(m) - 4 < sizeof(struct ip))
1033 if (proto == AF_INET6 && (size_t) m_pktle
[all...]
H A Dif_utun.c66 int opt, void *data, size_t *len);
68 int opt, void *data, size_t len);
100 utun_alloc(size_t size)
102 size_t *mem = OSMalloc(size + sizeof(size_t), utun_malloc_tag);
105 *mem = size + sizeof(size_t);
115 size_t *size = ptr;
476 size_t len)
597 size_t *len)
732 *(protocol_family_t *)mbuf_data(*packet) = *(protocol_family_t *)(uintptr_t)(size_t)frame_typ
[all...]
H A Dif_ipsec.c60 int opt, void *data, size_t *len);
62 int opt, void *data, size_t len);
93 ipsec_alloc(size_t size)
95 size_t *mem = OSMalloc(size + sizeof(size_t), ipsec_malloc_tag);
98 *mem = size + sizeof(size_t);
108 size_t *size = ptr;
469 size_t len)
557 size_t *len)
/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dlmbench_bw_mem.c111 size_t nbytes;
118 size_t N;
127 size_t nbytes;
134 size_t N;
419 register size_t N = ts->N;
432 register size_t N = ts->N;
612 size_t nbytes;
/xnu-2422.115.4/bsd/dev/dtrace/scripts/
H A Dio.d56 size_t b_bcount; /* number of bytes */
60 size_t b_resid; /* # of bytes not transferred */
61 size_t b_bufsize; /* size of allocated buffer */
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_xattr.c62 size_t size;
90 static int getnodecount(struct hfsmount *hfsmp, size_t nodesize);
92 static size_t getmaxinlineattrsize(struct vnode * attrvp);
94 static int read_attr_data(struct hfsmount *hfsmp, uio_t uio, size_t datasize, HFSPlusExtentDescriptor *extents);
96 static int write_attr_data(struct hfsmount *hfsmp, uio_t uio, size_t datasize, HFSPlusExtentDescriptor *extents);
98 static int alloc_attr_blks(struct hfsmount *hfsmp, size_t attrsize, size_t extentbufsize, HFSPlusExtentDescriptor *extents, int *blocks);
271 size_t *a_size;
281 size_t bufsize;
359 *ap->a_size = (size_t)VTO
[all...]
/xnu-2422.115.4/libsyscall/wrappers/spawn/
H A Dposix_spawn.c382 size_t count, cpu_type_t *pref, size_t * __restrict ocount)
583 size_t count, cpu_type_t *pref, size_t * __restrict ocount)
1369 const char *policyname, void **datap, size_t *datalenp)
1389 const char *policyname, void *data, size_t datalen)
/xnu-2422.115.4/bsd/vm/
H A Dvnode_pager.c150 strlcpy(filename, name, (size_t) filename_len);
191 size_t length)
194 size_t io_bytecount; /* Number of bytes in current extent for the specified range */
195 size_t trimmed = 0;
197 size_t remaining_length = length;
304 (size_t)size, flags, ctx)) )
/xnu-2422.115.4/bsd/nfs/
H A Dnfs.h817 extern size_t nfs_mbuf_mhlen, nfs_mbuf_minclsize;
1334 int nfs3_getattr_rpc(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *);
1335 int nfs4_getattr_rpc(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *);
1338 int nfs3_read_rpc_async(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struct nfsreq_cbinfo *, struct nfsreq **);
1339 int nfs4_read_rpc_async(nfsnode_t, off_t, size_t, thread_t, kauth_cred_t, struct nfsreq_cbinfo *, struct nfsreq **);
1340 int nfs3_read_rpc_async_finish(nfsnode_t, struct nfsreq *, uio_t, size_t *, int *);
1341 int nfs4_read_rpc_async_finish(nfsnode_t, struct nfsreq *, uio_t, size_t *, int *);
1342 int nfs3_write_rpc_async(nfsnode_t, uio_t, size_t, thread_t, kauth_cred_t, int, struct nfsreq_cbinfo *, struct nfsreq **);
1343 int nfs4_write_rpc_async(nfsnode_t, uio_t, size_t, thread_t, kauth_cred_t, int, struct nfsreq_cbinfo *, struct nfsreq **);
1344 int nfs3_write_rpc_async_finish(nfsnode_t, struct nfsreq *, int *, size_t *, uint64_
[all...]
/xnu-2422.115.4/libsyscall/wrappers/libproc/
H A Dproc_listpidspath.c37 size_t pids_size;
42 size_t thr_size;
47 size_t fds_size;
/xnu-2422.115.4/bsd/sys/
H A Dfasttrap_impl.h127 size_t ftp_fsize; /* associated function's size */
/xnu-2422.115.4/libkern/kxld/
H A Dkxld_symtab.h57 size_t kxld_symtab_sizeof(void)
/xnu-2422.115.4/osfmk/kern/
H A Dmisc_protos.h145 extern int snprintf(char *, size_t, const char *, ...) __printflike(3,4);
/xnu-2422.115.4/osfmk/pmc/
H A Dpmc.c788 size_t coreCt = 0UL;
1016 size_t core_cnt;
1028 size_t ii;
1778 size_t core_cnt;
2140 kern_return_t pmc_get_pmc_list(pmc_t **pmcs, size_t *pmcCount) {
2143 size_t count = 0UL;
2197 void pmc_free_pmc_list(pmc_t *pmcs, size_t pmcCount) {
2205 kern_return_t pmc_find_by_name(const char *name, pmc_t **pmcs, size_t *pmcCount) {
2213 size_t count = 0UL;
2216 size_t matchCoun
[all...]
/xnu-2422.115.4/tools/tests/libMicro/
H A Dlibmicro.h180 extern size_t lm_tsdsize;
/xnu-2422.115.4/tools/tests/unit_tests/ptcwd_test_11269991_src/
H A Dptcwd_test_11269991.c49 pthread_getcwd_np(char *buf, size_t size)

Completed in 109 milliseconds

1234567891011>>