/illumos-gate/usr/src/uts/common/os/ |
H A D | bp_map.c | 54 offset_t offset, size_t size); 247 * copy data from a KVA into a buf_t which may not be mapped in. offset 251 bp_copyout(void *driverbuf, struct buf *bp, offset_t offset, size_t size) argument 253 return (bp_copy_common(BP_COPYOUT, bp, driverbuf, offset, size)); 257 * copy data from a buf_t which may not be mapped in, into a KVA.. offset 261 bp_copyin(struct buf *bp, void *driverbuf, offset_t offset, size_t size) argument 263 return (bp_copy_common(BP_COPYIN, bp, driverbuf, offset, size)); 273 offset_t offset, size_t size) 287 ASSERT((offset + size) <= bp->b_bcount); 291 BP_COPY(dir, driverbuf, bp->b_un.b_addr + offset, siz 272 bp_copy_common(bp_copydir_t dir, struct buf *bp, void *driverbuf, offset_t offset, size_t size) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | bcache.c | 185 write_strategy(void *devdata, int rw, daddr_t blk, size_t offset, argument 200 return (dd->dv_strategy(dd->dv_devdata, rw, blk, offset, size, buf, rsize)); 209 read_strategy(void *devdata, int rw, daddr_t blk, size_t offset, argument 228 if ((nblk == 0 && size != 0) || offset != 0) 249 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)) + offset, 310 bcopy(bc->bcache_data + (bcache_blksize * BHASH(bc, blk)) + offset, 326 bcache_strategy(void *devdata, int rw, daddr_t blk, size_t offset, argument 342 (offset == 0 && ((size * 2 / bcache_blksize) > bcache_nblks))) { 345 return (dd->dv_strategy(dd->dv_devdata, rw, blk, offset, size, buf, 349 /* normalize offset */ [all...] |
H A D | disk.h | 81 * This will initialize d_offset to the block offset of the start of the 82 * selected partition - this offset should be added to the offset passed to 111 extern int disk_read(struct disk_devdesc *dev, void *buf, off_t offset, 113 extern int disk_write(struct disk_devdesc *dev, void *buf, off_t offset,
|
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | tnf_args.c | 74 unsigned long offset = 0; local 88 offset = offset + elem_size; 91 offset = ALIGN_ROUNDUP(offset, align); 98 return ((void *)((char *)buffer + offset));
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioFile.cc | 434 off_t offset; local 463 offset = GetHeader().Time_to_Bytes(pos); 465 if ((offset + hdrsize) >= maplen) { 470 } else if ((offset + hdrsize + cnt) > maplen) { 472 cnt = (size_t)(maplen - (offset + hdrsize)); 481 cp = mapaddr + offset + hdrsize; 487 pos = GetHeader().Bytes_to_Time(offset + len); 520 off_t& offset) // returned byte offset 522 offset 518 seekread( Double pos, off_t& offset) argument 534 seekwrite( Double pos, off_t& offset) argument 544 seekwrite(GetLength(), offset); // seek to eof local 569 size_t offset; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 46 off_t offset = data->cd_offset; local 62 offset >= uiop->uio_iov[vec_idx].iov_len; 63 offset -= uiop->uio_iov[vec_idx++].iov_len) 68 * The caller specified an offset that is larger than 76 offset, length); 79 offset); 104 offset = 0; 132 off_t offset = data->cd_offset; local 142 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp); 143 offset 425 off_t offset = input->cd_offset; local 489 off_t offset = input->cd_offset; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/cmd/file_write/ |
H A D | file_write.c | 58 offset_t noffset, offset = 0; local 78 offset = atoll(optarg); 173 noffset = llseek(bigfd, offset, SEEK_SET); 174 if (noffset != offset) { 176 filename, offset, noffset, strerror(errno), errno); 182 "offset = %lld, data = %s%d\n", filename, block_size, 183 write_count, offset, 222 "\t[-s offset] [-c write_count] [-d data]\n"
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | info.c | 78 int offset = optname - RDS_INFO_FIRST; local 83 ASSERT(!rdsv3_info_funcs[offset]); 84 rdsv3_info_funcs[offset] = func; 92 int offset = optname - RDS_INFO_FIRST; local 97 rdsv3_info_funcs[offset] = NULL; 166 iter.offset = 0;
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | gzlib.c | 365 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...] |
H A D | zopen.c | 33 xgzseek(void *cookie, fpos_t offset, int whence) argument 35 return gzseek(cookie, (z_off_t)offset, whence);
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | PayloadReader.cc | 233 int offset = 0; local 242 offset = getIterationOffset(cur, curLen, path, 245 if (offset == -1) 260 offset = 0; 283 rc = readBits(bitLength, &(cur[offset]), 300 &(cur[offset]), 309 memcpy(rc_data, &(cur[offset]), calc_data_len); 344 int offset = curDef->getInstOffset(instWICur); local 345 return (readRecurse(path, &(payload[offset]), payloadLen-offset, 356 int offset = curDef->getInstOffset(instWICur); local 452 int offset = 0; local 553 int offset = ancestorDef->getInstOffset(instWICur); local [all...] |
H A D | Ancestor.h | 51 void addInstance(const char *path, uint32_t offset); 88 uint32_t offset,
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 408 * This function reads the contents of the mbc passed in at the specified offset 409 * under the control of the format fmt. The offset of the chain passed in is not 415 smb_mbc_peek(mbuf_chain_t *mbc, int offset, const char *fmt, ...) argument 423 (void) MBC_SHADOW_CHAIN(&tmp, mbc, offset, mbc->max_bytes - offset); 438 * \b Restore the mbuf chain offset to its initial value. 517 * U Align the offset of the mbuf chain on a 16bit boundary. 775 * offset under the control of the format fmt. The offset of the chain passed in 781 smb_mbc_poke(mbuf_chain_t *mbc, int offset, cons argument 810 int offset, len; local 870 int32_t offset, tlen; local 1223 int32_t offset = mbc->chain_offset; local 1250 int32_t offset = mbc->chain_offset; local 1277 int32_t offset = mbc->chain_offset; local 1316 int32_t offset = mbc->chain_offset; local 1350 int32_t offset = mbc->chain_offset; local 1516 int i, offset; local [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_phy.c | 38 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, 41 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, 119 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data) 151 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data) 160 * @byte_offset: byte offset to write 177 * @byte_offset: byte offset to write 278 * @offset: register offset to be read 281 * Reads the MDI control register in the PHY at offset and stores the 284 s32 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u1 argument 118 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data) argument 150 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data) argument 349 e1000_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) argument 415 e1000_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) argument 462 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) argument 523 e1000_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) argument 578 e1000_write_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 data) argument 648 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) argument 678 e1000_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) argument 730 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument 770 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) argument 784 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument 799 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument 838 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) argument 852 e1000_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) argument 868 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument 912 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data) argument 927 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument 943 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument 983 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data) argument 997 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data) argument 2164 u16 phy_data, offset, mask; local 2236 u16 data, offset, mask; local 2279 u16 phy_data, offset, mask; local 3111 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data) argument 3171 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data) argument 3230 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data) argument 3275 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data) argument 3428 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data, bool read, bool page_set) argument 3531 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument 3597 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument 3611 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument 3625 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument 3640 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument 3722 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data) argument 3736 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data) argument 3750 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data) argument 3781 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool read) argument 4044 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data) argument 4076 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | posix_fadvise.c | 49 posix_fadvise(int fd, off_t offset, off_t len, int advice) argument 77 posix_fadvise64(int fd, off64_t offset, off64_t len, int advice) argument
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_lzjb.c | 50 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; local 52 if ((cpy = dst - offset) < (uchar_t *)d_start)
|
/illumos-gate/usr/src/uts/common/io/tpm/ |
H A D | tpm_hcall.s | 40 hcall_tpm_get(uint64_t locality, uint64_t offset, uint64_t size, 48 hcall_tpm_put(uint64_t locality, uint64_t offset, uint64_t size, 57 * hcall_tpm_get(uint64_t locality, uint64_t offset, uint64_t size, 71 * hcall_tpm_put(uint64_t locality, uint64_t offset, uint64_t size,
|
/illumos-gate/usr/src/lib/libast/common/dir/ |
H A D | seekdir.c | 44 off_t offset; /* offset within block */
|
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/ |
H A D | file_trunc.c | 59 static off_t offset = 0; variable 72 " [-o offset] [-s seed] [-r] [-v] filename\n", execname); 124 offset = atoi(optarg); 184 if (lseek64(fd, (offset + roffset), SEEK_SET) < 0) { 196 if (lseek64(fd, (offset + roffset), SEEK_SET) < 0) { 213 "Wrote to offset %lld\n", (offset + roffset)); 216 "Read back from offset %lld\n", (offset + roffset)); 230 if (ftruncate64(fd, (offset [all...] |
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | lzjb.c | 63 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; local 65 if ((cpy = dst - offset) < (unsigned char *)d_start)
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_put.c | 92 lsn->offset = lp->lsn.offset; 97 if (lp->lsn.offset + sizeof(HDR) + dbt->size > lp->persist.lg_max) { 110 * Save the last known offset from the previous file, we'll 113 lastoff = lp->lsn.offset; 117 lp->lsn.offset = 0; 119 /* Reset the file write offset. */ 126 lsn->offset = lp->lsn.offset; 133 if (lp->lsn.offset [all...] |
/illumos-gate/usr/src/lib/libfstyp/common/ |
H A D | libfstyp_module.h | 49 int fstyp_mod_init(int fd, off64_t offset, fstyp_mod_handle_t *handle);
|
/illumos-gate/usr/src/grub/grub-0.97/lib/ |
H A D | device.h | 45 int offset, int size, const char *buf);
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | fsutils.h | 22 boolean_t find_dos_drive(int fd, int num, uint_t secsz, off_t *offset);
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | mouse.h | 56 extern int mouseselection(MOUSEEVENT *p, int offset, int maxselection);
|