Home
last modified time | relevance | path

Searched refs:off (Results 151 – 175 of 1488) sorted by relevance

12345678910>>...60

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dsocks.c107 size_t off; in proxy_read_line() local
109 for (off = 0; ; ) { in proxy_read_line()
110 if (off >= bufsz) in proxy_read_line()
112 if (atomicio(read, fd, buf + off, 1) != 1) in proxy_read_line()
115 if (buf[off] == '\r') in proxy_read_line()
117 if (buf[off] == '\n') { in proxy_read_line()
118 buf[off] = '\0'; in proxy_read_line()
125 off++; in proxy_read_line()
127 return (off); in proxy_read_line()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c763 offset_t off, in map_addr_proc() argument
853 off = off & (align_amount - 1); in map_addr_proc()
924 ASSERT(align == 0 ? off == 0 : off < align); in valid_va_range_aligned()
2888 u_offset_t off, in page_get_contigpages() argument
3021 u_offset_t off, in page_create_io() argument
3079 off += bytes_got; in page_create_io()
3098 off += MMU_PAGESIZE; in page_create_io()
3505 u_offset_t off, in page_create_io() argument
3568 off += MMU_PAGESIZE; in page_create_io()
3735 off += MMU_PAGESIZE; in page_create_io()
[all …]
/illumos-gate/usr/src/uts/common/fs/dcfs/
H A Ddc_vnops.c434 pp = page_create_va(vp, off, len, PG_WAIT, seg, addr); in dc_getblock_miss()
442 cblkno = off / len; in dc_getblock_miss()
463 xlen = hdr->ch_fsize - off; in dc_getblock_miss()
499 for (pgoff = off; pgoff < off + len; pgoff += PAGESIZE) { in dc_getblock()
568 vp_boff = rounddown(off, bsize); in dc_getpage()
569 vp_bend = roundup(off + len, bsize); in dc_getpage()
581 pvn_plist_init(plist, pl, plsz, off, len, rw); in dc_getpage()
639 for (io_off = off; io_off < off + len; io_off += PAGESIZE) { in dc_putpage()
686 if (off < (offset_t)0 || (offset_t)(off + len) < (offset_t)0) in dc_map()
700 map_addr(addrp, len, off, 1, flags); in dc_map()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dvpm.c752 u_offset_t off = baseoff; in vpm_pagecreate() local
762 base = segkpm_create_va(off); in vpm_pagecreate()
795 off += PAGESIZE; in vpm_pagecreate()
815 u_offset_t off, in vpm_map_pages() argument
833 baseoff = off & (offset_t)PAGEMASK; in vpm_map_pages()
1011 u_offset_t off, in vpm_data_copy() argument
1037 int pon = off & PAGEOFFSET; in vpm_data_copy()
1081 u_offset_t off, in vpm_sync_pages() argument
1141 u_offset_t off, in vpm_map_pages() argument
1155 u_offset_t off, in vpm_data_copy() argument
[all …]
H A Dpvn.h59 struct page *pvn_read_kluster(struct vnode *vp, u_offset_t off,
69 int pvn_vplist_dirty(struct vnode *vp, u_offset_t off,
80 struct vnode *vp, u_offset_t off, size_t len,
85 u_offset_t off, size_t io_len, enum seg_rw rw);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.h117 #define FMD_ASRU_AL_HASH_NAME(a, off) \ argument
118 *(char **)((uint8_t *)a + off)
119 #define FMD_ASRU_AL_HASH_NEXT(a, off) \ argument
120 *(fmd_asru_link_t **)((uint8_t *)a + off)
121 #define FMD_ASRU_AL_HASH_NEXTP(a, off) \ argument
122 (fmd_asru_link_t **)((uint8_t *)a + off)
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.c65 ptrdiff_t off; member
91 toktab[RDPOL].off = in devplcy_init()
93 toktab[WRPOL].off = in devplcy_init()
114 ptrdiff_t off; in fgetline() local
129 off = -1; in fgetline()
145 if (off == -1 || lastc == '\\') in fgetline()
152 off = i - 1; in fgetline()
159 fe.orgentry = buf + off; in fgetline()
167 for (off = 0; (p[-off] = p[0]) != '\0'; p++) in fgetline()
169 off += 2; in fgetline()
[all …]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dppage.c312 pagezero(page_t *pp, uint_t off, uint_t len) in pagezero() argument
319 ASSERT((int)len > 0 && (int)off >= 0 && off + len <= PAGESIZE); in pagezero()
347 bzero(va + off, len); in pagezero()
348 sync_icache(va + off, len); in pagezero()
349 } else if (hwblkclr(va + off, len)) { in pagezero()
354 sync_icache(va + off, len); in pagezero()
/illumos-gate/usr/src/boot/libsa/
H A Dsmbios.c63 #define SMBIOS_GET8(base, off) (*(uint8_t *)((base) + (off))) argument
64 #define SMBIOS_GET16(base, off) (*(uint16_t *)((base) + (off))) argument
65 #define SMBIOS_GET32(base, off) (*(uint32_t *)((base) + (off))) argument
66 #define SMBIOS_GET64(base, off) (*(uint64_t *)((base) + (off))) argument
205 #define UUID_GET(base, off) (*(UUID_TYPE *)((base) + (off))) argument
/illumos-gate/usr/src/uts/sparc/ml/
H A Dsparc_ddi.S109 jmpl %g1, %g0 ! bop off to new routine
122 jmpl %g1, %g0 ! bop off to new routine
133 jmpl %g1, %g0 ! bop off to new routine
144 jmpl %g1, %g0 ! bop off to new routine
155 jmpl %g1, %g0 ! bop off to new routine
166 jmpl %g1, %g0 ! bop off to new routine
177 jmpl %g1, %g0 ! bop off to new routine
201 jmpl %g1, %g0 ! bop off to new routine
210 jmpl %g1, %g0 ! bop off to new routine
222 jmpl %g1, %g0 ! bop off to new routine
/illumos-gate/usr/src/uts/common/sys/
H A Dvmsystm.h135 size_t minlen, int dir, size_t align, size_t redzone, size_t off);
141 extern uint_t map_pgszcvec(caddr_t addr, size_t size, uintptr_t off, int flags,
143 extern int choose_addr(struct as *as, caddr_t *addrp, size_t len, offset_t off,
145 extern void map_addr(caddr_t *addrp, size_t len, offset_t off, int vacalign,
148 extern void map_addr_proc(caddr_t *addrp, size_t len, offset_t off,
/illumos-gate/usr/src/cmd/install.d/
H A Dinstall.sh33 ECHO=echo PATH=/usr/bin FLAG=off
40 MFLAG=off
41 UFLAG=off
42 GFLAG=off
63 ROOTFLAG=off
74 *) FLAG=off
174 -u) if [ $ROOTFLAG = off ]
184 -g) if [ $ROOTFLAG = off ]
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c1432 off = 0; in udf_readlink()
1434 while (off < size) { in udf_readlink()
1663 offset_t off, in udf_getpage() argument
1948 offset_t off, in udf_putpage() argument
2036 offset_t off, in udf_map() argument
2083 vn_a.offset = off; in udf_map()
2571 count = isize - off; in ud_page_fill()
2699 eoff = off + len; in ud_putpages()
2866 count = isize - off; in ud_putapage()
2986 u_offset_t off; in ud_rdip() local
[all …]
H A Dudf_bmap.c144 if ((iext->ib_offset <= off) && in ud_bmap_read()
147 iext->ib_count - off) + in ud_bmap_read()
156 ((off - iext->ib_offset) >> l2b); in ud_bmap_read()
219 if (lblkno(udf_vfsp, off) < 0) { in ud_bmap_write()
230 end_req = BASE(off) + size; in ud_bmap_write()
302 icb_offset = PBASE(off); in ud_bmap_write()
307 count = end_req - PBASE(off); in ud_bmap_write()
419 if ((iext->ib_offset <= off) && in ud_bmap_write()
796 end_req = BASE(off) + size; in ud_last_alloc_ext()
817 if ((PCEIL(end_count) < PBASE(off)) && in ud_last_alloc_ext()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/mutex/
H A Dmutex.c139 __db_mutex_init(mp, off) in __db_mutex_init() argument
141 u_int32_t off;
154 COMPQUIET(off, 0);
164 mp->off = off;
228 k_lock.l_start = mp->off;
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioExtent.cc173 Double off; in ReadData() local
186 off = pos + start; in ReadData()
190 if (off >= newpos) { in ReadData()
197 buflen = GetHeader(pos).Time_to_Bytes((Double)(newpos - off)); in ReadData()
214 newpos = off; in ReadData()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_encrypted.ksh72 log_must zpool create -O encryption=off $TESTPOOL $DISKS
75 log_mustnot zpool create -O encryption=off -O keylocation=prompt \
77 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
79 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
/illumos-gate/usr/src/uts/common/krtld/
H A Dreloc.h255 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \ argument
259 _kobj_printf(ops, MSG_REL_NONALIGN, (u_longlong_t)EC_OFF((off)))
267 #define REL_ERR_LOSEBITS(lml, file, sym, rtype, uvalue, nbits, off) \ argument
273 _kobj_printf(ops, MSG_REL_OFFSET, (u_longlong_t)EC_NATPTR((off)))
295 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \ argument
298 ((sym) ? demangle(sym) : MSG_INTL(MSG_STR_UNKNOWN)), EC_OFF((off))))
305 #define REL_ERR_LOSEBITS(lml, file, sym, rtype, uvalue, nbits, off) \ argument
309 EC_XWORD((uvalue)), (nbits), EC_NATPTR((off))))
/illumos-gate/usr/src/boot/i386/isoboot/
H A Dcd9660read.c231 size_t dsize, off; in cd9660_lookup() local
259 off = 0; in cd9660_lookup()
262 while (off < dsize) { in cd9660_lookup()
263 if ((off % ISO_DEFAULT_BLOCK_SIZE) == 0) { in cd9660_lookup()
273 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_lookup()
293 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_lookup()
296 off += isonum_711(dp->length); in cd9660_lookup()
298 if (off >= dsize) { in cd9660_lookup()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/
H A Dmpool.c190 off_t off; local
229 off = mp->pagesize * pgno;
230 if (off / mp->pagesize != pgno) {
236 if (lseek(mp->fd, off, SEEK_SET) != off)
414 off_t off; local
424 off = mp->pagesize * bp->pgno;
425 if (off / mp->pagesize != bp->pgno) {
431 if (lseek(mp->fd, off, SEEK_SET) != off)
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c398 if (off == 0) { in _enterfile()
407 fent->e_off = off; in _enterfile()
454 int off; in enternoexistfile() local
484 off = file - path; in enternoexistfile()
485 file = (char *)rent->e_key + off; in enternoexistfile()
514 int off; in enterfile() local
586 off = nfile - npath; in enterfile()
587 nfile = (char *)rent->e_key + off; in enterfile()
631 off = ofile - opath; in enterfile()
1033 size_t off = file - name; in inspect() local
[all …]
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dxsave_util.c413 uint32_t off; in xsu_fpu_to_xregs() local
451 hdr->pr_info[curinfo].pri_offset = off; in xsu_fpu_to_xregs()
453 off += sizeof (prxregset_xsave_t); in xsu_fpu_to_xregs()
459 hdr->pr_info[curinfo].pri_offset = off; in xsu_fpu_to_xregs()
461 off += sizeof (prxregset_ymm_t); in xsu_fpu_to_xregs()
468 hdr->pr_info[curinfo].pri_offset = off; in xsu_fpu_to_xregs()
470 off += sizeof (prxregset_opmask_t); in xsu_fpu_to_xregs()
475 hdr->pr_info[curinfo].pri_offset = off; in xsu_fpu_to_xregs()
477 off += sizeof (prxregset_zmm_t); in xsu_fpu_to_xregs()
482 hdr->pr_info[curinfo].pri_offset = off; in xsu_fpu_to_xregs()
[all …]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Drawput.c45 _elf_read(int fd, off_t off, size_t fsz) in _elf_read() argument
57 if (lseek(fd, off, 0) != off) { in _elf_read()
/illumos-gate/usr/src/cmd/sendmail/db/xa/
H A Dxa_map.c187 __db_map_xid(env, xid, off) in __db_map_xid() argument
190 size_t off;
196 td = (TXN_DETAIL *)((u_int8_t *)tm->region + off);
213 __db_unmap_xid(env, xid, off) in __db_unmap_xid() argument
216 size_t off;
222 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnlspath_checks.c553 int off = (n - nfmt); in check_format() local
555 if (off >= olen * FORMAT_SIZE || in check_format()
556 ofmt[off] != 'n' || in check_format()
557 ofmt[off+1] != nfmt[off+1]) { in check_format()
626 int off = 1; in clean_env() local
628 for (p++; (p[-off] = p[0]) != NULL; p++) in clean_env()
630 off++; in clean_env()

12345678910>>...60