/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/et/ |
H A D | error_message.c | 34 int offset; local 41 offset = (int) l_offset; 45 cp = strerror(offset); 51 if (offset < sys_nerr) 52 return(sys_errlist[offset]); 62 return(ggss_error_table(offset)); 64 return(kadm_error_table(offset)); 66 return(kdb5_error_table(offset)); 68 return(kdc5_error_table(offset)); 70 return(kpws_error_table(offset)); [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vuid_store.h | 65 ushort_t offset; /* Offset of value from seg addr */ member in struct:vuid_value 95 #define vuid_set_boolean_bit(seg, offset) \ 96 (seg)->booleans[(offset)/BITSPERBYTE] |= \ 97 (1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE))) 98 #define vuid_clear_boolean_bit(seg, offset) \ 99 (seg)->booleans[(offset)/BITSPERBYTE] &= \ 100 (~(1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE)))) 101 #define vuid_get_boolean_bit(seg, offset) \ 102 ((seg)->booleans[(offset)/BITSPERBYTE] & \ 103 (1<<((BITSPERBYTE-1)-((offset) [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_compare.c | 38 if (lsn0->offset != lsn1->offset) 39 return (lsn0->offset < lsn1->offset ? -1 : 1);
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_rx_rd32.h | 47 * offset The offset into the DMA CSR (the register). 65 * offset += ((channel << 1) + 1) << DMA_CSR_SLL; 72 * offset = 0x600070 73 * offset &= 0xff = 0x70 74 * offset += ((3 << 1) + 1) << 9 78 * offset += 0xe00 = 0xe70 87 * channel number by 512 bytes, and get the correct offset to 90 * is offset 512 bytes from the previous channel (count 16 step 512). 92 * offset 114 RXDMA_REG_READ32( npi_handle_t handle, uint32_t offset, int channel) argument [all...] |
H A D | npi_rx_rd64.h | 51 * #define NXGE_REG_RD64(handle, offset, val_p) { \ 52 * *(val_p) = NXGE_NPI_PIO_READ64(handle, offset); \ 53 * npi_rtrace_update(handle, B_FALSE, &npi_rtracebuf, (uint32_t)offset, \ 57 * #define NXGE_REG_RD64(handle, offset, val_p) {\ 58 * *(val_p) = NXGE_NPI_PIO_READ64(handle, offset);\ 59 * rt_show_reg(0xbadbad, B_FALSE, (uint32_t)offset, (uint64_t)(*(val_p)));\ 62 * #define NXGE_REG_RD64(handle, offset, val_p) {\ 66 * *(val_p) = NXGE_NPI_PIO_READ64(handle, offset);\ 74 * n, offset, *val_p);\ 78 * cmn_err(CE_WARN, "(FATAL)NXGE_REG_RD64 on offset 222 RXDMA_REG_READ64( npi_handle_t handle, uint64_t offset, int channel, uint64_t *value) argument [all...] |
H A D | npi_rx_wr64.h | 51 * #define NXGE_REG_WR64(handle, offset, val) { \ 52 * NXGE_NPI_PIO_WRITE64(handle, (offset), (val)); \ 53 * npi_rtrace_update(handle, B_TRUE, &npi_rtracebuf, (uint32_t)offset, \ 57 * #define NXGE_REG_WR64(handle, offset, val) {\ 58 * NXGE_NPI_PIO_WRITE64(handle, offset, (val));\ 59 * rt_show_reg(0xbadbad, B_TRUE, (uint32_t)offset, (uint64_t)(val));\ 62 * #define NXGE_REG_WR64(handle, offset, val) {\ 63 * NXGE_NPI_PIO_WRITE64(handle, (offset), (val));\ 70 * #define NXGE_NPI_PIO_WRITE64(npi_handle, offset, data) \ 72 * (uint64_t *)(NPI_REGP(npi_handle) + (uint32_t)offset), dat 200 RXDMA_REG_WRITE64( npi_handle_t handle, uint64_t offset, int channel, uint64_t value) argument [all...] |
H A D | npi_tx_rd64.h | 47 * offset The offset into the DMA CSR (the register). 72 * offset += ((channel << 1) << DMA_CSR_SLL); 79 * offset = 0x640028 80 * offset &= 0xff = 0x28 81 * offset += ((3 << 1) << 9) 84 * offset += 0xc00 = 0xc28 93 * channel number by 512 bytes, and get the correct offset to 96 * is offset 512 bytes from the previous channel (count 16 step 512). 98 * offset 122 TXDMA_REG_READ64( npi_handle_t handle, uint64_t offset, int channel, uint64_t *value) argument [all...] |
H A D | npi_tx_wr64.h | 47 * offset The offset into the DMA CSR (the register). 72 * offset += ((channel << 1) << DMA_CSR_SLL); 79 * offset = 0x640028 80 * offset &= 0xff = 0x28 81 * offset += ((3 << 1) << 9) 84 * offset += 0xc00 = 0xc28 93 * channel number by 512 bytes, and get the correct offset to 96 * is offset 512 bytes from the previous channel (count 16 step 512). 98 * offset 122 TXDMA_REG_WRITE64( npi_handle_t handle, uint64_t offset, int channel, uint64_t value) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/serengeti/sgsbbc/ |
H A D | sgsbbc.c | 55 uint_t offset = 0; /* offset into soft state structure */ local 73 offset = (int)(uintptr_t)&softp.dip - (int)(uintptr_t)&softp; 74 mdb_printf("%p: dip: %31ll#r\n", addr + offset, softp.dip); 76 offset = (int)(uintptr_t)&softp.sram - (int)(uintptr_t)&softp; 77 mdb_printf("%p: sram: %30ll#r\n", addr + offset, softp.sram); 79 offset = (int)(uintptr_t)&softp.sbbc_regs - (int)(uintptr_t)&softp; 80 mdb_printf("%p: sbbc_regs: %25ll#r\n", addr + offset, softp.sbbc_regs); 82 offset = (int)(uintptr_t)&softp.port_int_regs - (int)(uintptr_t)&softp; 83 mdb_printf("%p: port_int_regs: %21ll#r\n", addr + offset, [all...] |
/illumos-gate/usr/src/cmd/auditstat/ |
H A D | auditstat.c | 124 int offset[12]; /* used to line the header up correctly */ local 129 s->as_generated, &(offset[0]), 130 s->as_nonattrib, &(offset[1]), 131 s->as_kernel, &(offset[2]), 132 s->as_audit, &(offset[3]), 133 s->as_auditctl, &(offset[4]), 134 s->as_enqueue, &(offset[5]), 135 s->as_written, &(offset[6]), 136 s->as_wblocked, &(offset[7]), 137 s->as_rblocked, &(offset[ [all...] |
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | strfind.c | 35 * If `s2' is a substring of `s1' return the offset of the first 45 ptrdiff_t offset; local 53 offset = s1 - as1 - 1; 58 return ((int)offset); 59 s1 = offset + as1 + 1;
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_local.h | 33 char *readcfline(cfp_t *cfp, char *buf, int table_index, int offset); 35 int replacecfline(cfp_t *cfp, char *line, int table_index, int offset); 36 int remcfline(cfp_t *cfp, int table_index, int offset);
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_seek.c | 26 * Seek to a page/byte offset in the file. 38 off_t offset; local 45 offset = (off_t)pgsize * pageno + relative; 47 offset = -offset; 49 ret = lseek(fd, offset, whence);
|
/illumos-gate/usr/src/tools/stabs/ |
H A D | squander.c | 47 unsigned long offset; local 54 offset = 0; 56 if (offset != (mlp->offset / 8)) { 58 (mlp->offset / 8) - offset, 61 offset, mlp->offset / 8); 64 offset = (mlp->offset / [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/compression/ |
H A D | compress_003_pos.ksh | 61 typeset -i offset=0 78 (( offset = $RANDOM )) 79 if (( offset > blksize )); then 80 (( offset = offset % blksize )) 82 if (( (offset % 2) == 0 )); then 83 #keep offset as non-power-of-2 84 (( offset = offset + 1 )) 86 (( fsize = offset )) [all...] |
/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xge-os-pal.h | 54 volatile int offset; /* offset within the tracebuf */ member in struct:xge_os_tracebuf_t 69 int offset = tb->offset; \ 71 int leftsize = tb->size - offset; \ 73 xge_os_memzero(tb->data + offset, leftsize); \ 74 offset = 0; \ 77 xge_os_memcpy(tb->data + offset, tb->msg, msgsize-1); \ 78 *(tb->data + offset + msgsize-1) = '\n'; \ 79 *(tb->data + offset [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | inet6_opt.c | 71 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, argument 94 remainder = (offset + 2 + len) % align; 101 endlen = offset + padbytes + 2 + len; 110 p = (uint8_t *)extbuf + offset; 143 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset) argument 158 padbytes = 8 - (offset % 8); 162 if ((offset + padbytes > extlen) || !extbuf) { 166 return (offset + padbytes); 170 p = (uint8_t *)extbuf + offset; 189 return (offset 197 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) argument 212 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, uint8_t *typep, socklen_t *lenp, void **databufp) argument 273 inet6_opt_find(void *extbuf, socklen_t extlen, int offset, uint8_t type, socklen_t *lenp, void **databufp) argument 296 inet6_opt_get_val(void *databuf, int offset, void *val, socklen_t vallen) argument 298 memcpy(val, (uint8_t *)databuf + offset, vallen); local [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_reloc_stream.h | 39 int _dwarf_pro_reloc_name_stream64(Dwarf_P_Debug dbg, int base_sec_index, Dwarf_Unsigned offset, /* r_offset 46 int _dwarf_pro_reloc_name_stream32(Dwarf_P_Debug dbg, int base_sec_index, Dwarf_Unsigned offset, /* r_offset 53 int _dwarf_pro_reloc_length_stream(Dwarf_P_Debug dbg, int base_sec_index, Dwarf_Unsigned offset, /* r_offset
|
H A D | pro_reloc_symbolic.h | 37 int _dwarf_pro_reloc_name_symbolic(Dwarf_P_Debug dbg, int base_sec_index, Dwarf_Unsigned offset, /* r_offset 45 _dwarf_pro_reloc_length_symbolic(Dwarf_P_Debug dbg, int base_sec_index, Dwarf_Unsigned offset, /* r_offset
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei_lv.c | 842 int offset; local 877 offset = 0; 878 FCOE_V2B_1(ct->ct_rev, FPLD + offset); 880 offset = 1; 881 FCOE_V2B_3(ct->ct_inid, FPLD + offset); 883 offset = 4; 884 FCOE_V2B_1(ct->ct_fcstype, FPLD + offset); 886 offset = 5; 887 FCOE_V2B_1(ct->ct_fcssubtype, FPLD + offset); 889 offset 1043 int offset = 0; local 1345 int offset; local 1431 int offset = 0; local 1502 int offset; local 1529 int offset; local 1586 int offset; local 1602 int offset; local 1615 int offset; local 1641 int offset; local 1668 int offset; local 1701 int offset; local [all...] |
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | modes.c | 38 * and by setting current_offset to an offset within the current iovec or mp. 43 offset_t offset; local 54 offset = out->cd_offset; 56 offset >= uiop->uio_iov[vec_idx].iov_len; 57 offset -= uiop->uio_iov[vec_idx++].iov_len) 60 *current_offset = offset; 68 offset = out->cd_offset; 69 for (mp = out->cd_mp; mp != NULL && offset >= MBLKL(mp); 70 offset -= MBLKL(mp), mp = mp->b_cont) 73 *current_offset = offset; 91 offset_t offset; local 112 offset_t offset; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | setenv.c | 53 static char *findenv(const char *name, int *offset); 64 int l_value, offset; local 69 if ((c = findenv(name, &offset))) { /*%< find if already exists */ 96 offset = cnt; 99 if (!(environ[offset] = /*%< name + `=' + value */ 102 for (c = environ[offset]; (*c = *name++) && *c != '='; ++c); 114 int offset; local 116 while (findenv(name, &offset)) /*%< if set multiple times */ 117 for (p = &environ[offset];; ++p) 125 * Sets offset t 132 findenv(const char *name, int *offset) argument [all...] |
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | instance.c | 40 alloc_instance_data(fcode_env_t *env, int init, int n, int *offset) argument 44 *offset = ptr = MYSELF->device->data_size[init]; 57 token_t offset; local 61 offset = *ptr; 62 if (offset < 0) { 63 offset = -offset; 68 return (&MYSELF->data[which][offset]);
|
/illumos-gate/usr/src/lib/libaio/common/ |
H A D | llib-laio | 34 int aioread(int fd, caddr_t buf, int bufsz, off_t offset, int whence, 36 int aiowrite(int fd, caddr_t buf, int bufsz, off_t offset, int whence, 39 int aioread64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence, 41 int aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | revlib.c | 33 * copy the lines starting at offset <start> from in <in> to <out> 41 off_t offset; local 54 if((offset = sfseek(in,(off_t)0,SEEK_END)) <= start) 56 offset = rounddown(offset,BUFSIZE); 60 if(offset < start) 62 n -= (start-offset); 63 offset = start; 65 sfseek(in, offset, SEEK_SET); 101 if(offset < [all...] |