Searched refs:offset (Results 1 - 25 of 1713) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dsext-sext.c1 int foo(signed char offset) argument
3 return (int)(short) offset;
H A Dzext-sext.c1 int foo(unsigned char offset) argument
3 return (int)(short) offset;
H A Dzext-zext.c1 int foo(unsigned char offset) argument
3 return (int)(unsigned short) offset;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/et/
H A Derror_message.c34 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 Dvuid_store.h65 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 Dlog_compare.c38 if (lsn0->offset != lsn1->offset)
39 return (lsn0->offset < lsn1->offset ? -1 : 1);
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_rx_rd32.h47 * 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 Dnpi_rx_rd64.h51 * #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 Dnpi_rx_wr64.h51 * #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 Dnpi_tx_rd64.h47 * 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 Dnpi_tx_wr64.h47 * 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 Dsgsbbc.c55 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 Dauditstat.c127 int offset[12]; /* used to line the header up correctly */ local
132 s->as_generated, &(offset[0]),
133 s->as_nonattrib, &(offset[1]),
134 s->as_kernel, &(offset[2]),
135 s->as_audit, &(offset[3]),
136 s->as_auditctl, &(offset[4]),
137 s->as_enqueue, &(offset[5]),
138 s->as_written, &(offset[6]),
139 s->as_wblocked, &(offset[7]),
140 s->as_rblocked, &(offset[
[all...]
/illumos-gate/usr/src/lib/libgen/common/
H A Dstrfind.c35 * 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/tools/smatch/src/
H A Dbitmap.h12 unsigned long offset = nr / BITS_IN_LONG; local
14 return (bitmap[offset] >> bit) & 1;
19 unsigned long offset = nr / BITS_IN_LONG; local
21 bitmap[offset] |= 1UL << bit;
26 unsigned long offset = nr / BITS_IN_LONG; local
28 bitmap[offset] &= ~(1UL << bit);
33 unsigned long offset = nr / BITS_IN_LONG; local
35 unsigned long old = bitmap[offset];
37 bitmap[offset] = old | mask;
43 unsigned long offset local
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_implied10.c6 int offset; variable
14 if (({int test2 = !!(offset >= 10u || x[offset] == 1); frob(); frob(); frob(); test2;}))
15 __smatch_value("offset");
17 __smatch_value("offset");
27 sm_implied10.c:15 func() offset = s32min-s32max
28 sm_implied10.c:17 func() offset = 0-9
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_seek.c26 * 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 Dsquander.c47 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 Dcompress_003_pos.ksh61 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 Dxge-os-pal.h54 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 Dinet6_opt.c71 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/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_ops.h105 #define STORE_RT_REG(hwfn, offset, val) \
106 ecore_init_store_rt_reg(hwfn, offset, val)
108 #define OVERWRITE_RT_REG(hwfn, offset, val) \
109 ecore_init_store_rt_reg(hwfn, offset, val)
126 #define STORE_RT_REG_AGG(hwfn, offset, val) \
127 ecore_init_store_rt_agg(hwfn, offset, (u32*)&val, sizeof(val))
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_reloc_stream.h39 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 Dpro_reloc_symbolic.h37 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 Dfcoei_lv.c842 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...]

Completed in 220 milliseconds

1234567891011>>