Searched refs:offset (Results 1 - 25 of 2452) sorted by path

1234567891011>>

/freebsd-10.0-release/bin/dd/
H A Dargs.c168 * Bail out if the calculation of a file offset would overflow.
170 if (in.offset > OFF_MAX / (ssize_t)in.dbsz ||
171 out.offset > OFF_MAX / (ssize_t)out.dbsz)
285 out.offset = get_off_t(arg);
292 in.offset = get_off_t(arg);
H A Ddd.c180 if (in.offset)
182 if (out.offset)
191 if (ftruncate(out.fd, out.offset * out.dbsz) == -1)
H A Ddd.h56 off_t offset; /* # of blocks to skip */ member in struct:__anon2
H A Dposition.c71 if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1 &&
78 if (in.offset < 0)
79 errx(1, "%s: illegal offset", "iseek/skip");
86 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
139 if (lseek(out.fd, out.offset * out.dbsz, SEEK_CUR) == -1 &&
146 if (out.offset < 0)
147 errx(1, "%s: illegal offset", "oseek/seek");
152 t_op.mt_count = out.offset;
160 for (cnt = 0; cnt < out.offset; ++cnt) {
177 while (cnt++ < out.offset) {
[all...]
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/
H A Dfspaging.d85 self->offset = this->filep->f_offset;
97 (int)arg2, self->offset / 1024, self->vpath);
104 (int)arg2, self->offset / 1024, self->vpath);
111 self->offset = 0;
136 /* fetch the real offset (file_t is unaware of this) */
137 self->offset = ((inode_t *)args[0]->v_data)->i_nextrio;
144 self->offset = 0;
149 this->offset = self->read_ahead ? self->offset : args[2]->fi_offset;
153 this->offset / 102
[all...]
H A Dfsrw.d81 self->offset = this->filep->f_offset;
95 (int)arg2, self->offset / 1024, self->vpath);
102 (int)arg2, self->offset / 1024, self->vpath);
109 self->offset = 0;
124 /* fetch the real offset (file_t is unaware of this) */
137 this->offset = self->read_ahead ? self->ra_offset : args[2]->fi_offset;
141 this->offset / 1024, args[2]->fi_pathname);
H A Dhotkernel97 my ($name, $offset) = split /\+/, $addr;
H A Dhotuser110 my ($name, $offset) = split /\+/, $addr;
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/FS/
H A Dfspaging.d85 self->offset = this->filep->f_offset;
97 (int)arg2, self->offset / 1024, self->vpath);
104 (int)arg2, self->offset / 1024, self->vpath);
111 self->offset = 0;
136 /* fetch the real offset (file_t is unaware of this) */
137 self->offset = ((inode_t *)args[0]->v_data)->i_nextrio;
144 self->offset = 0;
149 this->offset = self->read_ahead ? self->offset : args[2]->fi_offset;
153 this->offset / 102
[all...]
H A Dfsrw.d81 self->offset = this->filep->f_offset;
95 (int)arg2, self->offset / 1024, self->vpath);
102 (int)arg2, self->offset / 1024, self->vpath);
109 self->offset = 0;
124 /* fetch the real offset (file_t is unaware of this) */
137 this->offset = self->read_ahead ? self->ra_offset : args[2]->fi_offset;
141 this->offset / 1024, args[2]->fi_pathname);
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/
H A Dhotkernel97 my ($name, $offset) = split /\+/, $addr;
H A Dhotuser110 my ($name, $offset) = split /\+/, $addr;
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c264 addr_to_sym(uintptr_t addr, uintptr_t *offset, size_t *sizep) argument
280 *offset = addr - sep->addr;
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c119 "vdev:offset:size[:flags]\n"
523 uint64_t alloc, offset, entry; local
536 for (offset = 0; offset < smo->smo_objsize; offset += sizeof (entry)) {
537 VERIFY3U(0, ==, dmu_read(os, smo->smo_object, offset,
541 (u_longlong_t)(offset / sizeof (entry)),
548 (u_longlong_t)(offset / sizeof (entry)),
596 "\tmetaslab %6llu offset %12llx spacemap %6llu free %5s\n",
626 "offset", "spacema
2833 uint64_t offset = 0, size = 0, psize = 0, lsize = 0, blkptr_offset = 0; local
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c80 * stored at offset 0 of this file and contains information on the size and
1141 ztest_range_lock(ztest_ds_t *zd, uint64_t object, uint64_t offset, argument
1144 uint64_t hash = object ^ (offset % (ZTEST_RANGE_LOCKS + 1));
1150 rl->rl_offset = offset;
1255 uint64_t offset, uint64_t gen, uint64_t txg, uint64_t crtxg)
1260 bt->bt_offset = offset;
1268 uint64_t offset, uint64_t gen, uint64_t txg, uint64_t crtxg)
1273 ASSERT(bt->bt_offset == offset);
1546 uint64_t offset, length; local
1559 offset
1254 ztest_bt_generate(ztest_block_tag_t *bt, objset_t *os, uint64_t object, uint64_t offset, uint64_t gen, uint64_t txg, uint64_t crtxg) argument
1267 ztest_bt_verify(ztest_block_tag_t *bt, objset_t *os, uint64_t object, uint64_t offset, uint64_t gen, uint64_t txg, uint64_t crtxg) argument
1827 uint64_t offset = lr->lr_offset; local
2057 ztest_write(ztest_ds_t *zd, uint64_t object, uint64_t offset, uint64_t size, void *data) argument
2081 ztest_truncate(ztest_ds_t *zd, uint64_t object, uint64_t offset, uint64_t size) argument
2119 ztest_prealloc(ztest_ds_t *zd, uint64_t object, uint64_t offset, uint64_t size) argument
2150 ztest_io(ztest_ds_t *zd, uint64_t object, uint64_t offset) argument
4010 uint64_t offset = (1ULL << (ztest_random(20) + 43)) + local
4031 uint64_t offset = (1ULL << (ztest_random(4) + SPA_MAXBLOCKSHIFT)) + local
4749 uint64_t offset; local
5003 uint64_t offset = i * blocksize; local
5939 int size, offset; local
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/common/avl/
H A Davl.c871 size_t size, size_t offset)
876 ASSERT(size >= offset + sizeof (avl_node_t));
878 ASSERT((offset & 0x7) == 0);
885 tree->avl_offset = offset;
870 avl_create(avl_tree_t *tree, int (*compar) (const void *, const void *), size_t size, size_t offset) argument
/freebsd-10.0-release/cddl/contrib/opensolaris/common/ctf/
H A Dctf_create.c258 * boundary past the CTF header itself (at relative offset zero).
307 * Fill in the string table offset and size, compute the size of the
1106 * Round up the offset of the end of the last member to the
1201 membcmp(const char *name, ctf_id_t type, ulong_t offset, void *arg) argument
1207 name, &ctm) == CTF_ERR || ctm.ctm_offset != offset);
1211 membadd(const char *name, ctf_id_t type, ulong_t offset, void *arg) argument
1231 dmd->dmd_offset = offset;
H A Dctf_types.c57 * type, and offset of each member to the specified callback function.
623 * Return the type and offset for a given member of a STRUCT or UNION.
786 const char *name, ulong_t offset, int depth)
800 if ((rc = func(name, otype, offset, depth, arg)) != 0)
817 offset + mp->ctm_offset, depth + 1)) != 0)
828 offset + (ulong_t)CTF_LMEM_OFFSET(lmp),
839 * type, and offset of each member to the specified callback function.
785 ctf_type_rvisit(ctf_file_t *fp, ctf_id_t type, ctf_visit_f *func, void *arg, const char *name, ulong_t offset, int depth) argument
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_as.c144 * xltab index reflects the offset 'xi' of the assigned dtdo_xlmtab[] location.
188 dt_as_undef(const dt_ident_t *idp, uint_t offset) argument
202 xyerror(D_ASRELO, "relocation remains against %s symbol %s%s%s (offset "
203 "0x%x)\n", kind, dts->dts_object, mark, dts->dts_name, offset);
H A Ddt_consume.c1057 * determining <symbol, offset> from <pid, address>. For now, if
1124 * and it is printed out beneath the frame and offset
1372 dt_printf(cbdatap->dtp, cbdatap->fp, "CTF_K_INTEGER: format %x offset %u bits %u\n",cte.cte_format,cte.cte_offset,cte.cte_bits);
1390 dt_printf(cbdatap->dtp, cbdatap->fp, "CTF_K_INTEGER: format %x offset %u bits %u\n",cte.cte_format,cte.cte_offset,cte.cte_bits);
1395 dt_printf(cbdatap->dtp, cbdatap->fp, "CTF_K_FLOAT: format %x offset %u bits %u\n",cte.cte_format,cte.cte_offset,cte.cte_bits);
1492 * length and round it up to become the offset to the start
1497 int offset = roundup(strlen(strp) + 1, sizeof(uintptr_t)); local
1518 addr += offset;
H A Ddt_provider.c516 const char *fname, const char *rname, uint32_t offset, int isenabled)
595 pvp->pv_desc.dtvd_name, prp->pr_ident->di_name, fname, offset,
599 (*offs)[(*noffs)++] = offset;
515 dt_probe_define(dt_provider_t *pvp, dt_probe_t *prp, const char *fname, const char *rname, uint32_t offset, int isenabled) argument
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_avl.c142 uintptr_t offset = (uintptr_t)np - (uintptr_t)base; local
143 if (offset + sizeof (*np) > pp->uap_objsize) {
145 "offset %ld doesn't fit in object (size %ld)\n",
147 (long)offset, (long)pp->uap_objsize);
149 if (offset != pp->uap_nodeoffset) {
151 "offset %ld doesn't match pool's offset (%ld)\n",
153 (long)offset, (long)pp->uap_objsize);
H A Duu_list.c138 uintptr_t offset = (uintptr_t)np - (uintptr_t)base; local
139 if (offset + sizeof (*np) > pp->ulp_objsize) {
141 "offset %ld doesn't fit in object (size %ld)\n",
143 (long)offset, (long)pp->ulp_objsize);
145 if (offset != pp->ulp_nodeoffset) {
147 "offset %ld doesn't match pool's offset (%ld)\n",
149 (long)offset, (long)pp->ulp_objsize);
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c504 vn_rdwr(int uio, vnode_t *vp, void *addr, ssize_t len, offset_t offset, argument
510 iolen = pread64(vp->v_fd, addr, len, offset);
519 iolen = pwrite64(vp->v_fd, addr, split, offset);
521 len - split, offset + split);
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h495 offset_t offset, int x1, int x2, rlim64_t x3, void *x4, ssize_t *residp);

Completed in 242 milliseconds

1234567891011>>