/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | synch32.h | 46 #define mutex_lockw lock.lock64.pad[4] 47 #define mutex_waiters lock.lock64.pad[7] 48 #define mutex_spinners lock.lock64.pad[5]
|
/illumos-gate/usr/src/cmd/utmp_update/ |
H A D | utmp_update.c | 229 *exitstatus, *xtime, *session, *pad, *syslen, *host; in load_utmpx_struct() local 245 pad = argv[11]; in load_utmpx_struct() 281 temp = strlen(pad); in load_utmpx_struct() 282 cp = (unsigned char *)entryx->pad; in load_utmpx_struct() 283 for (i = 0; i < temp && (i>>1) < sizeof (entryx->pad); i += 2) in load_utmpx_struct() 284 cp[i>>1] = hex2bin(pad[i]) << 4 | hex2bin(pad[i+1]); in load_utmpx_struct()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getutx.c | 154 bzero(dst->pad, sizeof (dst->pad)); in utmpx_frec2api() 175 bzero(dst->pad, sizeof (dst->pad)); in utmpx_api2frec() 495 char pad[sizeof (entryx->pad) * 2 + 1]; in invoke_utmp_update() local 520 cp = (unsigned char *)entryx->pad; in invoke_utmp_update() 521 for (i = 0; i < sizeof (entryx->pad); ++i) { in invoke_utmp_update() 522 pad[i << 1] = bin2hex[(cp[i] >> 4) & 0xF]; in invoke_utmp_update() 523 pad[(i << 1) + 1] = bin2hex[cp[i] & 0xF]; in invoke_utmp_update() 525 pad[sizeof (pad) - 1] = '\0'; in invoke_utmp_update() 541 argvec[11] = pad; in invoke_utmp_update() 1375 bzero(utx->pad, sizeof (utx->pad)); in getutmpx()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | extras.c | 17 ficlCountedString *counted = (ficlCountedString *)vm->pad; in ficlPrimitiveSystem() 24 (void) sprintf(vm->pad, "System call returned %d\n", in ficlPrimitiveSystem() 26 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveSystem() 136 f = fopen(vm->pad, "w"); in ficlPrimitiveSpewHash()
|
H A D | float.c | 139 (void) sprintf(vm->pad, "%#f ", f); in ficlPrimitiveFDot() 140 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveFDot() 155 (void) sprintf(vm->pad, "%#e ", f); in ficlPrimitiveEDot() 156 ficlVmTextOut(vm, vm->pad); in ficlPrimitiveEDot()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 54 unsigned int pad; /* Padding need for the routine */ member 74 unsigned int pad; in cipher_pad() local 76 pad = c ? c->pad : 1; in cipher_pad() 78 return (((len + pad - 1)/pad)*pad); in cipher_pad()
|
H A D | context.c | 286 unsigned int msgsize, sigsize, pad = 1, size; in __dh_gss_wrap_size_limit() local 313 pad = 1; in __dh_gss_wrap_size_limit() 340 msgsize = (msgsize / pad) * pad; in __dh_gss_wrap_size_limit()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5seal.c | 86 unsigned char pad; in make_seal_token_v1() local 119 pad = 1; in make_seal_token_v1() 124 pad = 8-(text->length%8); in make_seal_token_v1() 130 pad = 0; in make_seal_token_v1() 211 if (pad) (void) memset(plain+conflen+text->length, pad, pad); in make_seal_token_v1()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_sctp.c | 552 int pad; in interpret_params() local 568 if ((pad = (uintptr_t)hdr % SCTP_ALIGN) != 0) { in interpret_params() 569 pad = SCTP_ALIGN - pad; in interpret_params() 570 datalen -= pad; in interpret_params() 572 hdr = (sctp_parm_hdr_t *)((char *)hdr + pad); in interpret_params() 959 int pad; in interpret_chunks() local 977 if ((pad = (uintptr_t)cp % SCTP_ALIGN) != 0) { in interpret_chunks() 978 pad = SCTP_ALIGN - pad; in interpret_chunks() 979 fraglen -= pad; in interpret_chunks() 981 cp = (sctp_chunk_hdr_t *)((char *)cp + pad); in interpret_chunks()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 55 int srcidx, dstidx, pad, i; in ctf_write_elf() local 184 pad = new_offset % shdr.sh_addralign; in ctf_write_elf() 186 if (pad != 0) in ctf_write_elf() 187 new_offset += shdr.sh_addralign - pad; in ctf_write_elf() 299 pad = new_offset % shdr.sh_addralign; in ctf_write_elf() 301 if (pad) in ctf_write_elf() 302 new_offset += shdr.sh_addralign - pad; in ctf_write_elf()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | pnoutref.c | 48 pnoutrefresh(WINDOW *pad, int pby, int pbx, int sby, int sbx, int sey, int sex) in pnoutrefresh() argument 50 return (_prefresh(wnoutrefresh, pad, pby, pbx, sby, sbx, sey, sex)); in pnoutrefresh()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_trans2_find.c | 750 int pad = 0; in smb_trans2_find_mbc_encode() local 768 pad = 2; /* Unicode null */ in smb_trans2_find_mbc_encode() 770 pad = 1; /* ascii null */ in smb_trans2_find_mbc_encode() 771 next_entry_offset = args->fa_fixedsize + namelen + pad; in smb_trans2_find_mbc_encode() 792 pad = 4 - (next_entry_offset & 3); in smb_trans2_find_mbc_encode() 793 next_entry_offset += pad; in smb_trans2_find_mbc_encode() 981 if (pad) in smb_trans2_find_mbc_encode() 982 (void) smb_mbc_encodef(&xa->rep_data_mb, "#.", pad); in smb_trans2_find_mbc_encode()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bufmod.c | 965 size_t pad; /* bytes required to align header */ in sbaddmsg() local 1019 pad = Align(hp.sbh_totlen); in sbaddmsg() 1077 hp.sbh_totlen += pad; in sbaddmsg() 1081 sbp->sb_mlen += pad; in sbaddmsg() 1096 wrapperlen = (sizeof (hp) + pad); in sbaddmsg() 1104 if (pad > 0) { in sbaddmsg() 1110 (void) memset(last->b_wptr, 0, pad); in sbaddmsg() 1111 last->b_wptr += pad; in sbaddmsg() 1122 if (pad > 0) { in sbaddmsg() 1127 (void) memset(wrapper->b_wptr, 0, pad); in sbaddmsg() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_cookie.c | 495 int pad; in sctp_send_initack() local 597 pad = SCTP_ALIGN - pad; in sctp_send_initack() 598 ipsctplen += pad; in sctp_send_initack() 600 iacklen += pad; in sctp_send_initack() 820 if (pad != 0) in sctp_send_initack() 821 bzero((iackmp->b_wptr - pad), pad); in sctp_send_initack() 941 int pad = 0; in sctp_send_cookie_echo() local 968 pad = SCTP_ALIGN - pad; in sctp_send_cookie_echo() 1147 ceclen += pad; in sctp_send_cookie_echo() 1198 cemp->b_wptr += pad; in sctp_send_cookie_echo() [all …]
|
H A D | sctp_error.c | 476 int pad; in sctp_make_err() local 478 if ((pad = len % SCTP_ALIGN) != 0) { in sctp_make_err() 479 pad = SCTP_ALIGN - pad; in sctp_make_err() 483 emp = allocb(elen + pad, BPRI_MED); in sctp_make_err() 488 emp->b_wptr = emp->b_rptr + elen + pad; in sctp_make_err() 504 if (pad != 0) { in sctp_make_err() 505 bzero((uchar_t *)(eph + 1) + len, pad); in sctp_make_err()
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | form.c | 321 _data_ahead(char *v, int pad, int n) in _data_ahead() argument 324 while (vend > v && *(vend - 1) == pad) --vend; in _data_ahead() 336 int pad = Pad(c); in data_ahead() local 356 if (bptr != _data_ahead(bptr, pad, chunk)) { in data_ahead() 371 if (bptr != _data_ahead(bptr, pad, cols)) { in data_ahead()
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_rx.c | 495 mblk_t *pad = NULL; in viona_rx_common() local 541 for (pad = mp; pad->b_cont != NULL; pad = pad->b_cont) in viona_rx_common() 544 pad->b_cont = viona_vlan_pad_mp; in viona_rx_common() 578 if (pad != NULL) { in viona_rx_common() 579 pad->b_cont = NULL; in viona_rx_common()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | line64.c | 434 int i, pad, len; in ldif_base64_encode_internal() local 463 for ( pad = 0; i < 3; i++, pad++ ) { in ldif_base64_encode_internal() 478 if (( i == 3 && pad > 0 ) || ( i == 2 && pad == 2 )) { in ldif_base64_encode_internal()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | mb_info.h | 34 unsigned long pad; member 133 unsigned long pad; member
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | 3c595.c | 169 int pad; in t595_transmit() local 180 pad = padmap[len & 3]; in t595_transmit() 187 if (len + pad > ETH_FRAME_LEN) { in t595_transmit() 201 while (inw(BASE + VX_W1_FREE_TX) < len + pad + 4) { in t595_transmit() 216 while (pad--) in t595_transmit()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | rmc_comm_dp.c | 534 sizeof (dp_msgp->crc) - sizeof (dp_msgp->pad)); in dp_get_msglen() 537 return (dp_msgp->length + sizeof (dp_msgp->pad)); in dp_get_msglen() 561 buf = buf + sizeof (dp_msgp->pad); in dp_send_packet() 940 (sizeof (dp_header_t) - sizeof (dp_msgp->pad)); in rmc_comm_dp_mrecv() 1361 sizeof (dp_msgp->pad); in rmc_comm_dp_msend() 1364 pkt->msg_msglen - sizeof (dp_msgp->pad); in rmc_comm_dp_msend() 1370 sizeof (dp_msgp->pad), sizeof (dp_header_t) - in rmc_comm_dp_msend() 1371 sizeof (dp_msgp->crc) - sizeof (dp_msgp->pad)); in rmc_comm_dp_msend() 1483 sizeof (dp_msgp->pad), sizeof (dp_header_t) - in rmc_comm_dp_msend() 1484 sizeof (dp_msgp->crc) - sizeof (dp_msgp->pad)); in rmc_comm_dp_msend() [all …]
|
/illumos-gate/usr/src/common/util/ |
H A D | string.c | 74 char c, pad; in vsnprintf() local 102 pad = ' '; in vsnprintf() 119 pad = '0'; in vsnprintf() 287 if (sign && pad == '0') in vsnprintf() 293 ADDCHAR(pad); in vsnprintf() 297 if (sign && pad != '0') in vsnprintf()
|
/illumos-gate/usr/src/head/ |
H A D | utmpx.h | 81 int pad[5]; /* reserved for future use */ member 115 int32_t pad[5]; /* reserved for future use */ member
|
/illumos-gate/usr/src/uts/common/xen/public/io/ |
H A D | netif.h | 117 uint8_t pad; member 141 uint16_t pad[3]; member
|
/illumos-gate/usr/src/uts/common/io/myri10ge/firmware/ |
H A D | myri10ge_mcp.h | 89 uint8_t pad[40]; member 146 uint8_t pad; member 508 uint8_t pad[2]; member
|