/titanic_41/usr/src/uts/common/c2/ |
H A D | audit_token.c | 68 adr_t adr; /* adr memory stream header */ in au_to_header() local 81 adr_start(&adr, memtod(m, char *)); in au_to_header() 82 adr_char(&adr, &data_header, 1); /* token ID */ in au_to_header() 83 adr_int32(&adr, (int32_t *)&byte_count, 1); /* length of */ in au_to_header() 85 adr_char(&adr, &version, 1); /* version of audit tokens */ in au_to_header() 86 adr_ushort(&adr, &e_type, 1); /* event ID */ in au_to_header() 87 adr_ushort(&adr, &e_mod, 1); /* event ID modifier */ in au_to_header() 89 adr_int64(&adr, zerotime, 2); /* time & date space */ in au_to_header() 91 adr_int32(&adr, zerotime, 2); in au_to_header() 93 m->len = adr_count(&adr); in au_to_header() [all …]
|
H A D | adr.c | 48 adr_start(adr_t *adr, char *p) in adr_start() argument 50 adr->adr_stream = p; in adr_start() 51 adr->adr_now = p; in adr_start() 55 adr_count(adr_t *adr) in adr_count() argument 57 return ((int)((uintptr_t)adr->adr_now - (uintptr_t)adr->adr_stream)); in adr_count() 65 adr_char(adr_t *adr, char *cp, int count) in adr_char() argument 68 *adr->adr_now++ = *cp++; in adr_char() 75 adr_short(adr_t *adr, short *sp, int count) in adr_short() argument 79 *adr->adr_now++ = (char)((*sp >> (int)8) & 0x00ff); in adr_short() 80 *adr->adr_now++ = (char)(*sp & 0x00ff); in adr_short() [all …]
|
/titanic_41/usr/src/cmd/auditreduce/ |
H A D | token.c | 41 static void get_string(adr_t *adr, char **p); 43 static void skip_string(adr_t *adr); 44 static int xgeneric(adr_t *adr); 103 token_processing(adr_t *adr, int tokenid) in token_processing() argument 110 return ((*tokentable[tokenid].func)(adr)); in token_processing() 122 file_token(adr_t *adr) in file_token() argument 129 file64_token(adr_t *adr) in file64_token() argument 136 header_token(adr_t *adr) in header_token() argument 143 header32_ex_token(adr_t *adr) in header32_ex_token() argument 150 header64_ex_token(adr_t *adr) in header64_ex_token() argument [all …]
|
H A D | proc.c | 329 adr_t adr; local 333 adrm_start(&adr, pcb->pcb_rec); 334 (void) adrm_char(&adr, &id, 1); 335 (void) adrm_int32(&adr, &size, 1); 383 adr_t adr; local 401 adrm_start(&adr, pcb->pcb_rec); 404 (void) adrm_char(&adr, (char *)&header_type, 1); 406 (void) adrm_int32(&adr, (int32_t *)&tmp, 1); 408 (void) adrm_char(&adr, (char *)&tmp, 1); 410 (void) adrm_short(&adr, (short *)&e, 1); [all …]
|
H A D | main.c | 702 adr_t adr; /* adr ptr */ in write_file_token() local 715 adr_start(&adr, for_adr); in write_file_token() 716 adr_char(&adr, &token_id, 1); in write_file_token() 718 adr_int64(&adr, (int64_t *)&tv, 2); in write_file_token() 720 adr_int32(&adr, (int32_t *)&tv, 2); in write_file_token() 722 adr_short(&adr, &i, 1); in write_file_token() 723 adr_char(&adr, &c, 1); in write_file_token() 725 if (fwrite(for_adr, sizeof (char), adr_count(&adr), stdout) != in write_file_token() 726 adr_count(&adr)) { in write_file_token()
|
/titanic_41/usr/src/lib/libbsm/common/ |
H A D | au_to.c | 80 adr_t adr; /* adr memory stream header */ in au_to_header() local 99 adr_start(&adr, token->tt_data); in au_to_header() 100 adr_char(&adr, &data_header, 1); /* token ID */ in au_to_header() 101 adr_int32(&adr, &byte_count, 1); /* length of audit record */ in au_to_header() 102 adr_char(&adr, &version, 1); /* version of audit tokens */ in au_to_header() 103 adr_ushort(&adr, &e_type, 1); /* event ID */ in au_to_header() 104 adr_ushort(&adr, &e_mod, 1); /* event ID modifier */ in au_to_header() 106 adr_int64(&adr, (int64_t *)&tv, 2); /* time & date */ in au_to_header() 108 adr_int32(&adr, (int32_t *)&tv, 2); /* time & date */ in au_to_header() 121 adr_t adr; /* adr memory stream header */ in au_to_header_ex() local [all …]
|
H A D | adrm.c | 38 adrm_start(adr_t *adr, char *p) in adrm_start() argument 40 adr->adr_stream = p; in adrm_start() 41 adr->adr_now = p; in adrm_start() 48 adrm_char(adr_t *adr, char *cp, int count) in adrm_char() argument 51 *cp++ = *adr->adr_now++; in adrm_char() 58 adrm_short(adr_t *adr, short *sp, int count) in adrm_short() argument 61 *sp = *adr->adr_now++ << 8; in adrm_short() 62 *sp++ += ((short)*adr->adr_now++) & 0x00ff; in adrm_short() 69 void adrm_int(adr_t *adr, int32_t *lp, int count); 70 void adrm_long(adr_t *adr, int32_t *lp, int count); [all …]
|
H A D | adr.c | 37 adr_start(adr_t *adr, char *p) in adr_start() argument 39 adr->adr_stream = p; in adr_start() 40 adr->adr_now = p; in adr_start() 44 adr_count(adr_t *adr) in adr_count() argument 46 return (((intptr_t)adr->adr_now) - ((intptr_t)adr->adr_stream)); in adr_count() 54 adr_char(adr_t *adr, char *cp, int count) in adr_char() argument 57 *adr->adr_now++ = *cp++; in adr_char() 64 adr_short(adr_t *adr, short *sp, int count) in adr_short() argument 68 *adr->adr_now++ = (char)((*sp >> 8) & 0x00ff); in adr_short() 69 *adr->adr_now++ = (char)(*sp & 0x00ff); in adr_short() [all …]
|
H A D | au_open.c | 144 adr_t adr; /* adr header */ in au_close() local 238 adr_start(&adr, buffer); in au_close() 239 adr_char(&adr, &data_header, 1); in au_close() 240 adr_int32(&adr, (int32_t *)&byte_count, 1); in au_close() 241 adr_char(&adr, &version, 1); in au_close() 242 adr_ushort(&adr, &e_type, 1); in au_close() 243 adr_ushort(&adr, &e_mod, 1); in au_close() 245 adr_int32(&adr, (int32_t *)&host_info->at_type, 1); in au_close() 246 adr_char(&adr, (char *)&host_info->at_addr[0], in au_close() 250 adr_int64(&adr, (int64_t *)&now, 2); in au_close() [all …]
|
/titanic_41/usr/src/lib/auditd_plugins/syslog/ |
H A D | systoken.c | 98 adrm_char(&(ctx->adr), &tokenid, 1); in parse_token() 129 adrm_u_int32(&(ctx->adr), &(ctx->out.sf_reclen), 1); in common_header() 130 ctx->adr.adr_now += sizeof (char); /* version number */ in common_header() 131 adrm_u_short(&(ctx->adr), &(ctx->out.sf_eventid), 1); 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() 155 adrm_int32(&(ctx->adr), &type, 1); /* tid type */ in header32_ex_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() 171 adrm_int32(&(ctx->adr), &type, 1); /* tid type */ in header64_ex_token() [all …]
|
/titanic_41/usr/src/psm/stand/bootblks/ufs/common/ |
H A D | ufs.fth | 48 : read-disk-blocks ( adr len dev-block# -- ) 87 : read-fs-blocks ( adr len fs-blk# -- ) fsbtodb read-disk-blocks ; 104 : +i ( n -- adr ) iptr + ; 112 : direct0 ( -- adr ) d# 40 +i ; 113 : indirect0 ( -- adr ) d# 88 +i ; 114 : indirect1 ( -- adr ) d# 92 +i ; 115 : indirect2 ( -- adr ) d# 96 +i ; 120 dup temp-block bsize rot itod ( i# adr len blk# ) 144 : get-indir ( fs-blk# var adr -- adr ) 145 -rot dup >r @ over = if ( adr fs-blk# r: var ) [all …]
|
/titanic_41/usr/src/cmd/praudit/ |
H A D | prio.c | 46 adr_t *adr = context->audit_adr; in pr_adr_char() local 64 adrm_char(adr, cp, count); in pr_adr_char() 75 adr_t *adr = context->audit_adr; in pr_adr_short() local 93 adrm_short(adr, sp, count); in pr_adr_short() 104 adr_t *adr = context->audit_adr; in pr_adr_int32() local 122 adrm_int32(adr, lp, count); in pr_adr_int32() 130 adr_t *adr = context->audit_adr; in pr_adr_int64() local 148 adrm_int64(adr, lp, count); in pr_adr_int64() 259 adr_t *adr = context->audit_adr; in pr_input_remaining() local 265 if ((adr_count(adr) + size) > context->inbuf_totalsize) in pr_input_remaining()
|
/titanic_41/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_isa.c | 54 kobj_addrcheck(void *xmp, caddr_t adr) in kobj_addrcheck() argument 60 if ((adr >= mp->text && adr < mp->text + mp->text_size) || in kobj_addrcheck() 61 (adr >= mp->data && adr < mp->data + mp->data_size)) in kobj_addrcheck() 63 if (mp->bss && adr >= (caddr_t)mp->bss && in kobj_addrcheck() 64 adr < (caddr_t)mp->bss + mp->bss_size) in kobj_addrcheck()
|
/titanic_41/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 54 kobj_addrcheck(void *xmp, caddr_t adr) in kobj_addrcheck() argument 60 if ((adr >= mp->text && adr < mp->text + mp->text_size) || in kobj_addrcheck() 61 (adr >= mp->data && adr < mp->data + mp->data_size)) in kobj_addrcheck() 63 if (mp->bss && adr >= (caddr_t)mp->bss && in kobj_addrcheck() 64 adr < (caddr_t)mp->bss + mp->bss_size) in kobj_addrcheck()
|
/titanic_41/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 61 kobj_addrcheck(void *xmp, caddr_t adr) in kobj_addrcheck() argument 67 if ((adr >= mp->text && adr < mp->text + mp->text_size) || in kobj_addrcheck() 68 (adr >= mp->data && adr < mp->data + mp->data_size)) in kobj_addrcheck() 70 if (mp->bss && adr >= (caddr_t)mp->bss && in kobj_addrcheck() 71 adr < (caddr_t)mp->bss + mp->bss_size) in kobj_addrcheck()
|
/titanic_41/usr/src/psm/stand/bootblks/zfs/common/ |
H A D | zfs.fth | 66 numbuf /buf-len + swap ( adr u ) 68 d# 10 /mod swap ( adr u' rem ) 69 ascii 0 + ( adr u' c ) 70 rot 1- tuck c! ( u adr' ) 71 swap dup 0= ( adr u done? ) 72 until drop ( adr ) 73 dup numbuf - /buf-len swap - ( adr len ) 454 : (read-dva) ( adr len dva -- ) 458 : gang-read ( adr len bp gb-adr -- ) tokenizer[ reveal ]tokenizer 461 tuck /gang-block rot (read-dva) ( adr len gb-adr ) [all …]
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | stdhosts.c | 73 char adr[INPUTSIZ]; local 130 while ((fgetsp = fgets(adr, sizeof (adr), 132 if (adr[strlen(adr) - 1] == '\n') 164 if (sscanf(line, "%s", adr) != 1) { /* Blank line, ignore */ 187 in.s_addr = inet_addr(adr); 199 if (inet_pton(AF_INET6, adr, &in6) == 1) {
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | gen_port.c | 38 krb5_int32 adr; in krb5_gen_portaddr() local 45 memcpy((char *)&adr, (char *)addr->contents, sizeof(adr)); in krb5_gen_portaddr() 46 return krb5_make_full_ipaddr(context, adr, port, outaddr); in krb5_gen_portaddr()
|
/titanic_41/usr/src/psm/stand/bootblks/common/ |
H A D | util.fth | 50 : cscount ( cstr -- adr,len ) dup cstrlen ; 53 : $append ( adr,len1 adr,len2 -- ) 54 2over 2over ca+ swap move ( adr,len1 adr,len2 ) 65 : str++ ( adr len -- adr' len' ) 95 instance defer cif-read ( len adr ihandle -- #read ) 99 : find-cif-method ( adr,len -- acf ) 100 2dup cif-ph find-method 0= if ( adr,len ) 102 then ( adr,len acf ) 207 : read-disk ( adr len off ih -- ) 208 dup >r 0 swap cif-seek if ( adr len r: ih )
|
H A D | boot.fth | 70 : fs-read ( adr len fd -- #read ) 74 : fs-getrd ( adr len -- ) 103 /fs-fcode mem-alloc ( adr r: ih ) 153 spindex @ 3 and spin-data + ( c-adr ) 162 2dup begin ( size virt len adr ) 163 over 32meg min >r ( size virt len adr r: alloc-sz ) 164 r@ over vmem-alloc ( size virt len adr adr r: alloc-sz ) 165 nip r@ + ( size virt len adr' r: alloc-sz ) 166 swap r> - ( size virt adr len' ) 167 swap over 0= ( size virt len' adr done? ) [all …]
|
/titanic_41/usr/src/psm/stand/bootblks/hsfs/common/ |
H A D | hsfs.fth | 52 : xw@ ( adr -- n ) 53 dup c@ swap char+ ( c0 adr+1 ) 59 : xw! ( n adr -- ) 64 : xl@ ( adr -- n ) 65 dup xw@ swap wa1+ ( w0 adr+2 ) 70 : xl! ( n adr -- ) 77 : +vd ( index -- adr ) 92 : read-fs-blocks ( adr len fs-blk# -- ) /block * dev-ih read-disk ; 107 : +dr ( n -- adr ) cdir-ptr @ + ; 114 : dir-filename ( -- adr ) d# 33 +dr ; [all …]
|
/titanic_41/usr/src/cmd/mail/ |
H A D | copymt.c | 58 if (!let[1].adr) { 60 let[0].adr = 0; 64 nextadr = let[nlet].adr; 150 let[nlet++].adr = nextadr; 214 let[nlet].adr = nextadr;
|
H A D | copyback.c | 60 if (stbuf.st_size != let[nlet].adr) { in copyback() 62 fseek(malf, let[nlet].adr, 0); in copyback() 80 let[++nlet].adr = stbuf.st_size; in copyback()
|
/titanic_41/usr/src/uts/sun4u/starcat/sys/post/ |
H A D | scat_dcd.h | 94 #define ADR2PBANK(adr) ((adr) & 1) argument 95 #define ADR2LBANK(adr) (((adr) >> 1) & 1) argument
|
/titanic_41/usr/src/uts/i86pc/io/acpi_drv/ |
H A D | acpi_video.c | 52 uint32_t adr; member 59 uint32_t adr; member 430 int adr; in acpi_video_enum_output() local 437 if (acpica_eval_int(hdl, "_ADR", &adr) != AE_OK) in acpi_video_enum_output() 444 vidop->adr = adr; in acpi_video_enum_output() 445 vidop->type = adr; in acpi_video_enum_output() 456 vidop->adr = adr; in acpi_video_enum_output() 636 inf.adr = vidbp->adr; in acpi_video_ioctl()
|