Searched refs:offset (Results 26 - 50 of 1646) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbsub.c43 * User claims offset is ok.
53 * Get adb.s dot to the right offset.
56 offset(off_t off) function
197 * Get the value at offset based on base.
200 indirect(off_t offset, size_t size, char *base, char *member) argument
203 if (offset == 0) {
206 printf("*(%s+0t%ld)", base, offset);
209 if (offset == 2) {
212 printf("(*(%s+0t%ld)&0xffff)", base, offset - 2);
215 if (offset
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/posix/
H A Dsetenv.c68 int l_value, offset;
73 if ((c = __findenv(name, &offset))) { /* find if already exists */
100 offset = cnt;
103 if (!(environ[offset] = /* name + `=' + value */
107 for (c = environ[offset]; (*c = *name++) && (*c != '='); ++c);
126 int offset;
128 while (__findenv(name, &offset)) /* if set multiple times */
129 for (p = &environ[offset];; ++p)
147 int offset;
149 return (__findenv(name, &offset));
[all...]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_common_impl.h187 #define NXGE_PIO_READ8(handle, devaddr, offset) \
188 (ddi_get8(handle, (uint8_t *)((caddr_t)devaddr + offset)))
190 #define NXGE_PIO_READ16(handle, devaddr, offset) \
191 (ddi_get16(handle, (uint16_t *)((caddr_t)devaddr + offset)))
193 #define NXGE_PIO_READ32(handle, devaddr, offset) \
194 (ddi_get32(handle, (uint32_t *)((caddr_t)devaddr + offset)))
196 #define NXGE_PIO_READ64(handle, devaddr, offset) \
197 (ddi_get64(handle, (uint64_t *)((caddr_t)devaddr + offset)))
199 #define NXGE_PIO_WRITE8(handle, devaddr, offset, data) \
200 (ddi_put8(handle, (uint8_t *)((caddr_t)devaddr + offset), dat
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_eth.c217 int offset; local
233 * offset is based on the exchange not the sequence.
237 offset = FCOE_B2V_4(frm->frm_payload);
261 bcopy(offset + (uint8_t *)xch->xch_fpkt->pkt_data,
272 FFM_PARAM(offset, nfrm);
281 * Update offset and left_size
283 offset += data_size;
303 bcopy(offset + (uint8_t *)xch->xch_fpkt->pkt_data,
322 FFM_PARAM(offset, nfrm);
356 uint32_t offset; local
852 int offset; local
1082 int offset; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dfseek.c42 fseek(iop, offset, ptrname)
44 long offset;
54 p = offset;
60 resync = offset&01;
62 offset -= (long)c;
78 p = lseek(fileno(iop), offset-resync, ptrname);
90 return(lseek(fileno(iop), offset, ptrname) == -1 || p == EOF ?
/illumos-gate/usr/src/boot/lib/libstand/
H A Dlseek.c69 lseek(int fd, off_t offset, int where) argument
81 * On RAW devices, update internal offset.
85 f->f_offset = offset;
88 f->f_offset += offset;
100 * contains the desired offset, simply adjust the buffer offset and
112 target = offset;
115 target = bufpos + offset;
129 * If this is a relative seek, we need to correct the offset for
134 offset
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dlseek.c36 lseek(int fd, off_t offset, int whence) argument
45 off = getmodsize(offset, sizeof (struct compat_utmp),
52 return (_syscall(SYS_lseek, fd, offset, whence));
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_rw.c94 size_t offset; local
99 offset = 0; offset < len; taddr += nr, offset += nr) {
101 __db_jump.j_read(fd, taddr, len - offset) :
102 read(fd, taddr, len - offset)) < 0)
124 size_t offset; local
129 offset = 0; offset < len; taddr += nw, offset
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dinfo.h16 unsigned long offset; member in struct:rdsv3_info_iterator
37 (void) ddi_copyout(data, iter->addr + iter->offset, bytes, 0); \
38 iter->offset += bytes
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_common_impl.h142 #define HXGE_HPI_PIO_READ32(hpi_handle, offset) \
144 (uint32_t *)(HPI_REGP(hpi_handle) + offset)))
147 #define HXGE_HPI_PIO_READ64(hpi_handle, offset) \
149 (uint64_t *)(HPI_REGP(hpi_handle) + (uint32_t)offset)))
151 #define HXGE_HPI_PIO_READ64(hpi_handle, offset) \
153 (uint64_t *)(HPI_REGP(hpi_handle) + offset)))
158 #define HXGE_HPI_PIO_WRITE32(hpi_handle, offset, data) { \
162 (uint32_t)offset), data); \
165 #define HXGE_HPI_PIO_WRITE64(hpi_handle, offset, data) { \
169 (uint32_t)offset), dat
[all...]
H A Dhpi_pfc.c173 uint64_t offset; local
175 offset = PFC_CONFIG;
176 REG_PIO_WRITE64(handle, offset, config.value);
184 uint64_t offset; local
186 offset = PFC_CONFIG;
187 REG_PIO_READ64(handle, offset, &configp->value);
326 int offset; local
333 offset = PFC_VLAN_TABLE + i * step;
334 REG_PIO_WRITE64(handle, offset, table_entry.value);
343 uint64_t offset; local
366 uint64_t offset; local
414 uint64_t offset; local
425 uint64_t offset; local
450 uint64_t offset, moffset; local
471 uint64_t offset; local
486 uint64_t offset; local
502 uint64_t offset; local
528 uint64_t offset; local
556 uint64_t offset; local
580 uint64_t offset; local
655 uint64_t offset; local
666 uint64_t offset; local
677 uint64_t offset; local
698 uint64_t offset; local
718 uint64_t offset; local
738 uint64_t offset; local
758 uint64_t offset; local
778 uint64_t offset; local
798 uint64_t offset; local
813 uint64_t offset; local
824 uint64_t offset; local
837 uint64_t offset; local
865 uint64_t offset; local
878 uint64_t offset; local
903 uint64_t offset; local
914 uint64_t offset; local
[all...]
/illumos-gate/usr/src/lib/libc/amd64/sys/
H A Dgetcontext.s45 #define GETCONTEXT_IMPL(offset) \
52 addq $offset, %rsp; \
60 movq offset+0(%rsp), %rax; \
64 leaq offset+8(%rsp), %rax; \
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_string.c44 Dwarf_Off offset,
55 if (offset == dbg->de_debug_str.dss_size) {
60 if (offset > dbg->de_debug_str.dss_size) {
75 *string = (char *) dbg->de_debug_str.dss_data + offset;
43 dwarf_get_str(Dwarf_Debug dbg, Dwarf_Off offset, char **string, Dwarf_Signed * returned_str_len, Dwarf_Error * error) argument
H A Dpro_die.h59 Dwarf_Unsigned offset, Dwarf_Error * error);
67 Dwarf_Unsigned offset,
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dsbbcio.h41 /* offset 0x000000 to 0x07FFFF - read write sbbc internal registers */
43 uint32_t offset; /* provided by SSC application SW */ member in struct:ssc_sbbc_regio
/illumos-gate/usr/src/uts/sun4u/io/pciex/
H A Dpci_cfgacc_4u.c40 #define RC_BDF_TO_CFGADDR(bdf, offset) (((bdf) << RC_PA_BDF_SHIFT) + (offset))
47 if (IS_P2ALIGNED(req->offset, sz) &&
48 (req->offset + sz - 1 < PCIE_CFG_SPACE_SIZE) &&
52 cmn_err(CE_WARN, "illegal PCI request: offset = %x, size = %d",
53 req->offset, sz);
61 pci_cfgacc_get(dev_info_t *dip, uint16_t bdf, uint16_t offset, uint8_t size) argument
71 base_addr += RC_BDF_TO_CFGADDR(bdf, offset);
94 pci_cfgacc_set(dev_info_t *dip, uint16_t bdf, uint16_t offset, uint8_t size, argument
104 base_addr += RC_BDF_TO_CFGADDR(bdf, offset);
[all...]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributePattern.java137 int offset = 0, len = cstring.length();
152 // will return offset, but on the next iteration, it will
156 if ((offset = cstring.indexOf(p.pattern, offset)) == -1) {
164 offset += p.pattern.length();
168 if (offset >= len) {
202 if (!cstring.regionMatches(offset,
212 // Bump up offset by the pattern length, and exit if
215 offset += p.pattern.length();
217 if (offset >
[all...]
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioRawPipe.h42 off_t offset; /* offset to start read/write */ member in class:AudioRawPipe
50 const off_t offset = 0
59 AudioError SetOffset(off_t val); // set offset
60 off_t GetOffset() const; // set offset
/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_pcicfg.c80 mc_pcicfg_get32(mc_pcicfg_hdl_t cookie, off_t offset) argument
84 return (pci_config_get32(hdlp->cfh_hdl, offset));
88 mc_pcicfg_put32(mc_pcicfg_hdl_t cookie, off_t offset, uint32_t val) argument
92 pci_config_put32(hdlp->cfh_hdl, offset, val);
96 mc_pcicfg_get32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset) argument
99 func, offset));
103 mc_pcicfg_put32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset, argument
107 func, offset, val);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dposix_fallocate.c57 posix_fallocate(int fd, off_t offset, off_t len) argument
62 if (offset < 0 || len <= 0)
66 lck.l_start = offset;
83 posix_fallocate64(int fd, off64_t offset, off64_t len) argument
88 if (offset < 0 || len <= 0)
92 lck.l_start = offset;
/illumos-gate/usr/src/lib/libast/common/misc/
H A Doptjoin.c32 * possible starting at (opt_info.index,opt_info.offset) using
73 last_offset = opt_info.offset;
98 if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset))
102 err_offset = opt_info.offset;
106 opt_info.offset = opt_info.state->poffset;
108 if (!rep || opt_info.index != last_index || opt_info.offset != last_offset)
118 opt_info.offset = 0;
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/
H A Daudiocmi.h288 uint32_t offset; /* in bytes */ member in struct:cmpci_port
324 #define GET8(dev, offset) \
325 ddi_get8(dev->acch, (uint8_t *)(dev->regs + (offset)))
326 #define GET16(dev, offset) \
327 ddi_get16(dev->acch, (uint16_t *)(void *)(dev->regs + (offset)))
328 #define GET32(dev, offset) \
329 ddi_get32(dev->acch, (uint32_t *)(void *)(dev->regs + (offset)))
330 #define PUT8(dev, offset, v) \
331 ddi_put8(dev->acch, (uint8_t *)(dev->regs + (offset)), v)
332 #define PUT16(dev, offset,
[all...]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_debug.c51 off_t offset; local
149 offset = cap_ptr;
153 pci_config_get8(handle, offset));
155 next_ptr = pci_config_get8(handle, offset + 1);
161 pci_config_get16(handle, offset + PCI_PMCAP));
164 pci_config_get16(handle, offset + PCI_PMCSR));
167 pci_config_get8(handle, offset + PCI_PMCSR_BSE));
170 pci_config_get8(handle, offset + PCI_PMDATA));
173 offset = next_ptr;
177 pci_config_get8(handle, offset));
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_sd.c37 /* Size of offset members in mslm_security_descriptor structure */
267 int offset, len, i; local
283 offset = sizeof (mslm_security_descriptor_t) - SRVSVC_SD_OFFSET_SZ;
288 msd->offset_owner = offset;
294 bcopy(sd->sd_owner, &sdbuf[offset], len);
295 offset += len;
299 msd->offset_group = offset;
305 bcopy(sd->sd_group, &sdbuf[offset], len);
306 offset += len;
310 msd->offset_sacl = offset;
396 srvsvc_acl_set_absolute(uint8_t *sdbuf, int *offset) argument
428 int offset, i, sid_size; local
[all...]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c37 enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
39 enum i40e_status_code i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset,
41 enum i40e_status_code i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset,
43 enum i40e_status_code i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset,
46 u32 offset, u16 words, void *data,
213 * @offset: offset of the Shadow RAM word to read (0x000000 - 0x001FFF)
218 enum i40e_status_code i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, argument
223 return i40e_read_nvm_word_aq(hw, offset, data);
225 return i40e_read_nvm_word_srctl(hw, offset, dat
236 i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, u16 *data) argument
286 i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, u16 *data) argument
310 i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
331 i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
364 i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
423 i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument
475 i40e_write_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument
521 i40e_write_nvm_word(struct i40e_hw *hw, u32 offset, void *data) argument
545 i40e_write_nvm_buffer(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data) argument
[all...]

Completed in 137 milliseconds

1234567891011>>