Searched refs:offset (Results 151 - 175 of 550) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsvcctl_scm.c556 int base_offset, offset; local
579 offset = buflen;
594 offset -= SVCCTL_WNSTRLEN(node_name);
596 w_name = (smb_wchar_t *)&buf[offset];
599 offset -= namelen;
600 a_name = (char *)&buf[offset];
603 svc[ns].svc_name = LE_IN32(&offset);
605 if (offset <= base_offset)
611 offset -= SVCCTL_WNSTRLEN(node_name);
613 w_name = (smb_wchar_t *)&buf[offset];
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Djournal.c77 uint64_t offset; local
89 offset = (uint64_t)block * PED_SECTOR_SIZE_DEFAULT * binsect;
90 jib->offset = HFS_CPU_TO_64(offset, is_le);
248 priv_data->jl_start_block = HFS_64_TO_CPU(jib->offset, is_le)
266 if ( (PED_BE64_TO_CPU(jib->offset) % PED_SECTOR_SIZE_DEFAULT)
271 _("Journal offset or size is not multiple of "
276 sector = PED_BE64_TO_CPU(jib->offset) / PED_SECTOR_SIZE_DEFAULT;
/osnet-11/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;
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dreiserfs.c172 grub_uint32_t offset; member in struct:grub_reiserfs_key::__anon412::__anon413
213 grub_uint32_t offset; member in struct:grub_reiserfs_directory_header
327 grub_printf ("parent id = 0x%08x, self id = 0x%08x, type = %s, offset = ",
341 /* Return the offset of given key. */
346 return grub_le_to_cpu32 (key->u.v1.offset);
351 /* Set the offset of given key. */
357 key->u.v1.offset = grub_cpu_to_le32 (value);
644 grub_off_t offset; local
663 offset = grub_le_to_cpu16 (found.header.item_location);
669 grub_disk_read (node->data->disk, block, offset, le
1083 grub_off_t offset; local
[all...]
H A Dbtrfs.c117 grub_uint64_t offset; member in struct:grub_btrfs_key
140 grub_uint64_t offset; member in struct:grub_btrfs_chunk_stripe
147 grub_uint32_t offset; member in struct:grub_btrfs_leaf_node
220 grub_uint64_t offset; member in struct:grub_btrfs_extent_data::__anon387::__anon388
286 if (grub_cpu_to_le64 (a->offset) < grub_cpu_to_le64 (b->offset))
288 if (grub_cpu_to_le64 (a->offset) > grub_cpu_to_le64 (b->offset))
369 + grub_le_to_cpu32 (leaf.offset);
397 key_in->object_id, key_in->type, key_in->offset);
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/io/
H A Dxzio.c85 grub_file_seek (file, file->offset - (read - dec));
202 file->offset = 0;
255 if (file->offset < xzio->saved_offset)
269 xzio->buf.out_size = file->offset + ret + len - current_offset;
300 if (file->offset <= new_offset)
303 grub_size_t delta = new_offset - (file->offset + ret);
319 xzio->saved_offset = file->offset + ret;
/osnet-11/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure_ctl.c46 size_t offset, len, pagelen; local
86 for (offset = 0; offset < datalen; offset += chunksz) {
88 len = MIN(datalen - offset, chunksz);
101 SCSI_WRITE32(&uip->sucpi_buffer_offset, offset);
105 bcopy(data + offset, &uip->sucpi_ucode_data[0],
/osnet-11/usr/src/lib/efcode/engine/
H A Dproperties.c372 int offset; local
379 offset = sizeof (uint32_t) * adr_cells;
381 PUSH(DS, (fstack_t)(ptr + offset));
382 PUSH(DS, len + offset);
386 offset -= sizeof (uint32_t);
387 d = get_decoded_int((uchar_t *)(ptr + offset));
654 int offset; local
658 offset = 0;
661 offset += (n+2)*sizeof (uint32_t);
664 print_ints(dp+offset, icell
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-mem/common/
H A Dmem.c221 insert_bits(uint64_t offset, uint64_t mask, uint64_t value) argument
229 if ((offset & from) != 0)
240 calc_phys_addr(mem_seg_map_t *seg, char *ds, uint64_t offset) argument
249 return (insert_bits(offset<<bm->bm_shift,
263 uint64_t offset, physaddr; local
273 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &offset) == 0) {
275 physaddr = calc_phys_addr(seg, *serids, offset);
294 offset = extract_bits(physaddr,
297 FM_FMRI_MEM_OFFSET, offset));
307 * What's left: physical address and offset calculation
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkimagexx.c143 SUFFIX (get_target_address) (Elf_Ehdr *e, Elf_Shdr *s, Elf_Addr offset, argument
146 return (Elf_Addr *) ((char *) e + grub_target_to_host32 (s->sh_offset) + offset);
351 Elf_Addr offset; local
356 offset = grub_target_to_host (r->r_offset);
358 offset, image_target);
378 grub_util_info ("relocating an R_386_32 entry to 0x%x at the offset 0x%x",
379 *target, offset);
386 - target_section_addr - offset
388 grub_util_info ("relocating an R_386_PC32 entry to 0x%x at the offset 0x%x",
389 *target, offset);
660 Elf_Addr offset; local
[all...]
H A Dmisc.c119 grub_util_read_at (void *img, size_t size, off_t offset, FILE *fp) argument
121 if (fseeko (fp, offset, SEEK_SET) == -1)
172 grub_util_write_image_at (const void *img, size_t size, off_t offset, FILE *out) argument
174 grub_util_info ("writing 0x%x bytes at offset 0x%x", size, offset);
175 if (fseeko (out, offset, SEEK_SET) == -1)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dtiearray.t106 my $offset = 2;
112 $id += $offset;
119 $id += $offset;
126 $id += $offset;
133 $id += $offset;
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfscat.c339 s64 offset; local
361 offset = 0;
365 bytes_read = ntfs_attr_mst_pread(attr, offset, 1, block_size, buffer);
369 bytes_read = ntfs_attr_pread(attr, offset, bufsize, buffer);
384 offset += bytes_read;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/
H A DHandle.pm45 =item WRITE this, scalar, length, offset
47 Write I<length> bytes of data from I<scalar> starting at I<offset>.
57 =item READ this, scalar, length, offset
59 Read I<length> bytes of data into I<scalar> starting at I<offset>.
89 =item SEEK this, offset, whence
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dnvtype.c154 size_t nv_datasize(Namval_t *np, size_t *offset) argument
203 if(a>1 && offset)
204 *offset = a*((*offset +a-1)/a);
238 size_t dsize=0,offset = (char*)np-(char*)pp->ptype; local
239 Namval_t *mp = (Namval_t*)((char*)pp->ttype+offset);
368 int save, offset=staktell(); local
431 nr = nv_create(stakptr(offset),root,NV_VARNAME|NV_NOADD,fp);
433 stakseek(offset);
619 int n, i, offset local
852 size_t offset=0; local
1217 int offset=staktell(); local
1405 int offset; member in struct:_field_
1434 int nnodes=0, offset=staktell(), n, r, i, j; local
[all...]
H A Dstring.c305 int offset; local
308 offset = staktell();
414 return(stakptr(offset));
433 int offset; local
439 offset = staktell();
621 return(stakptr(offset));
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Ddevice.h91 s64 (*seek)(struct ntfs_device *dev, s64 offset, int whence);
94 s64 (*pread)(struct ntfs_device *dev, void *buf, s64 count, s64 offset);
96 s64 offset);
/osnet-11/usr/src/lib/fm/topo/modules/common/ipmi/common/
H A Dipmi_methods.c120 * offset: a numeric offset that we'll number the FRU's from. This is to
131 uint32_t offset; local
140 if ((ret = nvlist_lookup_uint32(args, "offset", &offset)) != 0) {
141 topo_mod_dprintf(mod, "Failed to lookup 'offset' arg (%s)\n",
154 (topo_node_instance(node) + offset));
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dsmstdio.c195 ** offset -- new location based on 'whence'
196 ** whence -- indicates "base" for 'offset'
203 sm_stdioseek(fp, offset, whence)
205 off_t offset;
213 return fseek(s, offset, whence);
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dlcl_nw.c225 int c, bufsiz, offset = 0; local
240 p = fgets(bufp + offset, bufsiz - offset, pvt->fp);
255 offset = strlen(dbuf);
267 p -= offset;
268 offset = 0;
/osnet-11/usr/src/lib/libkvm/common/
H A Dkvm_getcmd.c265 size_t offset; local
359 offset = (char *)argv - (char *)u->u_argv;
362 str = (argv[i] += offset);
389 offset = (char *)envp - (char *)u->u_envp;
396 last_str += offset;
407 str = (envp[i] += offset);
/osnet-11/usr/src/grub/grub2/grub-core/loader/powerpc/ieee1275/
H A Dlinux.c157 grub_uint32_t offset; local
171 offset = entry - base_addr;
180 linux_addr = seg_addr + offset;
205 grub_uint64_t offset; local
216 offset = entry - base_addr;
226 linux_addr = seg_addr + offset;
/osnet-11/usr/src/lib/sun_fc/common/
H A DTgtFCHBA.cc112 string::size_type offset = path.find_last_of("."); local
113 if (offset >= 0) {
114 string portwwnString = path.substr(offset+1);
187 string::size_type offset = path.find_last_of("."); local
188 if (offset >= 0) {
189 string portwwnString = path.substr(offset+1);
/osnet-11/usr/src/lib/libfru/libfruraw/
H A Dfru_access.h52 uint32_t offset; /* bytes from container beginning */ member in struct:__anon1672
64 uint32_t offset; /* ditto */ member in struct:__anon1673
H A Dfru_access_impl.h100 uint32_t address; /* for SEEPROMS this is the offset */
129 uint16_t offset; /* segment data offset */ member in struct:__anon1682
133 /* segment information used in finding new offset for a new segment */
136 int offset; /* segment offset */ member in struct:__anon1683

Completed in 62 milliseconds

1234567891011>>