Searched defs:offset (Results 276 - 300 of 1250) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_fat.c96 /* FAT offset and length */
101 /* Rootdir offset and length for FAT12/16 */
106 /* Data offset and number of clusters */
202 int offset; local
219 offset = (filepos & ((1 << FAT_SUPER->clustsize_bits) - 1));
272 size = (1 << FAT_SUPER->clustsize_bits) - offset;
278 devread(sector, offset, size, buf);
287 offset = 0;
385 * part) of the long filename, and also at which offset this
391 int i, offset; local
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c112 size_t offset; local
117 for (offset = 0; offset < PAGE_SIZE(handle); offset++) {
119 (readbuf[offset] != writebuf[offset]) &&
124 (void) sprintf(msgbuf, mem_err_msg, offset,
125 writebuf[offset], readbuf[offset]);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_log.c168 int safechars, offset; local
208 offset = strlen(buffer) - 6;
209 safechars = LOGBUFLEN - (offset - 1);
210 (void) snprintf(buffer + offset,
215 offset = strlen(buffer);
216 safechars = LOGBUFLEN - (offset - 1);
218 if (vsnprintf(buffer + offset, safechars, format, ap) >
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool_ui.h92 uint32_t offset; member in struct:uiargs
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclsensors.c698 uint8_t offset; local
716 offset = BYTE_6(res_datap) & 0x0F; /* first 4 bits */
717 switch (offset) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dutilities.c145 int offset; local
147 offset = 0;
151 (void) fprintf(NetTrace, "%c 0x%x\t", direction, offset);
162 offset += BYTES_PER_LINE/2;
170 offset += BYTES_PER_LINE;
1076 * into the buffer, starting at the given offset. If the buffer isn't
1077 * large enough for the given offset, or if buffer space is exhausted
1096 * supplied buffer is large enough to hold the supplied offset,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c125 void jkfprintf(FILE *tp, char *name, int mbox, int offset);
127 void notify(struct utmpx *utp, int offset);
253 int offset; local
270 offset = atoi(cp+1);
274 notify(utp, offset);
280 notify(utp, offset)
399 jkfprintf(tp, name, mbox, offset);
405 jkfprintf(tp, name, mbox, offset)
416 name, offset);
422 fseek(fi, offset, L_SE
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c51 * field, and offset is the index of the byte that we want highlighted.
52 * If the output isn't MDB_DUMP_ALIGNed, we use offset to adjust the
57 mdb_dump_header(int flags, int pad, int offset) argument
68 if (i == offset && !nalign)
71 mdb_printf("%2x", (i + (nalign * offset)) & 0xf);
77 if (i == offset && !nalign)
80 mdb_printf("%x", (i + (nalign * offset)) & 0xf);
200 uint64_t offset; /* bytes between first position and addr */ local
271 offset = l;
273 offset
[all...]
H A Dmdb_fdio.c79 fdio_seek(mdb_io_t *io, off64_t offset, int whence) argument
84 return (lseek64(fdp->fd_fd, offset, whence));
86 return (IOP_SEEK(io->io_next, offset, whence));
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkgrep.c84 uintptr_t addr, offset; local
102 offset = (caddr_t)pos - (caddr_t)page;
103 kgrep_cb(addr + offset, NULL, kg->kg_cbtype);
138 uintptr_t addr, size, offset; \
170 offset = (caddr_t)pos - (caddr_t)page; \
171 kgrep_cb(addr + offset, &out, kg->kg_cbtype); \
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_msgfmt.h70 off_t off; /* offset to the string */
112 unsigned int offset; member in struct:msgtbl
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_callbacks.c241 * offset (input) - stream position to seek to.
249 ndmpd_api_seek_v2(void *cookie, u_longlong_t offset, u_longlong_t length) argument
257 session->ns_data.dd_read_offset = offset;
269 session->ns_mover.md_position = offset;
271 request.offset = long_long_to_quad(offset);
286 err = ndmpd_mover_seek(session, offset, length);
638 * offset (input) - stream position to seek to.
647 ndmpd_api_seek_v3(void *cookie, u_longlong_t offset, u_longlong_t length) argument
656 session->ns_data.dd_read_offset = offset;
[all...]
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c315 FILE_ELF_OFF_T offset; local
340 offset = phdr->p_offset;
341 if (pread64(EI->elffd, (void *)nhdr, nsz, offset)
353 offset += nsz + ((nmsz + 0x03) & ~0x3);
360 if (pread64(EI->elffd, psinfo, dsz, offset) != dsz)
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_readdir.c53 static int create_dirents(struct autofs_rddir_cache *rdcp, ulong_t offset,
224 ulong_t offset,
246 this_bucket = (offset < next->offset);
251 assert(offset >= offtp->offset);
260 for (l = list; l != NULL && l->offset < offset; l = l->next)
272 trace_prt(1, "%s: offset searches (%d, %d)\n", rdcp->map, x, y);
296 * get the next elements offset
222 create_dirents( struct autofs_rddir_cache *rdcp, ulong_t offset, autofs_rddirres *res) argument
514 ulong_t offset = AUTOFS_DAEMONCOOKIE, offset_list = AUTOFS_DAEMONCOOKIE; local
[all...]
H A Dautod_xdr.c357 * off_t d_off; * offset of next entry *
457 int offset = -1; local
478 !xdr_int(xdrs, &offset)) {
484 dp->d_off = offset;
494 rddir->rddir_offset = offset;
/illumos-gate/usr/src/cmd/sckmd/sparc/sun4u/
H A Dsckmd.c506 static uint64_t *offset; local
511 /* Assume offset and len are initialized to NULL and 0 */
513 if ((offset == NULL) || (offset - len == msg_buf)) {
521 offset = NULL;
524 offset = msg_buf;
528 retval = (struct sadb_msg *)offset;
529 offset += retval->sadb_msg_len;
531 if (offset > msg_buf + len) {
537 offset
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_dup.c400 db_indx_t cnt, offset; local
433 offset = pagep->inp[indx];
435 if (pagep->inp[cnt] < offset)
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dsmfi.c47 size_t len, l1, l2, offset; local
65 offset = 0;
70 offset += MILTER_LEN_BYTES;
72 (void) memcpy(buf + offset, headerf, l1);
73 (void) memcpy(buf + offset + l1, headerv, l2);
181 size_t len, l0, l1, offset;
204 offset = l0;
210 SM_ASSERT(offset < len);
211 SM_ASSERT(offset + l1 <= len);
212 (void) memcpy(buf + offset, ar
246 size_t len, l0, l1, offset; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmime.c113 off_t offset; local
442 offset = sm_io_tell(e->e_dfp, SM_TIME_DEFAULT);
443 if (offset == -1)
472 /* return to the original offset for processing */
474 if (sm_io_seek(e->e_dfp, SM_TIME_DEFAULT, offset, SEEK_SET) < 0)
H A Dsfsasl.c199 static unsigned int offset = 0; local
231 offset = 0;
243 if (outlen - offset > size)
246 (void) memcpy(buf, outbuf + offset, size);
247 offset += size;
253 len = outlen - offset;
254 (void) memcpy(buf, outbuf + offset, (size_t) len);
259 offset = 0;
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Doutfile.c172 * Use elf_update(ELF_C_NULL) to calculate the offset of each section and their
180 * address and file offset are the same.
188 off_t offset; local
209 * Initialize the offset by skipping the Elf header and program
212 offset = ehdr->e_phoff + (ehdr->e_phnum * ehdr->e_phentsize);
226 * to cause the next segments virtual address and file offset to
233 size = (size_t)(S_ROUND(offset, phdr->p_align) -
234 offset);
252 * offset of each section. Retain the final section descriptor
258 offset
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioBuffer.cc188 // Return the buffer address at a given time offset
202 // If no offset, it's ok if the header hasn't been set yet
314 off_t offset; local
329 // If the starting offset is at or beyond EOF, return eof flag
337 offset = GetHeader().Time_to_Bytes(pos);
338 resid = GetHeader().Time_to_Bytes(GetLength()) - offset;
351 memcpy((char *)buf, (char *)((off_t)GetAddress() + offset),
359 pos = GetHeader().Bytes_to_Time(offset + cnt);
379 off_t offset; local
394 // If the starting offset beyon
[all...]
H A DAudioFile.cc434 off_t offset; local
463 offset = GetHeader().Time_to_Bytes(pos);
465 if ((offset + hdrsize) >= maplen) {
470 } else if ((offset + hdrsize + cnt) > maplen) {
472 cnt = (size_t)(maplen - (offset + hdrsize));
481 cp = mapaddr + offset + hdrsize;
487 pos = GetHeader().Bytes_to_Time(offset + len);
520 off_t& offset) // returned byte offset
522 offset
518 seekread( Double pos, off_t& offset) argument
534 seekwrite( Double pos, off_t& offset) argument
544 seekwrite(GetLength(), offset); // seek to eof local
569 size_t offset; local
[all...]
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Dii_stats.c372 int offset; local
385 offset = strlen(vol) - NAMED_LEN;
387 if (offset < 0)
388 offset = 0;
390 (void) printf(DATA_C16, vol + offset);
472 int offset; local
483 offset = strlen(vol) - NAMED_LEN;
485 if (offset < 0)
486 offset = 0;
489 (void) printf(DATA_C16, vol + offset);
513 int offset; local
554 int offset; local
595 int offset; local
[all...]
/illumos-gate/usr/src/cmd/avs/dsw/
H A Diiboot.c462 static int offset = sizeof (NSKERN_II_BMP_OPTION); local
515 if (ptr && set_is_offline(ptr + offset)) {

Completed in 84 milliseconds

<<11121314151617181920>>