Searched refs:tok (Results 1 - 3 of 3) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_bsm_audit.c159 int kau_write(struct au_record *rec, struct au_token *tok) argument
161 if(tok == NULL) {
170 TAILQ_INSERT_TAIL(&rec->token_q, tok, tokens);
172 rec->len += tok->len; /* grow record length by token size bytes */
222 struct au_token *tok; local
225 while ((tok = TAILQ_FIRST(&rec->token_q))) {
226 TAILQ_REMOVE(&rec->token_q, tok, tokens);
227 kfree(tok, sizeof(*tok) + tok
373 struct au_token *tok; local
473 struct au_token *tok = NULL, *subj_tok; local
[all...]
H A Dkern_bsm_token.c45 #define GET_TOKEN_AREA(tok, dptr, length) \
47 tok = (token_t *)kalloc(sizeof(*tok) + length); \
48 if(tok != NULL)\
50 tok->len = length;\
51 dptr = tok->t_data = (u_char *)&tok[1];\
/macosx-10.5.8/xnu-1228.15.4/bsd/libkern/
H A Dstrsep.c58 char *tok; local
62 for (tok = s;;) {
72 return (tok);

Completed in 71 milliseconds