Searched refs:offset (Results 276 - 300 of 1646) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libpp/common/
H A Dppargs.c395 for (n = PP_deps; argv[opt_info.index]; opt_info.offset++)
397 switch (argv[opt_info.index][opt_info.offset])
471 if (opt_info.offset == 2 && (pp.arg_style & STYLE_gnu))
497 opt_info.offset = 0;
507 opt_info.offset = 0;
509 opt_info.offset = 0;
539 s += opt_info.offset - 1;
581 opt_info.offset = 0;
584 while (argv[opt_info.index][opt_info.offset]) opt_info.offset
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c125 void jkfprintf(FILE *tp, char *name, int mbox, int offset);
127 void notify(struct utmpx *utp, int offset);
253 int offset; local
270 offset = atoi(cp+1);
274 notify(utp, offset);
280 notify(utp, offset)
399 jkfprintf(tp, name, mbox, offset);
405 jkfprintf(tp, name, mbox, offset)
416 name, offset);
422 fseek(fi, offset, L_SE
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioBuffer.cc188 // Return the buffer address at a given time offset
202 // If no offset, it's ok if the header hasn't been set yet
314 off_t offset; local
329 // If the starting offset is at or beyond EOF, return eof flag
337 offset = GetHeader().Time_to_Bytes(pos);
338 resid = GetHeader().Time_to_Bytes(GetLength()) - offset;
351 memcpy((char *)buf, (char *)((off_t)GetAddress() + offset),
359 pos = GetHeader().Bytes_to_Time(offset + cnt);
379 off_t offset; local
394 // If the starting offset beyon
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_quota.c38 * - next offset (uint32_t)
126 * next_offset (4 bytes) - offset of next entry
136 uint32_t offset, mb_offset, sid_offset, bytes_left; local
144 offset = 0;
146 mb_offset = offset + mbc->chain_offset;
160 sid_offset = offset + (2 * sizeof (uint32_t));
173 offset += next_offset;
216 uint32_t offset, mb_offset, sid_offset, bytes_left; local
225 offset = 0;
227 mb_offset = offset
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_attn.c205 u32_t reg_offset; /* the register offset */
212 u32_t offset = 0; local
328 { SEM_FAST_REG_SEM_FAST_INT_MASK, { 1, // This offset is actually 4 different registers (per SEM)
440 offset = init_mask_values_arr[mask_idx].reg_offset;
441 REG_WR(pdev, offset, val );
528 u32_t offset = 0; local
531 offset = GENERAL_ATTEN_OFFSET(LATCHED_ATTN_RBCR);
532 if ( offset & sig_word_aft_inv)
539 offset = GENERAL_ATTEN_OFFSET(LATCHED_ATTN_RBCT);
540 if ( offset
1052 u32_t offset = 0; local
1415 const u32_t offset = OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].config); local
1565 u32_t offset = 0; // for debugging convenient local
1680 u32_t offset = 0; // for debugging convenient local
[all...]
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dcall_frame_inst.c82 /* data factored offset */
89 {ULEB128_SREG, ULEB128}, /* DW_CFA_def_cfa - register, offset */
91 {ULEB128, NO_OPR}, /* DW_CFA_def_cfa_offset - offset */
95 /* data factored offset */
97 /* data factored offset */
99 /* data fctored offset */
112 /* data factored offset */
148 case register_rule: /* CFA = offset + source_reg */
150 rs[CF_ADDR].offset;
152 case constant_rule: /* CFA = offset */
[all...]
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dsmfi.c47 size_t len, l1, l2, offset; local
65 offset = 0;
70 offset += MILTER_LEN_BYTES;
72 (void) memcpy(buf + offset, headerf, l1);
73 (void) memcpy(buf + offset + l1, headerv, l2);
181 size_t len, l0, l1, offset;
204 offset = l0;
210 SM_ASSERT(offset < len);
211 SM_ASSERT(offset + l1 <= len);
212 (void) memcpy(buf + offset, ar
246 size_t len, l0, l1, offset; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c89 off_t offset; member in struct:fstyp_pcfs
139 int fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle);
146 fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle) argument
154 h->offset = offset;
218 (void) lseek(h->fd, h->offset, SEEK_SET);
356 off_t offset; local
366 offset = h->offset + FirstRootDirSecNum * secsize;
370 (void) lseek(h->fd, offset, SEEK_SE
396 off_t offset; local
441 off_t offset; local
[all...]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_tools.c451 * px_p defines which leaf, space defines which space in that leaf, offset
452 * defines the offset within the specified space.
457 pxtool_get_phys_addr(px_t *px_p, int space, uint64_t offset) argument
473 (offset & (PCI_REG_BDFR_M ^ PCI_REG_REG_M));
474 dev_regspec.pci_phys_low = offset & PCI_REG_REG_M;
477 dev_regspec.pci_phys_mid = offset >> 32;
478 dev_regspec.pci_phys_low = offset & 0xffffffff;
488 "space:0x%d, offset:0x%" PRIx64 "\n", space, offset);
520 * Translate BAR number into offset o
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_mem.c683 * _nsc_global_zero (ulong_t offset, size_t size)
687 * Zeroes an area of global memory at the specified offset.
694 _nsc_global_zero(ulong_t offset, size_t size) argument
703 (void *)(_nsc_rm_nvmem_base + offset +
712 (void *)(_nsc_rm_nvmem_base + offset + i * ZSIZE),
721 bzero(_nsc_rm_base + offset, size);
741 ulong_t offset = 0; local
768 offset = _nsc_rmmap_alloc(_nsc_global_map,
771 if (offset)
790 _nsc_mark_pages(_nsc_rm_base + offset, siz
889 size_t offset; local
[all...]
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_dir.c87 off_t offset; /* offset of area with free space */ member in struct:slot
121 u_offset_t offset, adhoc_offset, dirsize, end; local
195 offset = dip->i_diroff;
198 if (offset > dirsize) {
199 offset = 0;
201 adhoc_offset = offset;
202 adhoc_search = (offset == 0) ? 1 : 2;
207 while (offset < end) {
209 offset,
881 uint32_t dirsize, offset; local
1631 uint32_t entrysize, count, offset, tbno, old_size, off; local
[all...]
/illumos-gate/usr/src/common/devid/
H A Ddevid_scsi.c640 size_t offset = 0; local
675 * Set the offset to the beginning byte of the first identification
678 offset = SCMD_INQUIRY_PAGE83_HDR_SIZE;
687 if ((descriptor_bytes_left + offset) > inq83_len) {
692 /* Zero out our offset array */
705 * offset is within the bounds of the buffer, and the identifier length
710 (offset + SCMD_INQUIRY_PAGE83_IDENT_DESC_HDR_SIZE <= inq83_len) &&
711 (offset + SCMD_INQUIRY_PAGE83_IDENT_DESC_HDR_SIZE +
712 (size_t)inq83[offset + 3] <= inq83_len)) {
723 switch ((inq83[offset
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c295 seghdr->offset = seg_layout->offset;
339 if (offset_tbl[cntx].offset >
340 offset_tbl[cnty].offset) {
355 * back to the new segment offset.
373 segment->length, segment->offset);
378 segment->offset = newoffset;
380 ret = pwrite(contfd, buffer, segment->length, segment->offset);
401 if (offset_tbl[cnt].offset
402 - (offset_tbl[cnt -1 ].offset
1219 int offset; local
1732 get_packet(int device_fd, void *buffer, int size, int offset) argument
1786 int offset = 0; local
1839 get_packets(hash_obj_t *seg_hash, int device_fd, int offset, int length) argument
1960 uint16_t offset; local
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcryptoadm.c246 ulong_t offset; local
283 offset = offsetof(crypto_get_dev_list_t, dl_devs);
284 if (count > 0 && copyout(entries, arg + offset, copyout_size) != 0) {
364 ulong_t offset; local
414 offset = offsetof(crypto_get_dev_info_t, di_list);
415 if (copyout(entries, arg + offset, copyout_size) != 0) {
435 ulong_t offset; local
482 offset = offsetof(crypto_get_soft_info_t, si_list);
483 if (copyout(entries, arg + offset, copyout_size) != 0) {
501 ulong_t offset; local
578 ulong_t offset; local
658 ulong_t offset; local
[all...]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_api.c547 * @offset: the 32-bit offset in which to write the value to.
548 * @value: the 32-bit value to write at location offset.
550 * This writes a 32-bit value to a 32-bit offset in the VLAN filter
553 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) argument
556 hw->mac.ops.write_vfta(hw, offset, value);
902 * @offset: location in the buffer to write to
905 * This function writes the buffer content at the offset given on the host if.
910 u16 offset, u8 *sum)
912 return e1000_mng_host_if_write_generic(hw, buffer, length, offset, su
909 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument
982 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument
999 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data) argument
1057 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument
1072 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data) argument
1283 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
1301 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
1319 e1000_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, u32 offset, u8 data) argument
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_pr.c202 int c, bufsiz, offset; local
214 offset = 0;
216 if ((p = fgets(bufp + offset, bufsiz - offset, pvt->fp)) == NULL) {
233 offset = strlen(dbuf);
245 p -= offset;
246 offset = 0;
/illumos-gate/usr/src/psm/stand/bootblks/ufs/i386/
H A Dmboot.S41 * the fdisk partition table (at offset 0x1BE-0x1FE)
186 mov bp, offset NoActiveErrMsg
207 mov bp, offset lbastring
244 mov bp, offset chsstring
259 mov bp, offset GeomErrMsg
311 mov bp, offset ReadErrMsg
321 mov bp, offset SigErrMsg
330 mov bp, offset ReturnErrMsg
/illumos-gate/usr/src/cmd/logger/
H A Dlogger.c135 ptrdiff_t offset = 0; local
232 offset = 0;
243 offset = 0;
247 offset += len;
257 offset += len;
260 "Realloc endp-p=%d, len=%d, offset=%d, "
262 endp - p, len, offset, buflen);
268 p = buf + offset;
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dspoolss_svc.c842 smb_rpc_off(char *dst, char *src, uint32_t *offset, uint32_t *outoffset) argument
849 *offset -= bytes;
850 *outoffset = *offset;
852 (void) smb_mbstowcs(((smb_wchar_t *)(dst + *offset)), src, nwchars);
869 uint32_t offset; local
911 offset = param->needed;
918 smb_rpc_off(wname, server, &offset, &pinfo0->servername);
919 smb_rpc_off(wname, printer, &offset, &pinfo0->printername);
941 smb_rpc_off(wname, printer, &offset, &pinfo1->flags);
942 smb_rpc_off(wname, printer, &offset,
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Ddosfs.c48 static off_t dos_seek(struct open_file *fd, off_t offset, int whence);
116 /* Convert cluster number to offset within filesystem */
122 /* Convert cluster number to offset within FAT */
311 if (nb > (n = size - f->offset))
313 off = f->offset;
322 n = bytblk(f->fs, f->offset);
338 f->offset += n;
354 dos_seek(struct open_file *fd, off_t offset, int whence) argument
366 off = f->offset;
375 off += offset;
772 u_int x, offset, off, n, nbyte, lsec; local
825 ioread(DOS_FS *fs, u_int offset, void *buf, u_int nbyte) argument
860 ioget(struct open_file *fd, daddr_t lsec, size_t offset, void *buf, u_int size) argument
[all...]
/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/
H A Dsckmd.c506 static uint64_t *offset; local
511 /* Assume offset and len are initialized to NULL and 0 */
513 if ((offset == NULL) || (offset - len == msg_buf)) {
521 offset = NULL;
524 offset = msg_buf;
528 retval = (struct sadb_msg *)offset;
529 offset += retval->sadb_msg_len;
531 if (offset > msg_buf + len) {
537 offset
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmachrel.intel.c154 * JMP -n(%pc) # -n is pcrel offset to first plt entry
301 * Calculate virtual offset of reference point; equals offset
303 * offset plus section displacement for nonloadable sections.
445 uchar_t *offset, r1, r2; local
447 offset = (uchar_t *)((uintptr_t)arsp->rel_roffset +
472 * Adjust 'offset' to beginning of instruction
475 offset -= 3;
476 r1 = (offset[2] & SIB_MSK_IND) >> 3;
477 (void) memcpy(offset, tlsinstr_gd_i
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dmessage.c202 unsigned int offset, ext_type, ext_len; local
207 offset = *pos;
208 if (offset >= RDSV3_HEADER_EXT_SPACE)
215 ext_type = src[offset++];
220 if (offset + ext_len > RDSV3_HEADER_EXT_SPACE)
223 *pos = offset + ext_len;
226 (void) memcpy(buf, src + offset, *buflen);
267 uint32_t offset)
272 ext_hdr.h_rdma_offset = htonl(offset);
266 rdsv3_message_add_rdma_dest_extension(struct rdsv3_header *hdr, uint32_t r_key, uint32_t offset) argument
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_vpd.c276 unsigned int offset; local
281 EFX_VPD_ID, 0, &offset, &length);
310 unsigned int offset; local
321 evvp->evv_keyword, &offset, &length)) == 0) {
324 enp->en_arch.ef10.ena_svpd + offset, length);
332 evvp->evv_keyword, &offset, &length)) != 0)
336 (void) memcpy(evvp->evv_value, data + offset, length);
362 unsigned int offset; local
367 evvp->evv_keyword, &offset, &length)) == 0) {
/illumos-gate/usr/src/lib/libtnf/
H A Dabi.c435 unsigned offset; local
449 offset = 0;
474 /* Adjust offset to account for alignment, if needed */
475 offset = ALIGN(offset, align);
480 return (fetch_slot(tnf, (caddr_t)record + offset,
483 /* Bump offset by reference size */
484 offset += ref_size;
500 unsigned offset; local
527 offset
[all...]

Completed in 115 milliseconds

<<11121314151617181920>>