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

/illumos-gate/usr/src/cmd/tail/
H A Dmisc.c98 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff)
99 mip->maplen = mip->maxoff - mip->mapoff;
H A Dextern.h47 off_t maxoff; member in struct:mapinfo
H A Dreverse.c109 map.mapoff = map.maxoff = size;
H A Dforward.c201 map.mapoff = map.maxoff = size;
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy4.c47 static int maxoff = 0; /* maximum offset into an array */ variable
142 if (k > maxoff)
143 maxoff = k;
162 if (j > maxoff)
163 maxoff = j;
286 nn = -maxoff;
417 "maximum spread: %d, maximum offset: %d\n", maxspr, maxoff);
/illumos-gate/usr/src/uts/common/syscall/
H A Drw.c349 u_offset_t maxoff = get_udatamodel() == DATAMODEL_ILP32 ? local
352 const u_offset_t maxoff = MAXOFF32_T; local
379 if (fileoff > maxoff) {
388 if (fileoff + bcount > maxoff)
389 bcount = (ssize_t)((offset_t)maxoff - fileoff);
417 if (vp->v_type == VREG && fileoff == (u_offset_t)maxoff) {
435 * File is greater than or equal to maxoff and therefore
489 u_offset_t maxoff = get_udatamodel() == DATAMODEL_ILP32 ? local
492 const u_offset_t maxoff = MAXOFF32_T; local
517 if (fileoff > maxoff) {
946 const u_offset_t maxoff = get_udatamodel() == DATAMODEL_ILP32 && local
950 const u_offset_t maxoff = MAXOFF32_T; local
1128 const u_offset_t maxoff = get_udatamodel() == DATAMODEL_ILP32 && local
1132 const u_offset_t maxoff = MAXOFF32_T; local
[all...]
H A Dsendfile.c408 u_offset_t maxoff = (model == DATAMODEL_ILP32) ? local
411 const u_offset_t maxoff = MAXOFF32_T; local
579 if (sfv_off > maxoff) {
585 if (sfv_off + sfv_len > maxoff) {
586 total_size -= (sfv_off + sfv_len - maxoff);
587 sfv_len = (ssize_t)((offset_t)maxoff -
698 u_offset_t maxoff = (model == DATAMODEL_ILP32) ? local
701 const u_offset_t maxoff = MAXOFF32_T; local
758 if (*fileoff >= maxoff)
761 if (*fileoff + sfv_len > maxoff)
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dpfmod.c346 int maxoff = 0; local
414 if ((arg -= ENF_PUSHWORD) > maxoff)
415 maxoff = arg;
446 pfp->pf_PByteLen = (maxoff + maxoffreg + 1) * sizeof (ushort_t);
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c986 offset_t maxoff; local
1005 maxoff = spec_maxoffset(vp);
1006 ASSERT(maxoff != -1 || vp->v_type == VCHR);
1008 if (maxoff != -1 && (uiop->uio_loffset < 0 ||
1009 uiop->uio_loffset + uiop->uio_resid > maxoff))
1092 offset_t maxoff; local
1108 maxoff = spec_maxoffset(vp);
1109 ASSERT(maxoff != -1 || vp->v_type == VCHR);
1111 if (maxoff != -1 && (uiop->uio_loffset < 0 ||
1112 uiop->uio_loffset + uiop->uio_resid > maxoff))
1706 offset_t maxoff = spec_maxoffset(vp); local
[all...]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_chip.c2000 uint64_t maxoff; local
2040 maxoff = PCI_CONF_HDR_SIZE;
2050 maxoff = RGE_REGISTER_MAX;
2065 maxoff = (MII_MAXREG+1)*2;
2075 maxoff = sizeof (*rgep);
2101 maxoff = areap->alength;
2122 if (ppd->pp_acc_offset >= maxoff)
2125 if (ppd->pp_acc_offset+ppd->pp_acc_size > maxoff)
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_chip.c1851 uint64_t maxoff; local
1891 maxoff = PCI_CONF_HDR_SIZE;
1901 maxoff = NGE_REG_SIZE;
1908 maxoff = NGE_MII_SIZE;
1915 maxoff = NGE_SEEROM_SIZE;
1936 if (ppd->pp_acc_offset >= maxoff)
1939 if (ppd->pp_acc_offset+ppd->pp_acc_size > maxoff)
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_chip2.c5957 uint64_t maxoff; local
5997 maxoff = PCI_CONF_HDR_SIZE;
6007 maxoff = RIAAR_REGISTER_MAX;
6017 maxoff = MWBAR_ONCHIP_MAX;
6032 maxoff = (MII_MAXREG+1)*2;
6049 maxoff = SEEPROM_DEV_AND_ADDR_MASK;
6063 maxoff = NVM_FLASH_ADDR_MASK;
6074 maxoff = sizeof (*bgep);
6111 maxoff = areap->alength;
6132 if (ppd->pp_acc_offset >= maxoff)
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c5019 uint64_t maxoff; local
5072 maxoff = 0x10000;
5081 maxoff = sizeof (struct e1000g);
5087 if (ppd->pp_acc_offset >= maxoff)
5090 if (ppd->pp_acc_offset + ppd->pp_acc_size > maxoff)
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2467 txg_list_walk_init_common(mdb_walk_state_t *wsp, int txg, int maxoff) argument
2485 lwd->lw_maxoff = maxoff;

Completed in 117 milliseconds