Home
last modified time | relevance | path

Searched refs:offset (Results 151 – 175 of 1848) sorted by relevance

12345678910>>...74

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtifget.ed48 int offset;
51 return (((offset = _tcsearch(tistr, booloffsets, boolfnames,
52 _NUMELEMENTS(booloffsets), 0)) == -1) ? -1 : bool_array[offset]);
63 int offset;
66 return (((offset = _tcsearch(tistr, numoffsets, numfnames,
67 _NUMELEMENTS(numoffsets), 0)) == -1) ? -2 : num_array[offset]);
78 int offset;
81 return (((offset = _tcsearch(tistr, stroffsets, strfnames,
83 str_array[offset]);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_power.c53 u32_t offset = 0 ; in init_nwuf_57710() local
155 for(offset = 0; offset <= LM_NWUF_PATTERN_SIZE; offset++) in init_nwuf_57710()
157 mod = offset%8 ; in init_nwuf_57710()
158 if ( ( 0 == mod ) && ( offset!= 0 ) ) in init_nwuf_57710()
180 if( LM_NWUF_PATTERN_SIZE == offset ) in init_nwuf_57710()
191 mask = nwuf->mask[(offset/8)]; // 0-15 in init_nwuf_57710()
230 u32_t offset = 0; in lm_set_d3_nwuf() local
255 REG_WR( pdev, offset, nwuf_reg_value ) ; in lm_set_d3_nwuf()
277 REG_WR( pdev, offset, nwuf_reg_value ) ; in lm_set_d3_nwuf()
297 u32_t offset = 0 ; in lm_set_d3_mpkt() local
[all …]
H A Dlm_hw_attn.c212 u32_t offset = 0; in disable_blocks_attention() local
528 u32_t offset = 0; in lm_latch_attn_everest_processing() local
532 if ( offset & sig_word_aft_inv) in lm_latch_attn_everest_processing()
540 if ( offset & sig_word_aft_inv) in lm_latch_attn_everest_processing()
548 if ( offset & sig_word_aft_inv) in lm_latch_attn_everest_processing()
556 if ( offset & sig_word_aft_inv) in lm_latch_attn_everest_processing()
564 if ( offset & sig_word_aft_inv) in lm_latch_attn_everest_processing()
1063 val = REG_RD(pdev, offset ); in lm_spio5_attn_everest_processing()
1069 REG_WR(pdev, offset, val ) ; in lm_spio5_attn_everest_processing()
1573 REG_WR(pdev, offset ,0x0); in lm_generic_event()
[all …]
H A Dlm_hw_access.c196 u8_t offset, in lm_initialize_nig_entry() argument
265 u8_t offset = 0; in lm_insert_nig_entry() local
270 if (offset == INVALID_NIG_OFFSET) in lm_insert_nig_entry()
309 u8_t offset = 0; in lm_remove_nig_entry() local
343 u32 offset = 0; in lm_setup_fan_failure_detection() local
1752 u32_t offset, in lm_reg_rd_ind_imp() argument
1755 DbgBreakIf(offset & 0x3); in lm_reg_rd_ind_imp()
1762 u32_t offset, in lm_reg_wr_ind_imp() argument
1766 DbgBreakIf(offset & 0x3); in lm_reg_wr_ind_imp()
1784 u32_t offset, in lm_reg_rd_ind() argument
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dsess_mgr.c770 CK_ULONG offset; in session_mgr_get_op_state() local
797 offset = sizeof (OP_STATE_DATA); in session_mgr_get_op_state()
803 offset += sizeof (ENCR_DECR_CONTEXT); in session_mgr_get_op_state()
810 offset += sess->encr_ctx.context_len; in session_mgr_get_op_state()
838 offset = sizeof (OP_STATE_DATA); in session_mgr_get_op_state()
844 offset += sizeof (ENCR_DECR_CONTEXT); in session_mgr_get_op_state()
851 offset += sess->decr_ctx.context_len; in session_mgr_get_op_state()
879 offset = sizeof (OP_STATE_DATA); in session_mgr_get_op_state()
884 offset += sizeof (DIGEST_CONTEXT); in session_mgr_get_op_state()
919 offset = sizeof (OP_STATE_DATA); in session_mgr_get_op_state()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dlzjb.c57 int mlen, offset, hash; in lzjb_compress() local
77 offset = (intptr_t)(src - *hp) & OFFSET_MASK; in lzjb_compress()
79 cpy = src - offset; in lzjb_compress()
87 (offset >> NBBY); in lzjb_compress()
88 *dst++ = (uchar_t)offset; in lzjb_compress()
115 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; in lzjb_decompress() local
117 if ((cpy = dst - offset) < (uchar_t *)d_start) in lzjb_decompress()
H A Dbpobj.c116 uint64_t offset, blkoff; in bpobj_free() local
118 offset = i * sizeof (uint64_t); in bpobj_free()
128 ASSERT3U(offset, >=, dbuf->db_offset); in bpobj_free()
229 uint64_t offset, blkoff; in bpobj_iterate_impl() local
231 offset = i * sizeof (blkptr_t); in bpobj_iterate_impl()
243 ASSERT3U(offset, >=, dbuf->db_offset); in bpobj_iterate_impl()
285 uint64_t offset, blkoff; in bpobj_iterate_impl() local
290 offset = i * sizeof (uint64_t); in bpobj_iterate_impl()
302 ASSERT3U(offset, >=, dbuf->db_offset); in bpobj_iterate_impl()
471 uint64_t offset; in bpobj_enqueue() local
[all …]
/illumos-gate/usr/src/lib/librsm/inc/
H A Drsmndi.h93 off_t offset,
99 off_t offset,
105 off_t offset,
111 off_t offset,
117 off_t offset,
126 off_t offset,
132 off_t offset,
138 off_t offset,
144 off_t offset,
150 off_t offset,
/illumos-gate/usr/src/uts/common/io/
H A Dpci_cap.c264 uint16_t base, uint16_t offset) in pci_cap_get() argument
277 offset += base; in pci_cap_get()
281 data = pci_config_get8(h, offset); in pci_cap_get()
284 data = pci_config_get16(h, offset); in pci_cap_get()
287 data = pci_config_get32(h, offset); in pci_cap_get()
293 PCI_CAP_DBG("pci_cap_get: %p[x%x]=x%x\n", (void *)h, offset, data); in pci_cap_get()
305 uint32_t id, uint16_t base, uint16_t offset, uint32_t data) in pci_cap_put() argument
314 offset += base; in pci_cap_put()
318 pci_config_put8(h, offset, data); in pci_cap_put()
321 pci_config_put16(h, offset, data); in pci_cap_put()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c55 mdb_dump_header(int flags, int pad, int offset) in mdb_dump_header() argument
66 if (i == offset && !nalign) in mdb_dump_header()
69 mdb_printf("%2x", (i + (nalign * offset)) & 0xf); in mdb_dump_header()
75 if (i == offset && !nalign) in mdb_dump_header()
78 mdb_printf("%x", (i + (nalign * offset)) & 0xf); in mdb_dump_header()
198 uint64_t offset; /* bytes between first position and addr */ in mdb_dump_internal() local
269 offset = l; in mdb_dump_internal()
271 offset = 0; in mdb_dump_internal()
344 if (i + bread < offset) { in mdb_dump_internal()
409 if (i - r - offset >= reqlen) { in mdb_dump_internal()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c422 Off offset; in map_addr_to_offset() local
438 offset = addr - phdr->p_vaddr; in map_addr_to_offset()
482 Off end_offset = offset + size; in map_offset_to_addr()
497 offset -= phdr->p_offset; in map_offset_to_addr()
613 Off offset; in hash_size() local
618 if (offset == 0) in hash_size()
786 Off offset, aux_offset; in verdefneed_size() local
820 if (offset == 0) in verdefneed_size()
822 sec->size = offset; in verdefneed_size()
826 extent = offset + size_main; in verdefneed_size()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_impl.h161 #define OCE_CSR_READ32(dev, offset) \ argument
163 (uint32_t *)(void *)((dev)->csr_addr + offset))
165 #define OCE_CSR_WRITE32(dev, offset, value) \ argument
167 (uint32_t *)(void *)((dev)->csr_addr + offset), value)
169 #define OCE_DB_READ32(dev, offset) \ argument
171 (uint32_t *)(void *)((dev)->db_addr + offset))
173 #define OCE_DB_WRITE32(dev, offset, value) \ argument
175 (uint32_t *)(void *)((dev)->db_addr + offset), value)
177 #define OCE_CFG_READ32(dev, offset) \ argument
179 (uint32_t *)(void *)((dev)->dev_cfg_addr + offset))
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_utils.c439 size_t offset = 0; in slp_get_byte() local
444 offset = *piOffset; in slp_get_byte()
448 *piByte = (int)pcBuf[offset]; in slp_get_byte()
454 size_t offset = 0; in slp_get_sht() local
459 offset = *piOffset; in slp_get_sht()
464 ((unsigned char)pcBuf[offset] & (unsigned char)0xFF); in slp_get_sht()
467 ((unsigned char)pcBuf[offset+1] & (unsigned char)0xFF); in slp_get_sht()
474 size_t offset = 0; in slp_get_int32() local
479 offset = *piOffset; in slp_get_int32()
483 *piInt = ((unsigned int)(pcBuf[offset] & 0xff)) << 24; in slp_get_int32()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_mtag.c258 *offset = start_offset + sval.value * type_bytes(type); in get_array_mtag_offset()
324 *offset = sval.uvalue & MTAG_OFFSET_MASK; in get_implied_mtag_offset()
344 *offset = 0; in expr_to_mtag_offset()
354 return get_array_mtag_offset(expr, tag, offset); in expr_to_mtag_offset()
358 return get_implied_mtag_offset(expr, tag, offset); in expr_to_mtag_offset()
369 *offset = tmp_offset; in expr_to_mtag_offset()
408 int offset = 0; in get_mtag_sval() local
437 if (expr_to_mtag_offset(expr, &tag, &offset)) in get_mtag_sval()
442 if (get_implied_mtag_offset(expr, &tag, &offset)) in get_mtag_sval()
447 if (offset >= MTAG_OFFSET_MASK) in get_mtag_sval()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Doptjoin.c75 last_offset = opt_info.offset; in optjoin()
102 …!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset)) in optjoin()
106 err_offset = opt_info.offset; in optjoin()
110 opt_info.offset = state->poffset; in optjoin()
112 if (!rep || opt_info.index != last_index || opt_info.offset != last_offset) in optjoin()
123 opt_info.offset = 0; in optjoin()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c128 size_t mbsize, offset, len; in ixgbe_ring_tx() local
216 offset = 0; in ixgbe_ring_tx()
259 offset = amt; in ixgbe_ring_tx()
298 len = MBLKL(mp) - offset; in ixgbe_ring_tx()
299 offset = 0; in ixgbe_ring_tx()
340 offset = 0; in ixgbe_ring_tx()
585 uint32_t offset; in ixgbe_get_context() local
619 while (size <= offset) { in ixgbe_get_context()
633 while (size <= offset) { in ixgbe_get_context()
688 while (size <= offset) { in ixgbe_get_context()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dsunpci.c67 cfgaddr = hp->ah_addr + offset; in pci_config_get8()
78 cfgaddr = hp->ah_addr + offset; in pci_config_get16()
89 cfgaddr = hp->ah_addr + offset; in pci_config_get32()
100 cfgaddr = hp->ah_addr + offset; in pci_config_get64()
111 cfgaddr = hp->ah_addr + offset; in pci_config_put8()
122 cfgaddr = hp->ah_addr + offset; in pci_config_put16()
287 off_t offset = 0; local
524 offset = cap_ptr;
686 uint16_t offset; local
695 offset += 4;
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_term.c330 offset = p->tcol->offset; in print_mdoc_node()
439 p->tcol->offset = offset; in print_mdoc_node()
460 p->tcol->offset = 0; in print_mdoc_foot()
664 offset = 0; in termp_it_pre()
674 if (offset < 0 && (size_t)(-offset) > p->tcol->offset) in termp_it_pre()
675 offset = -p->tcol->offset; in termp_it_pre()
677 offset = 0; in termp_it_pre()
840 p->tcol->offset += offset; in termp_it_pre()
1425 int offset; in termp_bd_pre() local
1444 if (offset < 0 && (size_t)(-offset) > p->tcol->offset) in termp_bd_pre()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_readdir.c51 static int create_dirents(struct autofs_rddir_cache *rdcp, ulong_t offset,
222 ulong_t offset, in create_dirents() argument
244 this_bucket = (offset < next->offset); in create_dirents()
249 assert(offset >= offtp->offset); in create_dirents()
258 for (l = list; l != NULL && l->offset < offset; l = l->next) in create_dirents()
296 dp->d_off = (off64_t)nl->offset; in create_dirents()
302 dp->d_off = (off64_t)l->offset + 1; in create_dirents()
521 p->offset = offset; in build_dir_entry_list()
522 if (offset >= offset_list) { in build_dir_entry_list()
529 offtp->offset = offset; in build_dir_entry_list()
[all …]
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_dir.c199 offset = 0; in ud_dirlook()
201 adhoc_offset = offset; in ud_dirlook()
312 offset = 0; in ud_dirlook()
386 slot.offset = 0; in ud_direnter()
651 slot.offset = 0; in ud_dirremove()
899 offset = 0; in ud_dircheckforname()
953 slotp->offset = offset; in ud_dircheckforname()
970 slotp->offset = offset; in ud_dircheckforname()
979 slotp->offset = offset; in ud_dircheckforname()
1733 offset = slotp->offset; in ud_dirprepareentry()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dfilehdr.c135 unsigned int offset; in audio_rewrite_aiff_filesize() local
145 offset = sizeof (int); in audio_rewrite_aiff_filesize()
146 if (lseek(fd, offset, SEEK_SET) < 0) { in audio_rewrite_aiff_filesize()
192 int offset; in audio_rewrite_au_filesize() local
222 int offset; in audio_rewrite_wav_filesize() local
638 int offset; in decode_au() local
981 int offset; in audio_encode_au() local
993 offset = ROUND_DBL(hdrsize); in audio_encode_au()
1082 if (*blen < offset) { in audio_encode_au()
1088 *blen = (unsigned)offset; in audio_encode_au()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpriv_str_xlate.c80 char *offset; in priv_str_to_set() local
103 while ((offset = strtok_r(NULL, separators, &last)) != NULL) { in priv_str_to_set()
107 if (basic != NULL && strcasecmp(offset, "basic") == 0) { in priv_str_to_set()
109 } else if (strcasecmp(offset, "none") == 0) { in priv_str_to_set()
111 } else if (strcasecmp(offset, "all") == 0) { in priv_str_to_set()
113 } else if (strcasecmp(offset, "zone") == 0) { in priv_str_to_set()
116 boolean_t neg = (*offset == '-' || *offset == '!'); in priv_str_to_set()
120 privid = priv_getbyname(offset + in priv_str_to_set()
121 ((neg || *offset == '+') ? 1 : 0)); in priv_str_to_set()
123 slen = offset - base; in priv_str_to_set()
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvrtc.c1068 if (offset < 0 || offset >= sizeof (struct rtcdev)) { in vrtc_nvram_write()
1078 rtc_raw[offset] = value; in vrtc_nvram_write()
1091 if (offset < 0 || offset >= sizeof (struct rtcdev)) { in vrtc_nvram_read()
1097 vrtc_update(vrtc, offset); in vrtc_nvram_read()
1102 *retval = rtc_raw[offset]; in vrtc_nvram_read()
1139 switch (offset) { in vrtc_read()
1147 return (rtc_raw[offset]); in vrtc_read()
1159 switch (offset) { in vrtc_write()
1174 rtc_raw[offset] = val & 0x7f; in vrtc_write()
1177 rtc_raw[offset] = val; in vrtc_write()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_nvram.c409 u32_t offset) in nvram_erase_page() argument
467 u32_t offset, in nvram_read_dword() argument
493 offset = ((offset / pdev->hw_info.flash_spec.page_size) << in nvram_read_dword()
553 u32_t offset, in nvram_write_dword() argument
577 offset = ((offset / pdev->hw_info.flash_spec.page_size) << in nvram_write_dword()
1070 u32_t offset, in lm_nvram_read() argument
1131 offset += sizeof(u32_t); in lm_nvram_read()
1140 offset += sizeof(u32_t); in lm_nvram_read()
1169 u32_t offset, in lm_nvram_write() argument
1181 if(offset & 0x03) in lm_nvram_write()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_lic.c55 __in uint32_t offset,
65 __in uint32_t offset,
83 __in uint32_t offset,
97 __in uint32_t offset,
109 __in uint32_t offset,
239 __in uint32_t offset,
249 __in uint32_t offset,
267 __in uint32_t offset,
281 __in uint32_t offset,
293 __in uint32_t offset,
[all …]

12345678910>>...74