Home
last modified time | relevance | path

Searched refs:off (Results 201 – 225 of 1487) sorted by relevance

12345678910>>...60

/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_bitmap.c371 u_quad_t off, l; in bm_chunk_setup() local
375 off = BMAP_CHUNK_OFF(bn); in bm_chunk_setup()
376 l = bmp->bm_len - off; in bm_chunk_setup()
394 cp->c_off = off; in bm_chunk_setup()
917 off_t off; in dbm_chunk_seek() local
923 rv = (lseek(bmp->bm_fd, off, SEEK_SET) != off) ? -1 : 0; in dbm_chunk_seek()
970 u_quad_t off, l; in dbm_chunk_load() local
975 l = bmp->bm_len - off; in dbm_chunk_load()
1002 cp->c_off = off; in dbm_chunk_load()
1262 for (; b && off < l; off++) { in dbyte_apply_ifset()
[all …]
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dproperties.shlib16 typeset -a compress_prop_vals=('on' 'off' 'lzjb' 'gzip' 'gzip-1' 'gzip-2'
18 typeset -a checksum_prop_vals=('on' 'off' 'fletcher2' 'fletcher4' 'sha256'
25 typeset -a canmount_prop_vals=('on' 'off' 'noauto')
43 # 'off' and 'on' which can be either unwanted, or a duplicate of another
95 # Functions to toggle on/off properties
107 typeset newval='off'
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmzone.c56 static char off[16]; in tmzone() local
61 strlcpy(fixed.standard = fixed.daylight = off, name, sizeof(off)); in tmzone()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzvol.c695 uint64_t off = 0; in zvol_prealloc() local
719 off += bytes; in zvol_prealloc()
1103 lr->lr_offset = off; in zvol_log_write()
1113 off += len; in zvol_log_write()
1178 uint64_t off, volsize; in zvol_strategy() local
1211 off = ldbtob(bp->b_blkno); in zvol_strategy()
1245 size = MIN(size, P2END(off, zv->zv_volblocksize) - off); in zvol_strategy()
1269 off += size; in zvol_strategy()
1421 uint64_t off = uio->uio_loffset; in zvol_write() local
1425 bytes = volsize - off; in zvol_write()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPFindAttrs.c108 size_t len, off; in slp_UnpackAttrReply() local
131 off = SLP_HDRLEN + slp_get_langlen(reply); in slp_UnpackAttrReply()
133 if (slp_get_sht(reply, len, &off, &protoErrCode) != SLP_OK) in slp_UnpackAttrReply()
141 attr_tbv = reply + off; in slp_UnpackAttrReply()
142 tbv_len = off; in slp_UnpackAttrReply()
143 if (slp_get_string(reply, len, &off, &pcAttrList) != SLP_OK) in slp_UnpackAttrReply()
145 tbv_len = off - tbv_len; in slp_UnpackAttrReply()
148 if (slp_get_byte(reply, len, &off, &auth_cnt) != SLP_OK) { in slp_UnpackAttrReply()
161 reply + off, in slp_UnpackAttrReply()
162 len - off, in slp_UnpackAttrReply()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_write.c51 uint32_t off; in smb_pre_write() local
59 rc = smbsr_decode_vwv(sr, "wwl", &sr->smb_fid, &count, &off); in smb_pre_write()
62 param->rw_offset = (uint64_t)off; in smb_pre_write()
134 uint32_t off; in smb_pre_write_and_close() local
144 &count, &off, &param->rw_last_write); in smb_pre_write_and_close()
147 &count, &off, &param->rw_last_write); in smb_pre_write_and_close()
151 param->rw_offset = (uint64_t)off; in smb_pre_write_and_close()
235 uint32_t off; in smb_pre_write_and_unlock() local
244 rc = smbsr_decode_vwv(sr, "wwlw", &sr->smb_fid, &count, &off, &remcnt); in smb_pre_write_and_unlock()
247 param->rw_offset = (uint64_t)off; in smb_pre_write_and_unlock()
/illumos-gate/usr/src/common/fs/
H A Dpcfs.c279 ulong_t off, blk; in bpcfs_read() local
292 off = fp->fi_offset; in bpcfs_read()
297 off = fp->fi_offset; in bpcfs_read()
301 if ((c = MIN(FI_LENGTH(fp) - off, c)) == 0) in bpcfs_read()
304 while (off >= pcfsp->f_bpb.bs_spc * SECSIZ) { in bpcfs_read()
306 off -= pcfsp->f_bpb.bs_spc * SECSIZ; in bpcfs_read()
318 for (i = ((off / SECSIZ) % pcfsp->f_bpb.bs_spc); i < spc; i++) { in bpcfs_read()
319 xfer = MIN(SECSIZ - (off % SECSIZ), c - count); in bpcfs_read()
329 (void) bcopy(&block[off % SECSIZ], b, xfer); in bpcfs_read()
331 off += xfer; in bpcfs_read()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c310 offset_t off; in rwpcp() local
1438 u_offset_t off, in pcfs_getapage() argument
1503 off, (size_t)MIN(pc_blksize(fsp, pcp, off), PAGESIZE), 0); in pcfs_getapage()
1579 offset_t off, in pcfs_getpage() argument
1627 offset_t off, in pcfs_putpage() argument
1700 eoff = off + len; in pcfs_putpage()
1864 offset_t off, in pcfs_map() argument
1881 if (off > UINT32_MAX || off + len > UINT32_MAX) in pcfs_map()
1892 vn_a.offset = off; in pcfs_map()
1927 offset_t off, in pcfs_addmap() argument
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Dbootenv.rc29 setprop ttyd-rts-dtr-off false
31 setprop ttyc-rts-dtr-off false
33 setprop ttyb-rts-dtr-off false
35 setprop ttya-rts-dtr-off false
/illumos-gate/usr/src/cmd/locator/
H A Dlocator.c45 char *off; /* Logical off value for State */ member
80 locator_info->off; in change_locator_state()
121 else if (strcmp(state, locator_info->off) == 0) in display_locator_state()
178 locator_info->off = locator_off; in locator_walker_func()
180 locator_info->off = "OFF"; in locator_walker_func()
/illumos-gate/usr/src/cmd/bhyve/
H A Dtpm_ppi_qemu.c63 uint64_t off; in tpm_ppi_mem_handler() local
72 off = addr - TPM_PPI_ADDRESS; in tpm_ppi_mem_handler()
73 ptr = (uint8_t *)ppi + off; in tpm_ppi_mem_handler()
75 if (off > TPM_PPI_SIZE || off + size > TPM_PPI_SIZE) { in tpm_ppi_mem_handler()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregsubcomp.c195 op->off = 0; in regsubcomp()
289 if ((op->len = (t - sub->re_rhs) - op->off) && (n = ++op - sub->re_ops) >= nops) in regsubcomp()
299 op->off = t - sub->re_rhs; in regsubcomp()
334 if (op->len = (t - sub->re_rhs) - op->off) in regsubcomp()
337 op->off = c; in regsubcomp()
341 op->off = t - sub->re_rhs; in regsubcomp()
343 if ((op->len = (t - sub->re_rhs) - op->off) && (n = ++op - sub->re_ops) >= nops) in regsubcomp()
/illumos-gate/usr/src/boot/libsa/
H A Dtftp.c107 int off; member
462 tftpfile->off = 0; in tftp_open()
508 tftpfile->off + size > tftpfile->tftp_tsize) { in tftp_read()
509 size = tftpfile->tftp_tsize - tftpfile->off; in tftp_read()
517 needblock = tftpfile->off / tftpfile->tftp_blksize + 1; in tftp_read()
542 offinblock = tftpfile->off % tftpfile->tftp_blksize; in tftp_read()
548 tftpfile->off); in tftp_read()
557 tftpfile->off += count; in tftp_read()
616 tftpfile->off = offset; in tftp_seek()
619 tftpfile->off += offset; in tftp_seek()
[all …]
H A Dufs.c305 long off; in buf_write_file() local
314 off = blkoff(fs, fp->f_seekp); in buf_write_file()
332 if (*size_p > block_size - off) in buf_write_file()
333 *size_p = block_size - off; in buf_write_file()
339 if (((off > 0) || (*size_p + off < block_size)) && in buf_write_file()
358 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file()
380 long off; in buf_read_file() local
386 off = blkoff(fs, fp->f_seekp); in buf_read_file()
418 *buf_p = fp->f_buf + off; in buf_read_file()
419 *size_p = block_size - off; in buf_read_file()
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_send.c498 ASSERT(length <= scat->length - off); in rdsv3_ib_xmit_populate_wr()
501 if (off != 0) { in rdsv3_ib_xmit_populate_wr()
503 while (sgl->ds_len <= off) { in rdsv3_ib_xmit_populate_wr()
504 off -= sgl->ds_len; in rdsv3_ib_xmit_populate_wr()
514 sge->ds_va = sgl->ds_va + off; in rdsv3_ib_xmit_populate_wr()
515 assigned = min(len, sgl->ds_len - off); in rdsv3_ib_xmit_populate_wr()
521 off = 0; in rdsv3_ib_xmit_populate_wr()
580 ASSERT(!(off % RDSV3_FRAG_SIZE)); in rdsv3_ib_xmit()
745 rdsv3_ib_sg_dma_len(dev, scat) - off); in rdsv3_ib_xmit()
785 off += len; in rdsv3_ib_xmit()
[all …]
/illumos-gate/usr/src/lib/librsm/common/
H A Drsmgen.c102 __rsm_get8x8(rsm_memseg_import_handle_t im_memseg, off_t off, in __rsm_get8x8() argument
109 (uint8_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset]; in __rsm_get8x8()
145 __rsm_get16x16(rsm_memseg_import_handle_t im_memseg, off_t off, in __rsm_get16x16() argument
153 (uint16_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset]; in __rsm_get16x16()
189 __rsm_get32x32(rsm_memseg_import_handle_t im_memseg, off_t off, in __rsm_get32x32() argument
233 __rsm_get64x64(rsm_memseg_import_handle_t im_memseg, off_t off, in __rsm_get64x64() argument
292 __rsm_put8x8(rsm_memseg_import_handle_t im_memseg, off_t off, in __rsm_put8x8() argument
299 (uint8_t *)&seg->rsmseg_vaddr[off - seg->rsmseg_mapoffset]; in __rsm_put8x8()
335 __rsm_put16x16(rsm_memseg_import_handle_t im_memseg, off_t off, in __rsm_put16x16() argument
379 __rsm_put32x32(rsm_memseg_import_handle_t im_memseg, off_t off, in __rsm_put32x32() argument
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dlgrp.c3571 u_offset_t off; in lgrp_shm_policy_get() local
3601 off = vn_off; in lgrp_shm_policy_get()
3778 if (off) in lgrp_mem_choose()
3779 off--; in lgrp_mem_choose()
3841 if (off) in lgrp_mem_choose()
3842 off--; in lgrp_mem_choose()
3871 off--; in lgrp_mem_choose()
4111 if (off == seg->shm_off || off == seg->shm_off + seg->shm_size) in lgrp_shm_policy_split()
4146 u_offset_t off; in lgrp_shm_policy_set() local
4188 off = vn_off; in lgrp_shm_policy_set()
[all …]
/illumos-gate/usr/src/uts/common/io/rtls/
H A Drtls.h111 #define REG32(reg, off) ((uint32_t *)((uintptr_t)(reg) + off)) argument
112 #define REG16(reg, off) ((uint16_t *)((uintptr_t)(reg) + off)) argument
113 #define REG8(reg, off) ((uint8_t *)((uintptr_t)(reg) + off)) argument
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dstk.c457 register int off=stktell(stream); in stkcopy() local
459 if(off) in stkcopy()
461 if(off > sizeof(buff)) in stkcopy()
463 if(!(tp = malloc(off))) in stkcopy()
466 if(!sp->stkoverflow || !(tp = (*sp->stkoverflow)(off))) in stkcopy()
470 memcpy(tp, stream->_data, off); in stkcopy()
483 if(off) in stkcopy()
485 _stkseek(stream,off); in stkcopy()
486 memcpy(stream->_data, tp, off); in stkcopy()
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl_var.h575 #define mwl_mem_write4(sc, off, x) \ argument
577 (uint32_t *)((sc)->sc_mem_base + (off)), x)
579 #define mwl_mem_read4(sc, off) \ argument
581 (uint32_t *)((sc)->sc_mem_base + (off)))
583 #define mwl_ctl_write4(sc, off, x) \ argument
585 (uint32_t *)((sc)->sc_io_base + (off)), x)
587 #define mwl_ctl_read4(sc, off) \ argument
589 (uint32_t *)((sc)->sc_io_base + (off)))
591 #define mwl_ctl_read1(sc, off) \ argument
593 (uint8_t *)((sc)->sc_io_base + (off)))
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c328 sip->si_soff <= off && off < sip->si_eoff) { in swap_phys_free()
1594 u_offset_t off, in swapslot_free() argument
1646 ahm = AH_MUTEX(vp, off); in swapslot_free()
1648 ap = swap_anon(vp, off); in swapslot_free()
1703 u_offset_t off, start; in swap_newphysname() local
1743 ahm = AH_MUTEX(vp, off); in swap_newphysname()
1755 if (off > offset) { in swap_newphysname()
1759 } else if (off == offset) { in swap_newphysname()
1805 u_offset_t off, in swap_getphysname() argument
1813 ahm = AH_MUTEX(vp, off); in swap_getphysname()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsun.h53 #define MBLKIN(mp, off, len) (((off) <= MBLKL(mp)) && \ argument
54 (((mp)->b_rptr + (off) + (len)) <= (mp)->b_wptr))
/illumos-gate/usr/src/cmd/ptools/
H A DMakefile.bld62 CERRWARN_plgrp += -_smatch=off
64 CERRWARN_pmadvise += -_smatch=off
70 CERRWARN_ptree += -_smatch=off
78 CERRWARN_pwait += -_smatch=off
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_common.c1578 size_t off = *poff; in nss_pack_dbd() local
1584 bptr = (char *)buffer + off; in nss_pack_dbd()
1585 blen = bufsize - off; in nss_pack_dbd()
1634 *poff = off; in nss_pack_dbd()
1652 size_t blen, len, off = 0; in nss_pack() local
1684 off = sizeof (nss_pheader_t); in nss_pack()
1696 bptr = (char *)buffer + off; in nss_pack()
1697 blen = bufsize - off; in nss_pack()
1789 bptr = (char *)buffer + off; in nss_pack_ent()
1790 blen = bufsize - off; in nss_pack_ent()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_003_pos.ksh73 zfs set compression=off $spool/$sfs
75 zfs set compression=off $spool/$sfs
77 zfs set compression=off $spool/$sfs

12345678910>>...60