Home
last modified time | relevance | path

Searched refs:offset (Results 76 – 100 of 1848) sorted by relevance

12345678910>>...74

/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dutf_to_euc_main.c177 short int offset, offset2; in _icv_iconv() local
180 offset = 2; in _icv_iconv()
182 offset = 3; in _icv_iconv()
184 offset = 4; in _icv_iconv()
186 offset = 5; in _icv_iconv()
188 offset = 6; in _icv_iconv()
190 offset = 1; in _icv_iconv()
192 if ((ibtail - ib) < offset) in _icv_iconv()
199 if (!is_valid_utf8_string(ib, offset)) in _icv_iconv()
207 offset2 = (offset > 2) ? 2 : 1; in _icv_iconv()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_rxdma.c338 uint64_t offset; in npi_rxdma_cfg_logical_page_handle() local
495 uint64_t offset; in npi_rxdma_cfg_default_port_rdc() local
651 cfg2.bits.ldw.offset = rdc_desc_cfg->offset; in npi_rxdma_cfg_rdc_ring()
672 cfg2.bits.ldw.offset = rdc_desc_cfg->offset; in npi_rxdma_cfg_rdc_ring()
863 uint64_t offset; in npi_rxdma_red_discard_stat_get() local
907 uint64_t offset; in npi_rxdma_red_discard_oflow_clear() local
1246 uint64_t offset; in npi_rxdma_cfg_clock_div_set() local
1266 uint64_t offset; in npi_rxdma_cfg_red_rand_init() local
1283 uint64_t offset; in npi_rxdma_cfg_red_rand_disable() local
1299 uint64_t offset; in npi_rxdma_cfg_32bitmode_enable() local
[all …]
/illumos-gate/usr/src/lib/libfru/libfru/
H A DPayloadReader.cc231 int offset = 0; in readRecurse() local
243 if (offset == -1) in readRecurse()
258 offset = 0; in readRecurse()
298 &(cur[offset]), in readRecurse()
343 return (readRecurse(path, &(payload[offset]), payloadLen-offset, in readData()
450 int offset = 0; in updateRecurse() local
461 if (offset == -1) in updateRecurse()
465 offset = 0; in updateRecurse()
479 &(cur[offset]), calcLen, 0); in updateRecurse()
484 memcpy(&(cur[offset]), in updateRecurse()
[all …]
H A DAncestor.cc93 offsets[numInstances] = offset; in addInstance()
198 uint32_t offset = 0; in createTaggedAncestor() local
206 offset, rc, path); in createTaggedAncestor()
208 offset += tmp->payloadLen; in createTaggedAncestor()
224 uint32_t offset, in definitionContains() argument
230 offset += 4; in definitionContains()
234 ant->addInstance(tmp.peak(), offset); in definitionContains()
235 offset += (parent_def->payloadLen - 4) / in definitionContains()
240 ant->addInstance(path.peak(), offset); in definitionContains()
254 offset, ant, newPath); in definitionContains()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_pf.c90 int offset; member
400 if (offset == -1) in pf_compare_value()
407 if (offset % 2) in pf_compare_value()
409 if (!(offset % 2)) in pf_compare_value()
515 if (offset == -1) in pf_compare_value_mask_generic()
522 if (offset % 2) in pf_compare_value_mask_generic()
524 if (!offset % 2) in pf_compare_value_mask_generic()
813 if (offset == -1) in pf_compare_address()
821 offset += 4; in pf_compare_address()
827 offset += 2; in pf_compare_address()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/pciex/
H A Dpci_cfgacc_4v.c52 if (IS_P2ALIGNED(req->offset, sz) && in pci_cfgacc_valid()
53 (req->offset + sz - 1 < PCIE_CFG_SPACE_SIZE) && in pci_cfgacc_valid()
58 req->offset, sz); in pci_cfgacc_valid()
66 pci_cfgacc_get(dev_info_t *dip, uint16_t bdf, uint16_t offset, uint8_t size) in pci_cfgacc_get() argument
80 offset, size, (pci_cfg_data_t *)&data); in pci_cfgacc_get()
86 pci_cfgacc_set(dev_info_t *dip, uint16_t bdf, uint16_t offset, uint8_t size, in pci_cfgacc_set() argument
101 (void) hvio_config_put(devhdl, devaddr, offset, size, wdata); in pci_cfgacc_set()
114 pci_cfgacc_set(req->rcdip, req->bdf, req->offset, in pci_cfgacc_acc()
118 req->offset, req->size); in pci_cfgacc_acc()
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_nvm.c386 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igc_read_nvm_eerd()
434 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igc_write_nvm_spi()
506 u16 offset; in igc_read_pba_string_generic() local
557 for (offset = 0; offset < 10; offset++) { in igc_read_pba_string_generic()
558 if (pba_num[offset] < 0xA) in igc_read_pba_string_generic()
559 pba_num[offset] += '0'; in igc_read_pba_string_generic()
560 else if (pba_num[offset] < 0x10) in igc_read_pba_string_generic()
561 pba_num[offset] += 'A' - 0xA; in igc_read_pba_string_generic()
587 for (offset = 0; offset < length; offset++) { in igc_read_pba_string_generic()
593 pba_num[offset * 2] = (u8)(nvm_data >> 8); in igc_read_pba_string_generic()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_nvm.c453 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_spi()
513 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_microwire()
566 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_read_nvm_eerd()
614 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_write_nvm_spi()
697 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_write_nvm_microwire()
773 u16 offset; in e1000_read_pba_string_generic() local
830 for (offset = 0; offset < 10; offset++) { in e1000_read_pba_string_generic()
831 if (pba_num[offset] < 0xA) in e1000_read_pba_string_generic()
832 pba_num[offset] += '0'; in e1000_read_pba_string_generic()
860 for (offset = 0; offset < length; offset++) { in e1000_read_pba_string_generic()
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A DPscantext.c50 off_t offset; /* offset in text section */ in Pscantext() local
127 offset = (off_t)pdp->pr_vaddr; /* beginning of text */ in Pscantext()
128 endoff = offset + pdp->pr_size; in Pscantext()
133 offset < P->status.pr_stkbase + P->status.pr_stksize) || in Pscantext()
135 offset < P->status.pr_brkbase + P->status.pr_brksize)) in Pscantext()
138 (void) lseek(P->asfd, (off_t)offset, 0); in Pscantext()
153 while (sysaddr == 0 && syspri != 1 && offset < endoff) { in Pscantext()
163 offset + BLKSIZE < endoff) in Pscantext()
170 sysaddr = offset; in Pscantext()
173 offset += sizeof (instr_t); in Pscantext()
/illumos-gate/usr/src/cmd/bhyve/
H A Dvga.c220 int offset; in vga_get_pixel() local
253 int offset; in vga_render_graphics() local
316 int offset; in vga_render_text() local
349 int offset; in vga_mem_rd_handler() local
351 offset = addr; in vga_mem_rd_handler()
357 offset -=0xa0000; in vga_mem_rd_handler()
364 offset -=0xa0000; in vga_mem_rd_handler()
399 offset &= ~1; in vga_mem_rd_handler()
417 int offset; in vga_mem_wr_handler() local
419 offset = addr; in vga_mem_wr_handler()
[all …]
/illumos-gate/usr/src/common/atomic/sparc/
H A Datomic.S93 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
95 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
96 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
168 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
169 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
332 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
333 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
367 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
368 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
454 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
[all …]
/illumos-gate/usr/src/common/atomic/sparcv9/
H A Datomic.S216 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
217 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
289 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
290 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
457 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
458 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
492 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
493 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
583 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
584 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c420 (void) MBC_SHADOW_CHAIN(&tmp, mbc, offset, mbc->max_bytes - offset); in smb_mbc_peek()
806 int offset, len; in smb_mbc_copy() local
883 offset -= m->m_len; in smb_mbc_put_mem()
1372 offset -= m->m_len; in mbc_marshal_fetch_byte()
1404 offset -= m->m_len; in mbc_marshal_get_short()
1430 offset -= m->m_len; in mbc_marshal_get_long()
1469 offset -= m->m_len; in mbc_marshal_get_odd_long_long()
1503 offset -= m->m_len; in mbc_marshal_get_long_long()
1720 int i, offset; in mbc_marshal_get_uio() local
1747 ASSERT((offset == 0) || (offset && m)); in mbc_marshal_get_uio()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvhpet.c467 int i, offset; in vhpet_mmio_write() local
470 offset = gpa - VHPET_BASE; in vhpet_mmio_write()
498 if (offset == HPET_CONFIG || offset == HPET_CONFIG + 4) { in vhpet_mmio_write()
525 if (offset == HPET_ISR || offset == HPET_ISR + 4) { in vhpet_mmio_write()
535 if (offset == HPET_MAIN_COUNTER || offset == HPET_MAIN_COUNTER + 4) { in vhpet_mmio_write()
606 int i, offset; in vhpet_mmio_read() local
627 if (offset == HPET_CAPABILITIES || offset == HPET_CAPABILITIES + 4) { in vhpet_mmio_read()
632 if (offset == HPET_CONFIG || offset == HPET_CONFIG + 4) { in vhpet_mmio_read()
637 if (offset == HPET_ISR || offset == HPET_ISR + 4) { in vhpet_mmio_read()
642 if (offset == HPET_MAIN_COUNTER || offset == HPET_MAIN_COUNTER + 4) { in vhpet_mmio_read()
[all …]
/illumos-gate/usr/src/lib/librsm/inc/
H A Drsmapi.h176 off_t offset,
180 off_t offset,
184 off_t offset,
188 off_t offset,
192 off_t offset,
204 off_t offset,
208 off_t offset,
212 off_t offset,
216 off_t offset,
220 off_t offset,
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dskein_mod.c265 off_t offset = data->cd_offset; in skein_digest_update_uio() local
297 + offset, cur_len); in skein_digest_update_uio()
300 offset = 0; in skein_digest_update_uio()
322 off_t offset = digest->cd_offset; in skein_digest_final_uio() local
369 offset = 0; in skein_digest_final_uio()
393 off_t offset = data->cd_offset; in skein_digest_update_mblk() local
400 offset -= MBLKL(mp), mp = mp->b_cont) in skein_digest_update_mblk()
415 offset = 0; in skein_digest_update_mblk()
438 off_t offset = digest->cd_offset; in skein_digest_final_mblk() local
468 mp->b_rptr + offset, cur_len); in skein_digest_final_mblk()
[all …]
H A Darcfour.c316 off_t offset = input->cd_offset; in rc4_crypt_update() local
343 arcfour_crypt(key, start + offset, in rc4_crypt_update()
344 start + offset, cur_len); in rc4_crypt_update()
348 offset = 0; in rc4_crypt_update()
433 off_t offset = input->cd_offset; in rc4_crypt_update() local
466 offset = 0; in rc4_crypt_update()
590 off_t offset = out->cd_offset; in crypto_arcfour_crypt() local
616 arcfour_crypt(key, start + offset, in crypto_arcfour_crypt()
617 start + offset, cur_len); in crypto_arcfour_crypt()
621 offset = 0; in crypto_arcfour_crypt()
[all …]
/illumos-gate/usr/src/cmd/etdump/
H A Detdump.c141 sh = (boot_catalog_section_header *)&buffer[offset]; in dump_section()
150 entry_offset = offset + i * ET_BOOT_ENTRY_SIZE; in dump_section()
168 size_t offset; in dump_eltorito() local
188 offset = 0; in dump_eltorito()
196 offset += ET_BOOT_ENTRY_SIZE; in dump_eltorito()
197 entry = &buffer[offset]; in dump_eltorito()
202 offset += ET_BOOT_ENTRY_SIZE; in dump_eltorito()
204 while (offset < ISO_DEFAULT_BLOCK_SIZE) { in dump_eltorito()
205 entry = &buffer[offset]; in dump_eltorito()
211 entry_count = dump_section(buffer, offset, outfile, filename, in dump_eltorito()
[all …]
/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) in mc_pcicfg_get32() argument
84 return (pci_config_get32(hdlp->cfh_hdl, offset)); in mc_pcicfg_get32()
88 mc_pcicfg_put32(mc_pcicfg_hdl_t cookie, off_t offset, uint32_t val) in mc_pcicfg_put32() argument
92 pci_config_put32(hdlp->cfh_hdl, offset, val); in mc_pcicfg_put32()
96 mc_pcicfg_get32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset) in mc_pcicfg_get32_nohdl() argument
99 func, offset)); in mc_pcicfg_get32_nohdl()
103 mc_pcicfg_put32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset, in mc_pcicfg_put32_nohdl() argument
107 func, offset, val); in mc_pcicfg_put32_nohdl()
/illumos-gate/usr/src/uts/common/os/
H A Dbp_map.c52 offset_t offset, size_t size);
272 offset_t offset, size_t size) in bp_copy_common() argument
285 ASSERT((offset + size) <= bp->b_bcount); in bp_copy_common()
355 } else if (offset < psize) { in bp_copy_common()
362 addr += psize - offset; in bp_copy_common()
373 if ((offset > 0) && (offset < psize)) { in bp_copy_common()
374 psize -= offset; in bp_copy_common()
375 poff += offset; in bp_copy_common()
376 offset = 0; in bp_copy_common()
385 } else if (offset >= psize) { in bp_copy_common()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbbc.c1173 offset += sbbcregs.offset; in sbbc_ioctl()
1213 offset += sbbcregs.offset; in sbbc_ioctl()
1396 if (((offset >= 0x001a0) && (offset <= 0x001ff)) || in sbbc_offset_valid()
1397 ((offset >= 0x002a0) && (offset <= 0x002ff)) || in sbbc_offset_valid()
1398 ((offset >= 0x00350) && (offset <= 0x003ff)) || in sbbc_offset_valid()
1399 ((offset >= 0x00500) && (offset <= 0x00fff)) || in sbbc_offset_valid()
1400 ((offset >= 0x01160) && (offset <= 0x011ff)) || in sbbc_offset_valid()
1401 ((offset >= 0x01210) && (offset <= 0x017ff)) || in sbbc_offset_valid()
1402 ((offset >= 0x01810) && (offset <= 0x01fff)) || in sbbc_offset_valid()
1403 ((offset >= 0x02030) && (offset <= 0x022ff)) || in sbbc_offset_valid()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_put.c92 lsn->offset = lp->lsn.offset;
113 lastoff = lp->lsn.offset;
117 lp->lsn.offset = 0;
126 lsn->offset = lp->lsn.offset;
133 if (lp->lsn.offset == 0) {
142 lsn->offset = lp->lsn.offset;
230 lp->lsn.offset += dbt->size;
277 t_lsn.offset = lp->lsn.offset - lp->len;
282 lsn->offset > lp->lsn.offset - lp->len)) {
294 (lsn->file == lp->s_lsn.file && lsn->offset <= lp->s_lsn.offset))
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dlseek.c67 lseek(int fd, off_t offset, int where) in lseek() argument
84 f->f_offset = offset; in lseek()
87 f->f_offset += offset; in lseek()
111 target = offset; in lseek()
114 target = bufpos + offset; in lseek()
133 offset -= f->f_ralen; in lseek()
140 return (f->f_ops->fo_seek)(f, offset, where); in lseek()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_addr.c217 int offset, c; local
222 offset = 0;
231 addr += offset;
232 offset = getnum();
234 addr += offset;
236 addr -= offset;
238 offset = 0;
250 if (addr || offset)
253 offset += lastsign;
364 if (offset) {
[all …]
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_lib.c429 uint32_t offset; in md_gen_bin() local
445 offset = 0; in md_gen_bin()
448 msp->build_offset = offset; in md_gen_bin()
449 offset += msp->size; in md_gen_bin()
457 offset = 0; in md_gen_bin()
461 offset += mdbp->size; in md_gen_bin()
462 offset = P2ROUNDUP(offset, MD_ALIGNMENT_SIZE); in md_gen_bin()
472 offset = 0; in md_gen_bin()
509 offset = 0; in md_gen_bin()
542 offset = 0; in md_gen_bin()
[all …]

12345678910>>...74