Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/sgs/yacc/common/
H A Dy4.c47 static int maxoff = 0; /* maximum offset into an array */ variable
142 if (k > maxoff) in callopt()
143 maxoff = k; in callopt()
162 if (j > maxoff) in callopt()
163 maxoff = j; in callopt()
286 nn = -maxoff; in stin()
417 "maximum spread: %d, maximum offset: %d\n", maxspr, maxoff); in osummary()
/titanic_50/usr/src/uts/common/syscall/
H A Drw.c349 u_offset_t maxoff = get_udatamodel() == DATAMODEL_ILP32 ? in pread() local
352 const u_offset_t maxoff = MAXOFF32_T; in pread() local
379 if (fileoff > maxoff) { in pread()
388 if (fileoff + bcount > maxoff) in pread()
389 bcount = (ssize_t)((offset_t)maxoff - fileoff); in pread()
417 if (vp->v_type == VREG && fileoff == (u_offset_t)maxoff) { in pread()
489 u_offset_t maxoff = get_udatamodel() == DATAMODEL_ILP32 ? in pwrite() local
492 const u_offset_t maxoff = MAXOFF32_T; in pwrite() local
517 if (fileoff > maxoff) { in pwrite()
538 if (fileoff == maxoff) { in pwrite()
[all …]
H A Dsendfile.c408 u_offset_t maxoff = (model == DATAMODEL_ILP32) ? in sendvec_small_chunk() local
411 const u_offset_t maxoff = MAXOFF32_T; in sendvec_small_chunk() local
579 if (sfv_off > maxoff) { in sendvec_small_chunk()
585 if (sfv_off + sfv_len > maxoff) { in sendvec_small_chunk()
586 total_size -= (sfv_off + sfv_len - maxoff); in sendvec_small_chunk()
587 sfv_len = (ssize_t)((offset_t)maxoff - in sendvec_small_chunk()
698 u_offset_t maxoff = (model == DATAMODEL_ILP32) ? in sendvec_chunk() local
701 const u_offset_t maxoff = MAXOFF32_T; in sendvec_chunk() local
758 if (*fileoff >= maxoff) in sendvec_chunk()
761 if (*fileoff + sfv_len > maxoff) in sendvec_chunk()
[all …]
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/
H A Dpfmod.c346 int maxoff = 0; in pfioctl() local
414 if ((arg -= ENF_PUSHWORD) > maxoff) in pfioctl()
415 maxoff = arg; in pfioctl()
446 pfp->pf_PByteLen = (maxoff + maxoffreg + 1) * sizeof (ushort_t); in pfioctl()
/titanic_50/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c986 offset_t maxoff; in spec_read() local
1005 maxoff = spec_maxoffset(vp); in spec_read()
1006 ASSERT(maxoff != -1 || vp->v_type == VCHR); in spec_read()
1008 if (maxoff != -1 && (uiop->uio_loffset < 0 || in spec_read()
1009 uiop->uio_loffset + uiop->uio_resid > maxoff)) in spec_read()
1092 offset_t maxoff; in spec_write() local
1108 maxoff = spec_maxoffset(vp); in spec_write()
1109 ASSERT(maxoff != -1 || vp->v_type == VCHR); in spec_write()
1111 if (maxoff != -1 && (uiop->uio_loffset < 0 || in spec_write()
1112 uiop->uio_loffset + uiop->uio_resid > maxoff)) in spec_write()
[all …]
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/nge/
H A Dnge_chip.c1851 uint64_t maxoff; in nge_pp_ioctl() local
1891 maxoff = PCI_CONF_HDR_SIZE; in nge_pp_ioctl()
1901 maxoff = NGE_REG_SIZE; in nge_pp_ioctl()
1908 maxoff = NGE_MII_SIZE; in nge_pp_ioctl()
1915 maxoff = NGE_SEEROM_SIZE; in nge_pp_ioctl()
1936 if (ppd->pp_acc_offset >= maxoff) in nge_pp_ioctl()
1939 if (ppd->pp_acc_offset+ppd->pp_acc_size > maxoff) in nge_pp_ioctl()
/titanic_50/usr/src/uts/common/io/bge/
H A Dbge_chip2.c5957 uint64_t maxoff; in bge_pp_ioctl() local
5997 maxoff = PCI_CONF_HDR_SIZE; in bge_pp_ioctl()
6007 maxoff = RIAAR_REGISTER_MAX; in bge_pp_ioctl()
6017 maxoff = MWBAR_ONCHIP_MAX; in bge_pp_ioctl()
6032 maxoff = (MII_MAXREG+1)*2; in bge_pp_ioctl()
6049 maxoff = SEEPROM_DEV_AND_ADDR_MASK; in bge_pp_ioctl()
6063 maxoff = NVM_FLASH_ADDR_MASK; in bge_pp_ioctl()
6074 maxoff = sizeof (*bgep); in bge_pp_ioctl()
6111 maxoff = areap->alength; in bge_pp_ioctl()
6132 if (ppd->pp_acc_offset >= maxoff) in bge_pp_ioctl()
[all …]
/titanic_50/usr/src/uts/common/io/e1000g/
H A De1000g_main.c5171 uint64_t maxoff; in e1000g_pp_ioctl() local
5224 maxoff = 0x10000; in e1000g_pp_ioctl()
5233 maxoff = sizeof (struct e1000g); in e1000g_pp_ioctl()
5239 if (ppd->pp_acc_offset >= maxoff) in e1000g_pp_ioctl()
5242 if (ppd->pp_acc_offset + ppd->pp_acc_size > maxoff) in e1000g_pp_ioctl()
/titanic_50/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2195 txg_list_walk_init_common(mdb_walk_state_t *wsp, int txg, int maxoff) in txg_list_walk_init_common() argument
2213 lwd->lw_maxoff = maxoff; in txg_list_walk_init_common()