Searched defs:offset (Results 226 - 250 of 1250) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_manage.c133 u32 offset; local
156 /* Read in the header. Length and offset are in dwords. */
158 offset = E1000_MNG_DHCP_COOKIE_OFFSET >> 2;
161 offset + i);
216 * @offset: location in the buffer to write to
219 * This function writes the buffer content at the offset given on the host if.
224 u16 length, u16 offset, u8 *sum)
235 if (length == 0 || offset + length > E1000_HI_MAX_MNG_DATA_LENGTH)
239 prev_bytes = offset & 0x3;
240 offset >>
223 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_mcdi.c166 __in size_t offset,
175 EFSYS_MEM_READD(esmp, offset + pos, &data);
163 ef10_mcdi_read_response( __in efx_nic_t *enp, __out_bcount(length) void *bufferp, __in size_t offset, __in size_t length) argument
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) {
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);
H A Dsiena_mcdi.c146 __in size_t offset,
159 pdur + ((offset + pos) >> 2), &data, B_FALSE);
143 siena_mcdi_read_response( __in efx_nic_t *enp, __out_bcount(length) void *bufferp, __in size_t offset, __in size_t length) argument
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ffs.c101 int bnum, offset, bsize; local
113 offset = ((file_block - NDADDR) % NINDIR (SUPERBLOCK));
116 if (offset + MAPBUF_LEN > SUPERBLOCK->fs_bsize)
117 offset = (SUPERBLOCK->fs_bsize - MAPBUF_LEN) / sizeof (int);
122 offset = 0;
125 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
136 mapblock_offset = offset;
H A Dfsys_ufs2.c125 int bnum, offset, bsize; local
138 offset = ((file_block - NDADDR) % NINDIR (SUPERBLOCK));
141 if (offset + MAPBUF_LEN > SUPERBLOCK->fs_bsize)
142 offset = (SUPERBLOCK->fs_bsize - MAPBUF_LEN) / sizeof (int);
147 offset = 0;
150 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
161 mapblock_offset = offset;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dsplitfs.c51 static off_t splitfs_seek(struct open_file *f, off_t offset, int where);
235 splitfs_seek(struct open_file *f, off_t offset, int where) argument
244 seek_by = offset;
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzlib.c365 z_off64_t ZEXPORT gzseek64(file, offset, whence)
367 z_off64_t offset;
389 /* normalize offset to a SEEK_CUR specification */
391 offset -= state->x.pos;
393 offset += state->skip;
398 state->x.pos + offset >= 0) {
399 ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR);
408 state->x.pos += offset;
413 if (offset < 0) {
416 offset
484 z_off64_t offset; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/
H A Dloader_prompt.c157 UpdateFlash(int offset) argument
166 off = i + offset;
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c88 host_seek(struct open_file *f, off_t offset, int where) argument
91 return (CALLBACK(seek, f->f_fsdata, offset, where));
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_checksum.c200 * Set the external verifier for a gang block based on <vdev, offset, txg>,
215 * Set the external verifier for a label block based on its offset.
220 zio_checksum_label_verifier(zio_cksum_t *zcp, uint64_t offset) argument
222 ZIO_SET_CHECKSUM(zcp, offset, 0, 0, 0);
257 uint64_t offset = zio->io_offset; local
282 zio_checksum_label_verifier(&eck->zec_cksum, offset);
297 void *data, uint64_t size, uint64_t offset, zio_bad_cksum_t *info)
335 zio_checksum_label_verifier(&verifier, offset);
385 uint64_t offset = zio->io_offset; local
390 offset, inf
296 zio_checksum_error_impl(spa_t *spa, blkptr_t *bp, enum zio_checksum checksum, void *data, uint64_t size, uint64_t offset, zio_bad_cksum_t *info) argument
[all...]
/illumos-gate/usr/src/cmd/iconv/
H A Diconv_main.c187 off64_t offset; local
192 offset = 0;
201 offset += nr;
237 _("Incomplete sequence in %s at offset %lld\n"),
238 fname, offset - ileft);
260 _("Illegal sequence in %s at offset %lld\n"),
261 fname, offset - ileft);
281 _("iconv error (%s) in file $s at offset %lld\n"),
283 offset - ileft);
/illumos-gate/usr/src/uts/common/syscall/
H A Dfcntl.c73 u_offset_t offset; local
268 offset = fp->f_offset;
352 if ((error = flock_check(vp, &bf, offset, maxoffset)) != 0)
394 &bf, flag, offset, NULL, fp->f_cred, NULL)) != 0)
405 if ((error = ofdlock(fp, cmd, &bf, flag, offset)) != 0)
593 error = flock_check(vp, &bf, offset, maxoffset);
595 error = flock_check(vp, &bf, offset, MAXOFFSET_T);
610 if ((error = flock_get_start(vp, &bf, offset, &start)) != 0)
638 error = VOP_SPACE(vp, cmd, &bf, flag, offset, fp->f_cred, NULL);
704 if ((error = flock_check(vp, &bf, offset, MAXOFFSET_
832 flock_check(vnode_t *vp, flock64_t *flp, offset_t offset, offset_t max) argument
902 flock_get_start(vnode_t *vp, flock64_t *flp, offset_t offset, u_offset_t *start) argument
[all...]
/illumos-gate/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c94 offset_t offset; local
96 offset = (offset_t)pw_uid * (offset_t)sizeof (struct lastlog);
102 if (llseek(fdl, offset, SEEK_SET) != offset) {
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftASN1.c115 int offset; local
126 offset = (src.big_value[0] == 0x00) ? 1 : 0;
127 dst->big_value_len = src.big_value_len - offset;
138 (void) memcpy(dst->big_value, &(src.big_value[offset]),
H A DsoftSessionUtil.c597 CK_ULONG offset = 0; local
619 offset = sizeof (internal_op_state_t);
621 p_active_op = (crypto_active_op_t *)(pOperationState + offset);
622 offset += sizeof (crypto_active_op_t);
675 (CK_BYTE *)pOperationState + offset,
681 (CK_BYTE *)pOperationState + offset,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c841 CK_ULONG buf_len, offset, len, field_len; local
851 offset = 0;
852 rc = ber_decode_INTEGER(buf + offset, &ver, &len, &field_len);
856 offset += field_len;
858 rc = ber_decode_SEQUENCE(buf + offset, &alg, &len, &field_len);
897 CK_ULONG len, offset; local
901 offset = 0;
906 offset += len;
909 offset += len;
912 offset
1077 CK_ULONG offset, buf_len, field_len, len; local
[all...]
H A Dobject.c521 CK_ULONG_32 offset; local
541 offset = 0;
543 (void) memcpy(buf + offset, &obj->class, sizeof (CK_OBJECT_CLASS_32));
544 offset += sizeof (CK_OBJECT_CLASS_32);
546 (void) memcpy(buf + offset, &count, sizeof (CK_ULONG_32));
547 offset += sizeof (CK_ULONG_32);
549 (void) memcpy(buf + offset, &obj->name, sizeof (CK_BYTE) * 8);
550 offset += 8;
551 rc = template_flatten(obj->template, buf + offset);
759 CK_ULONG offset local
[all...]
H A Dsess_mgr.c770 CK_ULONG offset; local
797 offset = sizeof (OP_STATE_DATA);
799 (void) (void) memcpy((CK_BYTE *)op_data + offset,
803 offset += sizeof (ENCR_DECR_CONTEXT);
806 (void) memcpy((CK_BYTE *)op_data + offset,
810 offset += sess->encr_ctx.context_len;
814 (void) memcpy((CK_BYTE *)op_data + offset,
838 offset = sizeof (OP_STATE_DATA);
840 (void) memcpy((CK_BYTE *)op_data + offset,
844 offset
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_marshal.c504 unsigned long offset; local
518 offset = 24UL;
534 NDR_MEMBER(_ushort, sec_addr.length, offset);
536 offset+2UL, val->sec_addr.length);
538 offset += 2;
539 offset += val->sec_addr.length;
540 offset += NDR_ALIGN4(offset);
542 NDR_MEMBER(_ndr_p_result_list, p_result_list, offset);
553 unsigned offset; local
596 unsigned long offset; local
641 unsigned offset; local
[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/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/lib/efcode/jupiter/
H A Djupiter.c58 int offset = 0; local
61 * The calculation of the offset, lo and len are left here
65 offset = lo & PAGEOFFSET;
67 len = (len + offset + PAGEOFFSET) & PAGEMASK;
81 mcookie += offset;
96 int offset; local
99 * The calculation of the offset, lo and len are left here
103 offset = mcookie & PAGEOFFSET;
105 len = (len + offset + PAGEOFFSET) & PAGEMASK;
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dmem.c207 * If we have a DIMM offset, include it in the string. If we have a
273 mem_fmri(topo_mod_t *mod, uint64_t pa, uint64_t offset, char *unum, int flags) argument
298 err |= nvlist_add_uint64(asru, FM_FMRI_MEM_OFFSET, offset);
313 uint64_t pa = 0, offset = 0; local
320 if (nvlist_lookup_uint64(in, FM_FMRI_MEM_OFFSET, &offset) == 0)
325 asru = mem_fmri(mod, pa, offset, unum, flags);

Completed in 117 milliseconds

1234567891011>>