Searched refs:offset (Results 226 - 250 of 1646) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_rx.c764 unsigned int offset; local
771 for (offset = (FRF_BZ_RX_RSS_TKEY_LBN + FRF_BZ_RX_RSS_TKEY_WIDTH) / 8;
772 offset > 0 && byte < n;
773 --offset)
774 oword.eo_u8[offset - 1] = key[byte++];
782 for (offset = (FRF_BZ_RX_RSS_TKEY_LBN + FRF_BZ_RX_RSS_TKEY_WIDTH) / 8;
783 offset > 0 && byte < n;
784 --offset) {
785 if (oword.eo_u8[offset - 1] != key[byte++]) {
798 for (offset
1010 unsigned int offset; local
[all...]
H A Defx_sram.c209 size_t offset = row * FR_AZ_SRM_DBG_REG_STEP; local
215 eqp->eq_u8[index] = offset + index;
264 size_t offset = row * FR_AZ_SRM_DBG_REG_STEP; local
270 if (offset / 256 == 0)
271 byte = (uint8_t)((offset % 257) % 256);
273 byte = (uint8_t)(~((offset - 8) % 257) % 256);
285 size_t offset = row * FR_AZ_SRM_DBG_REG_STEP; local
289 EFX_CLEAR_QWORD_BIT(*eqp, (offset / sizeof (efx_qword_t)) % 64);
292 EFX_SET_QWORD_BIT(*eqp, (offset / sizeof (efx_qword_t)) % 64);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_jfs.c61 isinxt (s64 key, s64 offset, s64 len) argument
63 return (key >= offset) ? (key < offset + len ? 1 : 0) : 0;
110 s64 offset; local
119 offset = offsetXAD (xad);
120 if (isinxt (key, offset, lengthXAD (xad))) {
121 devread ((addressXAD (xad) + key - offset) << jfs.bdlog,
232 s64 offset, xadlen; local
240 offset = offsetXAD (xad);
242 if (isinxt (filepos >> jfs.l2bsize, offset, xadle
[all...]
H A Dfsys_xfs.c30 xfs_fileoff_t offset; member in struct:xad
171 isinxt (xfs_fileoff_t key, xfs_fileoff_t offset, xfs_filblks_t len) argument
173 return (key >= offset) ? (key < offset + len ? 1 : 0) : 0;
208 int offset; local
213 offset = ino2offset (ino);
216 devread (daddr, offset*xfs.isize, xfs.isize, (char *)inode);
280 xad.offset = xt_offset (xfs.xt);
296 xfs_fileoff_t offset;; local
300 offset
490 xfs_fileoff_t endofprev, endofcur, offset; local
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnullfs.c91 off_t null_seek (struct open_file *f, off_t offset, int where) argument
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_label.c106 * offset: a numeric offset that we'll number the dimms from. This is to
117 uint32_t offset; local
126 if ((ret = nvlist_lookup_uint32(args, "offset", &offset)) != 0) {
127 topo_mod_dprintf(mod, "Failed to lookup 'offset' arg (%s)\n",
140 (topo_node_instance(node) + offset));
162 * offset: a numeric offset that we'll number the dimms from. This is to
179 uint32_t offset, dimms_per_chi local
264 uint32_t offset; local
342 uint32_t offset; local
399 uint32_t offset; local
673 uint32_t offset; local
720 uint32_t offset; local
[all...]
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_lib.c411 mdep->d.prop_data.offset = htomd32(propp->d.dbp->build_offset);
429 uint32_t offset; local
445 offset = 0;
448 msp->build_offset = offset;
449 offset += msp->size;
451 strings_size = P2ROUNDUP(offset, MD_ALIGNMENT_SIZE);
457 offset = 0;
460 mdbp->build_offset = offset;
461 offset += mdbp->size;
462 offset
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dbpobj.c115 uint64_t offset, blkoff; local
117 offset = i * sizeof (uint64_t);
120 if (dbuf == NULL || dbuf->db_offset > offset) {
124 bpo.bpo_phys->bpo_subobjs, offset, FTAG, &dbuf, 0));
127 ASSERT3U(offset, >=, dbuf->db_offset);
128 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
221 uint64_t offset, blkoff; local
223 offset = i * sizeof (blkptr_t);
226 if (dbuf == NULL || dbuf->db_offset > offset) {
229 err = dmu_buf_hold(bpo->bpo_os, bpo->bpo_object, offset,
277 uint64_t offset, blkoff; local
461 uint64_t offset; local
[all...]
H A Ddmu.c130 dmu_buf_hold_noread_by_dnode(dnode_t *dn, uint64_t offset, argument
136 blkid = dbuf_whichblock(dn, 0, offset);
150 dmu_buf_hold_noread(objset_t *os, uint64_t object, uint64_t offset, argument
161 blkid = dbuf_whichblock(dn, 0, offset);
177 dmu_buf_hold_by_dnode(dnode_t *dn, uint64_t offset, argument
186 err = dmu_buf_hold_noread_by_dnode(dn, offset, tag, dbp);
200 dmu_buf_hold(objset_t *os, uint64_t object, uint64_t offset, argument
209 err = dmu_buf_hold_noread(os, object, offset, tag, dbp);
431 dmu_buf_hold_array_by_dnode(dnode_t *dn, uint64_t offset, uint64_t length, argument
453 nblks = (P2ROUNDUP(offset
525 dmu_buf_hold_array(objset_t *os, uint64_t object, uint64_t offset, uint64_t length, int read, void *tag, int *numbufsp, dmu_buf_t ***dbpp) argument
544 dmu_buf_hold_array_by_bonus(dmu_buf_t *db_fake, uint64_t offset, uint64_t length, boolean_t read, void *tag, int *numbufsp, dmu_buf_t ***dbpp) argument
587 dmu_prefetch(objset_t *os, uint64_t object, int64_t level, uint64_t offset, uint64_t len, zio_priority_t pri) argument
715 dmu_free_long_range_impl(objset_t *os, dnode_t *dn, uint64_t offset, uint64_t length) argument
765 dmu_free_long_range(objset_t *os, uint64_t object, uint64_t offset, uint64_t length) argument
815 dmu_free_range(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, dmu_tx_t *tx) argument
830 dmu_read(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, void *buf, uint32_t flags) argument
889 dmu_write(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, const void *buf, dmu_tx_t *tx) argument
931 dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, dmu_tx_t *tx) argument
952 dmu_write_embedded(objset_t *os, uint64_t object, uint64_t offset, void *data, uint8_t etype, uint8_t comp, int uncompressed_size, int compressed_size, int byteorder, dmu_tx_t *tx) argument
1310 dmu_write_pages(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, page_t *pp, dmu_tx_t *tx) argument
1392 dmu_assign_arcbuf(dmu_buf_t *handle, uint64_t offset, arc_buf_t *buf, dmu_tx_t *tx) argument
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c103 long tt_gmtoff; /* GMT offset in seconds */
146 static void gmtsub P((const time_t * timep, long offset,
148 static void localsub P((const time_t * timep, long offset,
153 long offset));
155 long offset, int * okayp));
156 static void timesub P((const time_t * timep, long offset,
161 const struct rule * rulep, long offset));
531 ** Given a pointer into a time zone string, extract an offset, in
549 else return NULL; /* illegal offset */
615 ** year, a rule, and the offset fro
[all...]
/illumos-gate/usr/src/lib/efcode/gp2/
H A Dgp2.c46 int offset = 0; local
49 * The calculation of the offset, lo and len are left here
53 offset = lo & PAGEOFFSET;
55 len = (len + offset + PAGEOFFSET) & PAGEMASK;
69 mcookie += offset;
84 int offset; local
87 * The calculation of the offset, lo and len are left here
91 offset = mcookie & PAGEOFFSET;
93 len = (len + offset + PAGEOFFSET) & PAGEMASK;
165 off = lo & 0x7fffff; /* build config offset */
181 int agent, offset; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c294 seghdr->offset = seg_layout->offset;
338 if (offset_tbl[cntx].offset >
339 offset_tbl[cnty].offset) {
354 * back to the new segment offset.
371 ret = pread(contfd, buffer, segment->length, segment->offset);
376 segment->offset = newoffset;
378 ret = pwrite(contfd, buffer, segment->length, segment->offset);
399 if (offset_tbl[cnt].offset -
400 (offset_tbl[cnt -1 ].offset
1291 int offset; local
1842 get_packet(int device_fd, void *buffer, int size, int offset) argument
1857 int offset = 0; local
1896 get_dev_or_buffered_packets(hash_obj_t *seg_hash, int device_fd, int offset, int length, const char *buf) argument
2048 get_packets(hash_obj_t *seg_hash, int device_fd, int offset, int length) argument
2078 uint16_t offset; local
[all...]
/illumos-gate/usr/src/common/lzma/
H A DLzFind.c458 #define MOVE_POS_RET MOVE_POS return offset;
472 #define GET_MATCHES_FOOTER(offset, maxLen) \
473 offset = (UInt32)(GetMatchesSpec1(lenLimit, curMatch, MF_PARAMS(p), \
474 distances + offset, maxLen) - distances); MOVE_POS_RET;
481 UInt32 offset; local
486 offset = 0;
487 GET_MATCHES_FOOTER(offset, 1)
492 UInt32 offset; local
497 offset = 0;
498 GET_MATCHES_FOOTER(offset,
503 UInt32 hash2Value, delta2, maxLen, offset; local
536 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
583 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
632 UInt32 offset; local
[all...]
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c168 write_elfnotes(proc_t *p, int sig, vnode_t *vp, offset_t offset, argument
235 error = elfnote(vp, &offset, NT_PSINFO, sizeof (bigwad->psinfo),
262 error = elfnote(vp, &offset, NT_PSTATUS, sizeof (bigwad->pstatus),
267 error = elfnote(vp, &offset, NT_PLATFORM, strlen(platform) + 1,
277 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv),
287 error = elfnote(vp, &offset, NT_UTSNAME, sizeof (struct utsname),
293 error = elfnote(vp, &offset, NT_SECFLAGS, sizeof (prsecflags_t),
306 error = elfnote(vp, &offset, NT_PRCRED, crsize,
311 error = elfnote(vp, &offset, NT_CONTENT, sizeof (core_content_t),
318 error = elfnote(vp, &offset, NT_PRPRI
[all...]
H A Dold_notes.c103 write_old_elfnotes(proc_t *p, int sig, vnode_t *vp, offset_t offset, argument
137 error = elfnote(vp, &offset, NT_PRPSINFO, sizeof (bigwad->psinfo),
142 error = elfnote(vp, &offset, NT_PLATFORM, strlen(platform) + 1,
152 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv),
191 error = elfnote(vp, &offset, NT_PRSTATUS,
199 error = elfnote(vp, &offset, NT_PRFPREG,
218 error = elfnote(vp, &offset, NT_GWINDOWS,
229 error = elfnote(vp, &offset, NT_PRXREG,
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_term.c310 size_t offset, rmargin; local
313 offset = p->offset;
406 p->offset = offset;
428 p->offset = 0;
438 p->offset = p->rmargin;
446 p->offset = p->rmargin;
455 p->offset = 0;
496 p->offset
611 int i, offset, width; local
1533 int offset; local
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c288 off_t offset = data->cd_offset; local
302 offset >= data->cd_uio->uio_iov[vec_idx].iov_len;
303 offset -= data->cd_uio->uio_iov[vec_idx++].iov_len)
307 * The caller specified an offset that is larger than the
318 offset, length);
321 uio_iov[vec_idx].iov_base + offset, cur_len);
324 offset = 0;
350 off_t offset = digest->cd_offset; local
361 for (vec_idx = 0; offset >= digest->cd_uio->uio_iov[vec_idx].iov_len &&
363 offset
448 off_t offset = data->cd_offset; local
501 off_t offset = digest->cd_offset; local
1420 off_t offset = mac->cd_offset; local
1467 off_t offset = mac->cd_offset; local
[all...]
/illumos-gate/usr/src/lib/libc/inc/
H A Dmsgfmt.h60 * | (int) msgid offset |
62 * | (int) msgstr offset |
96 int msgid_offset; /* msgid offset */
97 int msgstr_offset; /* msgstr offset */
131 * 12 | (uint32_t) offset of msgid table | == O
133 * 16 | (uint32_t) offset of msgstr table | == T
137 * 24 | (uint32_t) offset of hashing table | == H
142 * O+4 | (uint32_t) offset of 0th msgid | == M(0)
148 * O+((N-1)*8) | (uint32_t) offset of (N-1)th msgid | == M(N-1)
153 * T+4 | (uint32_t) offset o
400 uint32_t offset; member in struct:gnu_msg_ent
409 uint32_t offset; member in struct:gnu_dynamic_tbl
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_fru.c56 uint16_t sz, offset = 0; local
85 while (offset < sz) {
87 cmd_data_in.ifr_offset_lsb = BITX(offset, 7, 0);
88 cmd_data_in.ifr_offset_msb = BITX(offset, 15, 8);
89 if ((sz - offset) < 128)
90 cmd_data_in.ifr_count = sz - offset;
112 (void) memcpy(tmp+offset, (char *)(resp->ic_data)+1, count);
113 offset += count;
130 * We get the offset to the product info area from the FRU common
133 * The product info area is optional, so if the offset i
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dpiclsdr.c68 int offset; member in struct:__anon1226
139 req_pkt.data[4] = sdr->offset;
218 sdr.offset = 0x0;
236 sdr.offset = 0x10;
246 sdr.offset = 0x0;
282 sdr.offset = 0x10;
296 sdr.offset = 0x0;
329 datap[4] = sdr->offset;
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmTextField.java61 public void insertString(int offset, String str, AttributeSet a) argument
72 super.insertString(offset, str, a);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Davl.c47 avl_leftmostchild(uintptr_t addr, void *buff, size_t offset, size_t size, argument
50 avl_node_t *node = (avl_node_t *)((uintptr_t)buff + offset);
53 addr -= offset;
181 size_t offset; local
201 offset = aw->aw_tree.avl_offset;
202 node = (avl_node_t *)((uintptr_t)aw->aw_buff + offset);
239 addr = avl_leftmostchild(addr, aw->aw_buff, offset, size,
254 addr -= offset;
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioUnixfile.h67 off_t& offset); // returned byte offset
72 off_t& offset); // returned byte offset
/illumos-gate/usr/src/cmd/tail/
H A Dmisc.c61 * absolute file offset `startoff'. May move map window.
86 * offset `offset'. The start of the map window will be TAILMAPLEN
90 maparound(struct mapinfo *mip, off_t offset) argument
96 mip->mapoff = offset & ~((off_t)TAILMAPLEN - 1);
/illumos-gate/usr/src/uts/common/fs/
H A Dnbmlock.c104 u_offset_t offset, /* ignore if not I/O */
124 return (nbl_lock_conflict(vp, op, offset, length, svmand, ct));
102 nbl_conflict(vnode_t *vp, nbl_op_t op, u_offset_t offset, ssize_t length, int svmand, caller_context_t *ct) argument

Completed in 160 milliseconds

1234567891011>>