Searched refs:sbuf (Results 1 - 21 of 21) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dsbuf.h28 * $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 DMakefile44 sbuf.h posix_sem.h posix_shm.h sdt.h \
80 sbuf.h posix_sem.h posix_shm.h sem.h shm.h \
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsubr_sbuf.c50 #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 Dsysv_sem.c650 struct user_semid_ds sbuf; local
717 eval = copyin(user_arg.buf, &sbuf, sizeof(struct user_semid_ds));
719 eval = copyin(user_arg.buf, &sbuf, sizeof(struct semid_ds));
721 semid_ds_32to64((struct semid_ds *)&sbuf, &sbuf);
728 semakptr->u.sem_perm.uid = sbuf.sem_perm.uid;
729 semakptr->u.sem_perm.gid = sbuf.sem_perm.gid;
731 ~0777) | (sbuf.sem_perm.mode & 0777);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Desp_rijndael.c125 u_int8_t sbuf[AES_BLOCKLEN], *sp; local
195 m_copydata(s, sn, AES_BLOCKLEN, sbuf);
196 sp = sbuf;
197 len = AES_BLOCKLEN; // 1 block only in sbuf
265 bzero(sbuf, sizeof(sbuf));
285 u_int8_t sbuf[AES_BLOCKLEN], *sp; local
355 m_copydata(s, sn, AES_BLOCKLEN, sbuf);
356 sp = sbuf;
357 len = AES_BLOCKLEN; // 1 block only in sbuf
[all...]
H A Desp_core.c689 u_int8_t sbuf[MAXIVLEN], *sp; local
802 m_copydata(s, sn, blocklen, sbuf);
803 sp = sbuf;
846 if (sp == sbuf) {
847 bcopy(sbuf, iv, blocklen);
869 bzero(sbuf, sizeof(sbuf));
889 u_int8_t sbuf[MAXIVLEN], *sp; local
1008 m_copydata(s, sn, blocklen, sbuf);
1009 sp = sbuf;
[all...]
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_posix_sem.c65 #include <sys/sbuf.h>
H A Dmac_sysv_sem.c65 #include <sys/sbuf.h>
H A Dmac_sysv_shm.c67 #include <sys/sbuf.h>
H A Dmac_posix_shm.c66 #include <sys/sbuf.h>
H A Dmac_policy.h102 struct sbuf;
445 struct sbuf *sb
467 struct sbuf *sb
1029 struct sbuf *sb
1335 struct sbuf *sb
1816 struct sbuf *sb
2104 struct sbuf *sb
3572 struct sbuf *sb
3713 struct sbuf *sb
4513 struct sbuf *s
[all...]
H A Dmac_file.c41 #include <sys/sbuf.h>
H A Dmac_pipe.c66 #include <sys/sbuf.h>
H A Dmac_sysv_msg.c66 #include <sys/sbuf.h>
H A Dmac_internal.h83 #include <sys/sbuf.h>
H A Dmac_process.c69 #include <sys/sbuf.h>
H A Dmac_socket.c74 #include <sys/sbuf.h>
H A Dmac_base.c1102 const char *element, struct sbuf *sb)
1109 int (*mpo_externalize)(struct label *, char *, struct sbuf *);
1190 struct sbuf sb;
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dadsp_internal.h306 #define sbufPtr(y) (&sp->sbuf[((y) < sp->sbuflen) ? (y) : ((y) - sp->sbuflen)])
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_subr.c2287 char sbuf[64]; local
2293 sbuf[0] = '\0';
2295 strlcat(sbuf, "|VROOT", sizeof(sbuf));
2297 strlcat(sbuf, "|VTEXT", sizeof(sbuf));
2299 strlcat(sbuf, "|VSYSTEM", sizeof(sbuf));
2301 strlcat(sbuf, "|VNOFLUSH", sizeof(sbuf));
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dtcp_input.c871 char dbuf[MAX_IPv6_STR_LEN], sbuf[MAX_IPv6_STR_LEN]; local
873 char dbuf[MAX_IPv4_STR_LEN], sbuf[MAX_IPv4_STR_LEN];
879 inet_ntop(AF_INET6, &ip6->ip6_src, sbuf, sizeof(sbuf));
884 inet_ntop(AF_INET, &ip->ip_src, sbuf, sizeof(sbuf));
892 sbuf,
898 dbuf, ntohs(th->th_dport), sbuf,
914 sbuf,

Completed in 118 milliseconds