/darwin-on-arm/xnu/bsd/sys/ |
H A D | sbuf.h | 28 * $FreeBSD: /repoman/r/ncvs/src/sys/sys/sbuf.h,v 1.14 2004/07/09 11:35:30 des Exp $ 40 struct sbuf { struct 50 #define SBUF_OVERFLOWED 0x00040000 /* sbuf overflowed */ 51 #define SBUF_DYNSTRUCT 0x00080000 /* sbuf must be freed */ 59 struct sbuf *sbuf_new(struct sbuf *, char *, int, int); 60 void sbuf_clear(struct sbuf *); 61 int sbuf_setpos(struct sbuf *, int); 62 int sbuf_bcat(struct sbuf *, const void *, size_t); 63 int sbuf_bcpy(struct sbuf *, cons [all...] |
H A D | Makefile | 28 sbuf.h posix_sem.h posix_shm.h sdt.h \ 74 sbuf.h posix_sem.h posix_shm.h sem.h shm.h \
|
/darwin-on-arm/xnu/osfmk/kperf/ |
H A D | action.c | 75 kperf_sample_internal( struct kperf_sample *sbuf, argument 96 kperf_threadinfo_sample( &sbuf->threadinfo, context ); 100 if (sbuf->threadinfo.runmode & 0x40) 105 kperf_kcallstack_sample( &sbuf->kcallstack, context ); 120 kperf_ucallstack_sample( &sbuf->ucallstack, context ); 123 kperf_threadinfo_extra_sample( &sbuf->tinfo_ex, 138 kperf_threadinfo_log( &sbuf->threadinfo ); 142 kperf_kcallstack_log( &sbuf->kcallstack ); 158 kperf_ucallstack_log( &sbuf->ucallstack ); 161 kperf_threadinfo_extra_log( &sbuf 176 kperf_sample( struct kperf_sample *sbuf, struct kperf_context *context, unsigned actionid, boolean_t pend_user ) argument 214 struct kperf_sample *sbuf = kalloc( sizeof(*sbuf) ); local [all...] |
H A D | action.h | 40 /* Take a sample into "sbuf" using current thread "cur_thread" */ 41 extern kern_return_t kperf_sample( struct kperf_sample *sbuf,
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_stat.c | 84 struct stat sbuf; local 99 if (stat(optf, &sbuf) == -1)
|
H A D | lmbench_fstat.c | 109 struct stat sbuf; local 126 if (fstat(ts->ts_fd, &sbuf) == -1)
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | stat.c | 76 struct stat sbuf; local 81 if (stat(optf, &sbuf) == -1)
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | subr_sbuf.c | 50 #include <sys/sbuf.h> 53 /* MALLOC_DEFINE(M_SBUF, "sbuf", "string buffers"); */ 90 _assert_sbuf_integrity(const char *fun, struct sbuf *s) 93 ("%s called with a NULL sbuf pointer", fun)); 95 ("%s called with uninitialized or corrupt sbuf", fun)); 97 ("wrote past end of sbuf (%d >= %d)", s->s_len, s->s_size)); 101 _assert_sbuf_state(const char *fun, struct sbuf *s, int state) 104 ("%s called with %sfinished or corrupt sbuf", fun, 132 * Extend an sbuf. 135 sbuf_extend(struct sbuf * [all...] |
H A D | sysv_sem.c | 685 struct user_semid_ds sbuf; local 753 semid_ds_64tokernel(&ds64, &sbuf); 757 semid_ds_32tokernel(&ds32, &sbuf); 764 semakptr->u.sem_perm.uid = sbuf.sem_perm.uid; 765 semakptr->u.sem_perm.gid = sbuf.sem_perm.gid; 767 ~0777) | (sbuf.sem_perm.mode & 0777);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | esp_rijndael.c | 155 u_int8_t sbuf[MAX_SBUF_LEN] __attribute__((aligned(4))), *sp, *sp_unaligned; local 225 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf); 226 sp = sbuf; 227 len = AES_BLOCKLEN; // 1 block only in sbuf 280 sp = sbuf; 315 bzero(sbuf, sizeof(sbuf)); 335 u_int8_t sbuf[MAX_SBUF_LEN] __attribute__((aligned(4))), *sp, *sp_unaligned; local 406 m_copydata(s, sn, AES_BLOCKLEN, (caddr_t) sbuf); 407 sp = sbuf; [all...] |
H A D | esp_core.c | 546 u_int8_t *sbuf = NULL, *sp, *sp_unaligned; local 653 sbuf = (u_int8_t *)_MALLOC(blocklen, M_SECA, M_DONTWAIT); 654 if (sbuf == NULL) 663 m_copydata(s, sn, blocklen, (caddr_t) sbuf); 664 sp = sbuf; 710 sp = sbuf; 728 if (sp == sbuf) { 729 bcopy(sbuf, iv, blocklen); 751 bzero(sbuf, sizeof(sbuf)); 773 u_int8_t *sbuf = NULL, *sp, *sp_unaligned; local [all...] |
/darwin-on-arm/xnu/security/ |
H A D | mac_posix_sem.c | 65 #include <sys/sbuf.h>
|
H A D | mac_sysv_sem.c | 65 #include <sys/sbuf.h>
|
H A D | mac_sysv_shm.c | 67 #include <sys/sbuf.h>
|
H A D | mac_posix_shm.c | 66 #include <sys/sbuf.h>
|
H A D | mac_policy.h | 102 struct sbuf; 455 struct sbuf *sb 477 struct sbuf *sb 1039 struct sbuf *sb 1395 struct sbuf *sb 1876 struct sbuf *sb 2164 struct sbuf *sb 3740 struct sbuf *sb 3881 struct sbuf *sb 4706 struct sbuf *s [all...] |
H A D | mac_file.c | 41 #include <sys/sbuf.h>
|
H A D | mac_pipe.c | 66 #include <sys/sbuf.h>
|
H A D | mac_sysv_msg.c | 66 #include <sys/sbuf.h>
|
H A D | mac_internal.h | 83 #include <sys/sbuf.h>
|
H A D | mac_process.c | 69 #include <sys/sbuf.h>
|
H A D | mac_socket.c | 74 #include <sys/sbuf.h>
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs4_subs.c | 1534 char sbuf[64], *s; local 1555 s = sbuf; 1556 slen = sizeof(sbuf); 1675 if (s != sbuf) { 1677 s = sbuf; 1678 slen = sizeof(sbuf); 2003 if (s != sbuf) { 2005 s = sbuf; 2006 slen = sizeof(sbuf); 2038 if (s != sbuf) { 2181 char sbuf[64], *s; local [all...] |
/darwin-on-arm/xnu/bsd/netat/ |
H A D | adsp_internal.h | 306 #define sbufPtr(y) (&sp->sbuf[((y) < sp->sbuflen) ? (y) : ((y) - sp->sbuflen)])
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_subr.c | 2496 char sbuf[64]; local 2502 sbuf[0] = '\0'; 2504 strlcat(sbuf, "|VROOT", sizeof(sbuf)); 2506 strlcat(sbuf, "|VTEXT", sizeof(sbuf)); 2508 strlcat(sbuf, "|VSYSTEM", sizeof(sbuf)); 2510 strlcat(sbuf, "|VNOFLUSH", sizeof(sbuf)); [all...] |