Home
last modified time | relevance | path

Searched refs:maxoff (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_rw.c64 const u_offset_t maxoff = MAXOFF32_T; in fake_pread() local
82 if (fileoff > maxoff) { in fake_pread()
91 if (fileoff + bcount > maxoff) in fake_pread()
92 bcount = (ssize_t)((offset_t)maxoff - fileoff); in fake_pread()
136 const u_offset_t maxoff = MAXOFF32_T; in fake_pwrite() local
153 if (fileoff > maxoff) { in fake_pwrite()
161 if (fileoff == maxoff) { in fake_pwrite()
165 if (fileoff + count > maxoff) in fake_pwrite()
166 bcount = (ssize_t)((u_offset_t)maxoff - fileoff); in fake_pwrite()
/illumos-gate/usr/src/cmd/mandoc/
H A Droff_term.c223 const size_t maxoff = 72; in roff_term_pre_ti() local
246 if (p->tcol->offset + len <= maxoff) in roff_term_pre_ti()
248 else if (p->tcol->offset < maxoff) in roff_term_pre_ti()
249 p->ti = maxoff - p->tcol->offset; in roff_term_pre_ti()
260 if ((size_t)len > maxoff) in roff_term_pre_ti()
261 len = maxoff; in roff_term_pre_ti()
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy4.c45 static int maxoff = 0; /* maximum offset into an array */ variable
140 if (k > maxoff) in callopt()
141 maxoff = k; in callopt()
160 if (j > maxoff) in callopt()
161 maxoff = j; in callopt()
284 nn = -maxoff; in stin()
415 "maximum spread: %d, maximum offset: %d\n", maxspr, maxoff); in osummary()
/illumos-gate/usr/src/cmd/tail/
H A Dmisc.c98 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff) in maparound()
99 mip->maplen = mip->maxoff - mip->mapoff; in maparound()
H A Dextern.h47 off_t maxoff; member
H A Dreverse.c109 map.mapoff = map.maxoff = size; in r_reg()
H A Dforward.c201 map.mapoff = map.maxoff = size; in rlines()
/illumos-gate/usr/src/uts/common/syscall/
H A Dsendfile.c410 const u_offset_t maxoff = MAXOFF32_T; in sendvec_small_chunk() local
578 if (sfv_off > maxoff) { in sendvec_small_chunk()
584 if (sfv_off + sfv_len > maxoff) { in sendvec_small_chunk()
585 total_size -= (sfv_off + sfv_len - maxoff); in sendvec_small_chunk()
586 sfv_len = (ssize_t)((offset_t)maxoff - in sendvec_small_chunk()
700 const u_offset_t maxoff = MAXOFF32_T; in sendvec_chunk() local
761 if (*fileoff >= maxoff) in sendvec_chunk()
764 if (*fileoff + sfv_len > maxoff) in sendvec_chunk()
910 if (sfv_off > maxoff) { in sendvec_chunk()
915 if (sfv_off + sfv_len > maxoff) { in sendvec_chunk()
[all …]
H A Drw.c350 u_offset_t maxoff = get_udatamodel() == DATAMODEL_ILP32 ? in pread() local
353 const u_offset_t maxoff = MAXOFF32_T; in pread() local
380 if (fileoff > maxoff) { in pread()
389 if (fileoff + bcount > maxoff) in pread()
390 bcount = (ssize_t)((offset_t)maxoff - fileoff); in pread()
490 u_offset_t maxoff = get_udatamodel() == DATAMODEL_ILP32 ? in pwrite() local
493 const u_offset_t maxoff = MAXOFF32_T; in pwrite() local
518 if (fileoff > maxoff) { in pwrite()
539 if (fileoff == maxoff) { in pwrite()
543 if (fileoff + count > maxoff) in pwrite()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dpfmod.c342 int maxoff = 0; in pfioctl() local
410 if ((arg -= ENF_PUSHWORD) > maxoff) in pfioctl()
411 maxoff = arg; in pfioctl()
442 pfp->pf_PByteLen = (maxoff + maxoffreg + 1) * sizeof (ushort_t); in pfioctl()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c989 offset_t maxoff; in spec_read() local
1008 maxoff = spec_maxoffset(vp); in spec_read()
1009 ASSERT(maxoff != -1 || vp->v_type == VCHR); in spec_read()
1011 if (maxoff != -1 && (uiop->uio_loffset < 0 || in spec_read()
1012 uiop->uio_loffset + uiop->uio_resid > maxoff)) in spec_read()
1095 offset_t maxoff; in spec_write() local
1111 maxoff = spec_maxoffset(vp); in spec_write()
1112 ASSERT(maxoff != -1 || vp->v_type == VCHR); in spec_write()
1114 if (maxoff != -1 && (uiop->uio_loffset < 0 || in spec_write()
1707 offset_t maxoff = spec_maxoffset(vp); in spec_seek() local
[all …]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_chip.c2000 uint64_t maxoff; in rge_pp_ioctl() local
2040 maxoff = PCI_CONF_HDR_SIZE; in rge_pp_ioctl()
2050 maxoff = RGE_REGISTER_MAX; in rge_pp_ioctl()
2065 maxoff = (MII_MAXREG+1)*2; in rge_pp_ioctl()
2075 maxoff = sizeof (*rgep); in rge_pp_ioctl()
2101 maxoff = areap->alength; in rge_pp_ioctl()
2122 if (ppd->pp_acc_offset >= maxoff) in rge_pp_ioctl()
2125 if (ppd->pp_acc_offset+ppd->pp_acc_size > maxoff) in rge_pp_ioctl()
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_chip.c1857 uint64_t maxoff; in nge_pp_ioctl() local
1897 maxoff = PCI_CONF_HDR_SIZE; in nge_pp_ioctl()
1907 maxoff = NGE_REG_SIZE; in nge_pp_ioctl()
1914 maxoff = NGE_MII_SIZE; in nge_pp_ioctl()
1921 maxoff = NGE_SEEROM_SIZE; in nge_pp_ioctl()
1942 if (ppd->pp_acc_offset >= maxoff) in nge_pp_ioctl()
1945 if (ppd->pp_acc_offset+ppd->pp_acc_size > maxoff) in nge_pp_ioctl()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_chip2.c6060 uint64_t maxoff; in bge_pp_ioctl() local
6100 maxoff = PCI_CONF_HDR_SIZE; in bge_pp_ioctl()
6110 maxoff = RIAAR_REGISTER_MAX; in bge_pp_ioctl()
6120 maxoff = MWBAR_ONCHIP_MAX; in bge_pp_ioctl()
6135 maxoff = (MII_MAXREG+1)*2; in bge_pp_ioctl()
6152 maxoff = SEEPROM_DEV_AND_ADDR_MASK; in bge_pp_ioctl()
6166 maxoff = NVM_FLASH_ADDR_MASK; in bge_pp_ioctl()
6177 maxoff = sizeof (*bgep); in bge_pp_ioctl()
6214 maxoff = areap->alength; in bge_pp_ioctl()
6235 if (ppd->pp_acc_offset >= maxoff) in bge_pp_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c5213 uint64_t maxoff; in e1000g_pp_ioctl() local
5266 maxoff = 0x10000; in e1000g_pp_ioctl()
5275 maxoff = sizeof (struct e1000g); in e1000g_pp_ioctl()
5281 if (ppd->pp_acc_offset >= maxoff) in e1000g_pp_ioctl()
5284 if (ppd->pp_acc_offset + ppd->pp_acc_size > maxoff) in e1000g_pp_ioctl()
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2972 txg_list_walk_init_common(mdb_walk_state_t *wsp, int txg, int maxoff) in txg_list_walk_init_common() argument
2991 lwd->lw_maxoff = maxoff; in txg_list_walk_init_common()