Searched defs:pos (Results 51 - 75 of 172) sorted by relevance

1234567

/osnet-11/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure.c78 off_t pos; local
86 pos = 0;
88 pos < SCSI_READ16(&shpip->sspi_page_length);
89 pos += SES2_SUBHELP_LEN(tip),
90 tip = (ses2_subhelp_text_impl_t *)((uint8_t *)tip + pos)) {
135 off_t pos; local
144 pos = 0;
146 pos < SCSI_READ16(&ssip->ssipi_page_length);
147 pos += SES2_SUBSTR_LEN(dip),
149 ((uint8_t *)dip + pos)) {
[all...]
/osnet-11/usr/src/lib/libpp/common/
H A Dppop.c1498 Hash_position_t* pos; local
1504 if (tab && (pos = hashscan(tab, 0)))
1506 if (p = hashnext(pos))
1509 b = hashnext(pos);
1512 hashdone(pos);
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirp.c522 int pos = 0; local
542 i = write(pvt->fdCxn, buffer + pos, todo);
546 fwrite(buffer + pos, sizeof (char), todo, stderr);
H A Dlcl_ng.c277 char *pos, *gpos; local
297 pos = lp->l_line;
298 while (*pos != '\0') {
299 if (*pos == '(') {
308 pos++;
309 gpos = strsep(&pos, ")");
334 spos = strsep(&pos, ", \t");
340 if (pos == NULL)
342 while (*pos == ' ' || *pos
359 char *pos, *spos, *linep = NULL, *olinep; local
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dcompress.c306 * @pos: byte position in the attribute to begin reading from
312 * This function will read @count bytes starting at offset @pos from the
324 s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count, void *b) argument
336 ntfs_log_trace("Entering for inode 0x%llx, attr 0x%x, pos 0x%llx, count 0x%llx.\n",
338 (long long)pos, (long long)count);
340 pos < 0 || count < 0) {
355 if (pos + count > na->data_size) {
356 if (pos >= na->data_size) {
359 count = na->data_size - pos;
363 return ntfs_attr_pread(na, pos, coun
[all...]
H A Ddevice.c161 * @pos: position in device to read from
167 s64 pos __attribute__((unused)))
175 * @pos: position in device to read from
179 * This function will read @count bytes from device @dev at position @pos into
191 s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count, void *b) argument
197 ntfs_log_trace("Entering for pos 0x%llx, count 0x%llx.\n", pos, count);
198 if (!b || count < 0 || pos < 0) {
211 dops->seek(dev, pos, SEEK_SET) == (off_t)-1) {
213 "error", pos);
277 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count, const void *b) argument
369 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count, const u32 bksize, void *b) argument
426 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count, const u32 bksize, void *b) argument
[all...]
H A Dinode.c144 struct list_head *pos; local
152 list_for_each(pos, &vol->inode_cache[MREF(mref) &
156 tmp_ni = list_entry(pos, ntfs_inode, list_entry);
H A Dlogfile.c48 * @pos: position in logfile at which the restart page header resides
56 static BOOL ntfs_check_restart_page_header(RESTART_PAGE_HEADER *rp, s64 pos) argument
78 * We must be either at !pos (1st restart page) or at pos = system page
81 if (pos && pos != logfile_system_page_size) {
328 * @pos: position in @log_na at which the restart page resides
352 RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp,
361 if (!ntfs_check_restart_page_header(rp, pos)) {
385 else if (ntfs_attr_pread(log_na, pos,
351 ntfs_check_and_load_restart_page(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, LSN *lsn) argument
464 s64 size, pos; local
702 s64 len, pos, count; local
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/amiga/
H A Daffs.c53 PedSector root, len, pos; local
92 pos = (len - 1) / 2;
93 root = geom->start + (pos + reserved) * blocksize;
/osnet-11/usr/src/lib/libcmd/common/
H A Dcmp.c158 Sfoff_t pos = 0; local
208 pos += c1;
231 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
234 sfprintf(sfstdout, "%6I*d", sizeof(pos), pos - (last - p1));
240 sfprintf(sfstdout, "%6I*d", sizeof(pos), pos - (last - p1));
242 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u", file1, file2, sizeof(pos), pos
[all...]
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dmedia.c293 int pos; local
307 pos = 0;
326 found[pos++] = media[i];
338 found[pos] = NULL;
H A Dpartition.c102 int pos; local
188 pos = 0;
210 partitions[pos] = cache_get_desc(DM_PARTITION,
217 pos++;
220 partitions[pos] = NULL;
/osnet-11/usr/src/lib/libeti/form/common/
H A Dutility.c95 int pos = (int) (v - Buf(C(f))); local
97 Y(f) = pos / Xmax(f);
98 X(f) = pos - Y(f) * Xmax(f);
/osnet-11/usr/src/lib/libfuse/common/
H A Doptions.c56 fuse_opt_insert_arg(struct fuse_args *args, int pos, const char *arg) argument
60 if (pos < args->argc - 1) {
61 void *src = args->argv + pos;
62 void *dest = args->argv + pos + 1;
63 int len = args->argc - pos;
66 args->argv[pos] = args->argv[args->argc];
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dcm.h53 char *pos; member in struct:incoming_krb5_message
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap.c57 char *pos = strchr(input, '='); local
60 if (pos == NULL) {
66 int len = pos - input;
77 pos += 1; /* move past '=' */
78 while (isblank(*pos)) /* ignore leading blanks */
79 pos += 1;
80 if (*pos != '\0') {
81 *val = strdup (pos);
/osnet-11/usr/src/grub/grub2/grub-core/disk/arc/
H A Darcdisk.c196 grub_uint64_t pos = res | (1ULL << i); local
200 "seek to 0x%" PRIxGRUB_UINT64_T "\n", pos);
201 if (GRUB_ARC_FIRMWARE_VECTOR->seek (last_handle, &pos, 0))
232 grub_uint64_t pos = sector << 9; local
240 r = GRUB_ARC_FIRMWARE_VECTOR->seek (last_handle, &pos, 0);
244 pos, r);
/osnet-11/usr/src/grub/grub2/grub-core/disk/ieee1275/
H A Dofdisk.c318 unsigned long long pos; local
346 pos = sector * 512UL;
348 grub_ieee1275_seek (last_ihandle, pos, &status);
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dfshelp.c231 grub_off_t pos, grub_size_t len, char *buf,
240 if (pos + len > filesize)
241 len = filesize - pos;
243 blockcnt = ((len + pos) + blocksize - 1) >> (log2blocksize + GRUB_DISK_SECTOR_BITS);
245 for (i = pos >> (log2blocksize + GRUB_DISK_SECTOR_BITS); i < blockcnt; i++)
248 int blockoff = pos & (blocksize - 1);
262 blockend = (len + pos) & (blocksize - 1);
270 if (i == (pos >> (log2blocksize + GRUB_DISK_SECTOR_BITS)))
227 grub_fshelp_read_file(grub_disk_t disk, grub_fshelp_node_t node, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_size_t len, char *buf, grub_disk_addr_t (*get_block) (grub_fshelp_node_t node, grub_disk_addr_t block), grub_off_t filesize, int log2blocksize) argument
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/
H A Dtheme_loader.c201 int pos; member in struct:parsebuf
213 return p->pos < p->len;
222 c = p->buf[p->pos++];
242 return p->buf[p->pos];
298 start = p->pos;
303 end = p->pos;
324 start = p->pos;
327 end = p->pos;
337 start = p->pos;
343 end = p->pos;
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/
H A Dxz_dec_bcj.c52 uint32_t pos; member in struct:xz_dec_bcj
137 dest = src - (s->pos + (uint32_t)i + 5);
175 instr -= s->pos + (uint32_t)i;
249 addr -= s->pos + (uint32_t)i;
283 addr -= s->pos + (uint32_t)i + 8;
310 addr -= s->pos + (uint32_t)i + 4;
335 instr -= s->pos + (uint32_t)i;
348 * Apply the selected BCJ filter. Update *pos and s->pos to match the amount
356 uint8_t *buf, size_t *pos, size_
355 bcj_apply(struct xz_dec_bcj *s, uint8_t *buf, size_t *pos, size_t size) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/mmap/
H A Dmmap.c69 grub_uint64_t pos; member in struct:grub_mmap_scan
108 scanline_events[i].pos = addr;
120 scanline_events[i].pos = addr + size;
153 scanline_events[i].pos = cur->start;
161 scanline_events[i].pos = cur->end;
178 if (scanline_events[i + 1].pos < scanline_events[i].pos
179 || (scanline_events[i + 1].pos == scanline_events[i].pos
190 lastaddr = scanline_events[0].pos;
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dmain.c50 int pos = 0; local
82 if (pos > 0)
83 pos--;
92 if (pos == 0)
95 cmdline[pos++] = c;
99 if (pos >= max_len)
114 cmdline[pos++] = c;
118 cmdline[pos] = '\0';
121 if (pos == 0)
/osnet-11/usr/src/grub/grub2/grub-core/partmap/
H A Damiga.c98 unsigned pos;
101 for (pos = 0; pos < 15; pos++)
104 if (grub_disk_read (disk, pos, 0, sizeof (rdsk), &rdsk))
97 unsigned pos; local
H A Dsun.c77 grub_uint16_t *pos; local
80 for (pos = label;
81 pos < (label + sizeof (struct grub_sun_block) / 2);
82 pos++)
83 sum ^= *pos;

Completed in 56 milliseconds

1234567