/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | svcctl_scm.c | 556 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 D | journal.c | 77 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 D | jupiter.c | 58 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 D | reiserfs.c | 172 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 D | btrfs.c | 117 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 D | xzio.c | 85 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 D | ses2_enclosure_ctl.c | 46 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 D | properties.c | 372 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 D | mem.c | 221 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 D | grub-mkimagexx.c | 143 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 D | misc.c | 119 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 D | tiearray.t | 106 my $offset = 2; 112 $id += $offset; 119 $id += $offset; 126 $id += $offset; 133 $id += $offset;
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfscat.c | 339 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 D | Handle.pm | 45 =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 D | nvtype.c | 154 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 D | string.c | 305 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 D | device.h | 91 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 D | ipmi_methods.c | 120 * 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 D | smstdio.c | 195 ** 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 D | lcl_nw.c | 225 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 D | kvm_getcmd.c | 265 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 D | linux.c | 157 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 D | TgtFCHBA.cc | 112 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 D | fru_access.h | 52 uint32_t offset; /* bytes from container beginning */ member in struct:__anon1672 64 uint32_t offset; /* ditto */ member in struct:__anon1673
|
H A D | fru_access_impl.h | 100 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
|