Home
last modified time | relevance | path

Searched refs:adr_now (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/uts/common/c2/
H A Dadr.c51 adr->adr_now = p; in adr_start()
57 return ((int)((uintptr_t)adr->adr_now - (uintptr_t)adr->adr_stream)); in adr_count()
68 *adr->adr_now++ = *cp++; in adr_char()
79 *adr->adr_now++ = (char)((*sp >> (int)8) & 0x00ff); in adr_short()
80 *adr->adr_now++ = (char)(*sp & 0x00ff); in adr_short()
95 *adr->adr_now++ = (char)((l & (int32_t)0xff000000) >> in adr_int32()
113 *adr->adr_now++ = in adr_int64()
127 old = adr->adr_now; in adr_getchar()
128 *cp = *adr->adr_now++; in adr_getchar()
137 old = adr->adr_now; in adr_getshort()
[all …]
H A Daudit_syscalls.c212 hadr.adr_now += 9; in audit()
214 hadr.adr_now -= 9 + sizeof (int32_t); in audit()
229 hadr.adr_now += 9; in audit()
231 hadr.adr_now -= 9 + sizeof (int32_t); in audit()
252 hadr.adr_now += 4; in audit()
263 hadr.adr_now -= 5; in audit()
289 sadr.adr_now += 1; in audit()
291 sadr.adr_now = (char *)NULL; in audit()
306 hadr.adr_now += delta; in audit()
H A Daudit_io.c310 hadr.adr_now += sizeof (char) + sizeof (int32_t) + in au_close_time()
313 hadr.adr_now += sizeof (int32_t) + in au_close_time()
317 hadr.adr_now = (char *)NULL; in au_close_time()
342 sadr.adr_now += 1; in au_close_time()
344 sadr.adr_now = NULL; in au_close_time()
382 if (hadrp->adr_now) { in au_enqueue()
387 if (sadrp->adr_now) { in au_enqueue()
H A Daudit_record.h219 char *adr_now; /* The location within the stream */ member
H A Daudit_token.c1116 adr.adr_now += sz; in au_to_privset()
/titanic_50/usr/src/lib/auditd_plugins/syslog/
H A Dsystoken.c130 ctx->adr.adr_now += sizeof (char); /* version number */ in common_header()
132 ctx->adr.adr_now += sizeof (short); /* modifier */ in common_header()
142 ctx->adr.adr_now += 2 * sizeof (int32_t); /* time */ in header_token()
156 ctx->adr.adr_now += type * sizeof (char); /* ip address */ in header32_ex_token()
158 ctx->adr.adr_now += 2 * sizeof (int32_t); /* time */ in header32_ex_token()
172 ctx->adr.adr_now += type * sizeof (char); /* ip address */ in header64_ex_token()
174 ctx->adr.adr_now += 2 * sizeof (int64_t); /* time */ in header64_ex_token()
185 ctx->adr.adr_now += 2 * sizeof (int64_t); /* time */ in header64_token()
229 ctx->adr.adr_now += sizeof (char); /* how to print */ in arbitrary_data_token()
236 ctx->adr.adr_now += unit_count * sizeof (char); in arbitrary_data_token()
[all …]
H A Dsysplugin.c558 ctx.adr.adr_now = (char *)input; in filter()
561 while ((ctx.adr.adr_now - ctx.adr.adr_stream) < in_len) { in filter()
562 assert(last_adr != ctx.adr.adr_now); in filter()
564 last_adr = ctx.adr.adr_now; in filter()
/titanic_50/usr/src/lib/libbsm/common/
H A Dadr.c40 adr->adr_now = p; in adr_start()
46 return (((intptr_t)adr->adr_now) - ((intptr_t)adr->adr_stream)); in adr_count()
57 *adr->adr_now++ = *cp++; in adr_char()
68 *adr->adr_now++ = (char)((*sp >> 8) & 0x00ff); in adr_short()
69 *adr->adr_now++ = (char)(*sp & 0x00ff); in adr_short()
81 *adr->adr_now++ = (char)((*sp >> 8) & 0x00ff); in adr_ushort()
82 *adr->adr_now++ = (char)(*sp & 0x00ff); in adr_ushort()
100 *adr->adr_now++ = in adr_int32()
119 *adr->adr_now++ = in adr_uid()
137 *adr->adr_now++ = (char) in adr_int64()
H A Dadrm.c41 adr->adr_now = p; in adrm_start()
51 *cp++ = *adr->adr_now++; in adrm_char()
61 *sp = *adr->adr_now++ << 8; in adrm_short()
62 *sp++ += ((short)*adr->adr_now++) & 0x00ff; in adrm_short()
83 *lp += ((int32_t)*adr->adr_now++) & 0x000000ff; in adrm_int32()
97 *up += ((uid_t)*adr->adr_now++) & 0x000000ff; in adrm_uid()
111 *lp += ((int64_t)*adr->adr_now++) & 0x00000000000000ff; in adrm_int64()
158 *adr->adr_now++ = (char)((l & (int32_t)0xff000000) >> in adrm_putint32()
H A Dadrf.c46 adrf->adrf_adr->adr_now = NULL; in adrf_start()
63 adrf->adrf_adr->adr_now += sizeof (char); in adrf_char()
85 adrf->adrf_adr->adr_now += sizeof (short); in adrf_short()
115 adrf->adrf_adr->adr_now += sizeof (int32_t); in adrf_int32()
136 adrf->adrf_adr->adr_now += sizeof (int64_t); in adrf_int64()
H A Dau_open.c259 (void) memcpy(adr.adr_now, dchain->tt_data, dchain->tt_size); in au_close()
260 adr.adr_now += dchain->tt_size; in au_close()
/titanic_50/usr/src/cmd/praudit/
H A Dprintaudit.c165 context->inbuf_last = context->audit_adr->adr_now - 1; in checkpoint_progress()
168 context->audit_rec_start = context->audit_adr->adr_now - 1; in checkpoint_progress()
366 (context->audit_adr->adr_now < (context->audit_rec_start + in print_audit_common()
H A Dformat.c2820 last = (context->audit_adr->adr_now == in pa_print()
/titanic_50/usr/src/cmd/auditreduce/
H A Dtoken.c1765 adr->adr_now += c; in skip_string()
1966 adr->adr_now += sizeof (char); in label_token()
1968 adr->adr_now += sizeof (short) + (4 * l); in label_token()
H A Dproc.c793 while ((uint_t)(adr.adr_now - adr.adr_stream) < bytes) {
/titanic_50/usr/src/cmd/auditd/
H A Ddoorway.c240 adr.adr_now = buf; in getlen()