/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | date.c | 63 int m1, ofs, n, cur_mask; local 70 ofs = 0; 72 ofs = 3; 76 value[ofs] = m1; 77 cur_mask = (1 << ofs); 85 value[ofs + n] = grub_strtoul (p + 1, &p, 10); 86 cur_mask |= (1 << (ofs + n)); 92 if ((ofs == 0) && (n == 2)) 94 value[ofs + 2] = value[ofs [all...] |
H A D | hexdump.c | 59 grub_size_t ofs; local 67 ofs = skip & (GRUB_DISK_SECTOR_SIZE * 4 - 1); 76 if (grub_disk_read (disk, sector, ofs, len, buf)) 81 ofs = 0;
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-fstest.c | 76 read_file (char *pathname, int (*hook) (grub_off_t ofs, char *buf, int len)) argument 80 grub_off_t ofs, len; local 135 ofs = skip; 149 grub_util_error (_("read error at offset %llu: %s"), ofs, 154 if ((sz == 0) || (hook (ofs, buf, sz))) 157 ofs += sz; 169 auto int cp_hook (grub_off_t ofs, char *buf, int len); 170 int cp_hook (grub_off_t ofs, char *buf, int len) argument 172 (void) ofs; 197 auto int cat_hook (grub_off_t ofs, cha 198 cat_hook(grub_off_t ofs, char *buf, int len) argument 221 cmp_hook(grub_off_t ofs, char *buf, int len) argument 270 hex_hook(grub_off_t ofs, char *buf, int len) argument 286 crc_hook(grub_off_t ofs, char *buf, int len) argument [all...] |
H A D | grub-pe2elf.c | 247 grub_uint32_t ofs, *addr; local 260 ofs = pe_rel->offset - pe_sec->virtual_address; 261 addr = (grub_uint32_t *)(image + pe_sec->raw_data_offset + ofs); 266 code = image[pe_sec->raw_data_offset + ofs - 1]; 279 - ofs - 4); 287 rel[num_rels].r_offset = ofs;
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/ieee1275/ |
H A D | nand.c | 145 grub_size_t bsize, ofs; local 152 grub_ieee1275_cell_t ofs; member in struct:read_args 165 ofs = ((grub_size_t) sector % data->block_size) << GRUB_DISK_SECTOR_BITS; 173 len = (ofs + size > bsize) ? (bsize - ofs) : size; 176 args.ofs = (grub_ieee1275_cell_t) ofs; 182 ofs = 0;
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | compress.c | 326 s64 br, to_read, ofs, total, total2; local 399 ofs = pos & cb_size_mask; 430 to_read = min(count, cb_size - ofs); 432 ofs = 0; 451 to_read = min(count, cb_size - ofs); 452 ofs += vcn << vol->cluster_size_bits; 458 br = ntfs_attr_pread(na, ofs, to_read, b); 475 ofs += br; 480 ofs = 0; 538 to_read = min(count, cb_size - ofs); [all...] |
H A D | runlist.c | 1038 s64 bytes_read, to_read, ofs, total; local 1048 for (ofs = 0; rl->length && (ofs + (rl->length << 1050 ofs += (rl->length << vol->cluster_size_bits); 1052 ofs = pos - ofs; 1053 for (total = 0LL; count; rl++, ofs = 0) { 1061 vol->cluster_size_bits) - ofs); 1071 ofs); 1074 vol->cluster_size_bits) + ofs, to_rea 1122 s64 written, to_write, ofs, total; local [all...] |
H A D | attrib.c | 868 s64 br, to_read, ofs, total, total2; local 957 ofs = pos - (rl->vcn << vol->cluster_size_bits); 958 for (; count; rl++, ofs = 0) { 967 ofs = pos + total - (rl->vcn << vol->cluster_size_bits); 976 vol->cluster_size_bits) - ofs); 986 ofs); 989 "lcn 0x%llx, ofs 0x%llx.\n", to_read, rl->vcn, 990 rl->lcn, ofs); 992 ofs, to_read, b); 1039 s64 written, to_write, ofs, tota local [all...] |
H A D | device.c | 534 * @ofs: offset to test for validity 536 * Test if the offset @ofs is an existing location on the device described 541 static int ntfs_device_offset_valid(struct ntfs_device *dev, s64 ofs) argument 545 if (dev->d_ops->seek(dev, ofs, SEEK_SET) >= 0 &&
|
H A D | mft.c | 427 s64 pass_end, ll, data_pos, pass_start, ofs, bit; local 475 ofs = data_pos >> 3; 476 ll = ((pass_end + 7) >> 3) - ofs; 479 ll = ntfs_attr_pread(mftbmp_na, ofs, size, buf);
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | cpio.c | 197 grub_int32_t *mtime, grub_disk_addr_t *ofs, 238 *ofs = 0; 246 *ofs = data->dofs + ALIGN_CPIO (data->size); 258 *ofs = 0; 322 *ofs = data->dofs + ((data->size + GRUB_DISK_SECTOR_SIZE - 1) & 492 grub_disk_addr_t ofs; local 522 if (grub_cpio_find_file (data, &name, &mtime, &ofs, &mode)) 525 if (!ofs) 570 ofs = 0; 576 data->hofs = ofs; 196 grub_cpio_find_file(struct grub_cpio_data *data, char **name, grub_int32_t *mtime, grub_disk_addr_t *ofs, grub_uint32_t *mode) argument 597 grub_disk_addr_t ofs; local [all...] |
H A D | ntfs.c | 38 u16at (void *ptr, grub_size_t ofs) argument 40 return grub_le_to_cpu16 (grub_get_unaligned16 ((char *) ptr + ofs)); 44 u32at (void *ptr, grub_size_t ofs) argument 46 return grub_le_to_cpu32 (grub_get_unaligned32 ((char *) ptr + ofs)); 50 u64at (void *ptr, grub_size_t ofs) argument 52 return grub_le_to_cpu64 (grub_get_unaligned64 ((char *) ptr + ofs)); 92 grub_disk_addr_t ofs, grub_size_t len, 101 grub_disk_addr_t ofs, grub_size_t len, 380 grub_disk_addr_t ofs, grub_size_t len, int cached, 399 if (ofs 379 read_data(struct grub_ntfs_attr *at, char *pa, char *dest, grub_disk_addr_t ofs, grub_size_t len, int cached, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length)) argument 496 read_attr(struct grub_ntfs_attr *at, char *dest, grub_disk_addr_t ofs, grub_size_t len, int cached, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length)) argument 832 int ofs; local [all...] |
H A D | ntfscomp.c | 290 ntfscomp (struct grub_ntfs_attr *at, char *dest, grub_uint32_t ofs, argument 312 if (ofs % GRUB_NTFS_COM_LEN) 325 o = ofs % GRUB_NTFS_COM_LEN;
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_util.c | 473 int ofs = 0; local 476 if (ofs % 16 == 0) 477 (void) fprintf(stderr, "%02X: ", ofs); 479 ofs++; 480 if (ofs % 16 == 0) 483 if (ofs % 16 != 0)
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | raid.c | 349 grub_uint64_t disknr, b, near, far, ofs; 352 far = ofs = near = 1; 363 ofs = far; 376 ofs *= array->chunk_size; 377 read_sector *= ofs; 427 read_sector += ofs; 444 read_sector += ofs; 348 grub_uint64_t disknr, b, near, far, ofs; local
|
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | ntfs.h | 185 grub_uint32_t ofs,
|
/osnet-11/usr/src/grub/grub2/grub-core/video/readers/ |
H A D | png.c | 367 int base, ofs, i; local 370 ofs = 0; 374 ofs += ht->maxval[i]; 377 ht->offset[i] = ofs - base;
|
H A D | jpeg.c | 189 int id, ac, n, base, ofs; local 223 ofs = 0; 227 ofs += count[i]; 230 data->huff_offset[id][i] = ofs - base;
|
/osnet-11/usr/src/lib/libc/sparcv9/gen/ |
H A D | strcmp.s | 88 sllx %o3, 3, %g5 ! leftshift = 8*ofs 94 sub %g0, %g5, %g4 ! rightshift = -(8*ofs) mod 64
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | tg3.c | 1412 static int tg3_stop_block(struct tg3 *tp, unsigned long ofs, uint32_t enable_bit) argument 1418 switch(ofs) { 1432 val = tr32(ofs); 1434 tw32(ofs, val); 1435 tr32(ofs); 1439 val = tr32(ofs); 1445 printf("tg3_stop_block timed out, ofs=%lx enable_bit=%x\n", 1446 ofs, enable_bit);
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/ |
H A D | bsd.c | 1165 int ofs, align_page; local 1189 ofs = 0x1000; 1195 ofs = sizeof (struct grub_aout32_header); 1228 return grub_aout_load (file, ofs, kern_chunk_src,
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfsclone.c | 1439 static int device_offset_valid(int fd, s64 ofs) argument 1443 if (lseek(fd, ofs, SEEK_SET) >= 0 && read(fd, &ch, 1) == 1)
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | queue.c | 7803 int ofs, nfs, r; local 7844 ofs = Queue[old->e_dfqgrp]->qg_qpaths[old->e_dfqdir].qp_fsysidx; 7846 if (FILE_SYS_DEV(ofs) == FILE_SYS_DEV(nfs))
|