Home
last modified time | relevance | path

Searched refs:runb (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/fs/ext2fs/
H A Dext2_bmap.c91 ext4_bmapext(struct vnode *vp, int32_t bn, int64_t *bnp, int *runp, int *runb) in ext4_bmapext() argument
117 if (runb != NULL) in ext4_bmapext()
118 *runb = 0; in ext4_bmapext()
140 if (runb != NULL) in ext4_bmapext()
141 *runb = min(maxrun, lbn - le32toh(ep->e_blk)); in ext4_bmapext()
143 if (runb != NULL) in ext4_bmapext()
144 *runb = min(maxrun, le32toh(ep->e_blk) + lbn - in ext4_bmapext()
210 ext2_bmaparray(struct vnode *vp, daddr_t bn, daddr_t *bnp, int *runp, int *runb) in ext2_bmaparray() argument
233 if (runb) in ext2_bmaparray()
234 *runb = 0; in ext2_bmaparray()
[all …]
/freebsd/tests/sys/fs/fusefs/
H A Dbmap.cc103 arg.runb = -1; in TEST_F()
111 EXPECT_LE(arg.runb, lbn); in TEST_F()
112 EXPECT_LE((unsigned long)arg.runb, m_maxreadahead / m_maxbcachebuf); in TEST_F()
113 EXPECT_LE((unsigned long)arg.runb, m_maxphys / m_maxbcachebuf); in TEST_F()
114 EXPECT_GT(arg.runb, 0); in TEST_F()
151 arg.runb = -1; in TEST_F()
155 EXPECT_EQ(arg.runb, 0); in TEST_F()
161 arg.runb = -1; in TEST_F()
165 EXPECT_EQ((unsigned long )arg.runb, m_maxphys / m_maxbcachebuf - 1); in TEST_F()
171 arg.runb = -1; in TEST_F()
[all …]
/freebsd/sys/ufs/ufs/
H A Dufs_bmap.c160 int *runb) in ufs_bmaparray() argument
182 if (runb) { in ufs_bmaparray()
183 *runb = 0; in ufs_bmaparray()
231 if (runb && (bn > 0)) { in ufs_bmaparray()
232 for (--bn; (bn >= 0) && (*runb < maxrun) && in ufs_bmaparray()
235 --bn, ++*runb); in ufs_bmaparray()
282 if (runb && bn) { in ufs_bmaparray()
283 for (--bn; bn >= 0 && *runb < maxrun && in ufs_bmaparray()
287 --bn, ++*runb); in ufs_bmaparray()
300 if (runb && bn) { in ufs_bmaparray()
[all …]
/freebsd/sys/kern/
H A Dtty_info.c111 int runa, runb; in thread_compare() local
127 runb = TD_IS_RUNNING(td2) || TD_ON_RUNQ(td2); in thread_compare()
134 switch (TESTAB(runa, runb)) { in thread_compare()
168 int runa, runb; in proc_compare() local
182 runb = proc_sum(p2, &estb); in proc_compare()
188 switch (TESTAB(runa, runb)) { in proc_compare()
H A Dvnode_if.src451 OUT int *runb;
H A Dvfs_vnops.c1736 &bmarg->bn, &bmarg->runp, &bmarg->runb); in vn_ioctl()
/freebsd/sys/sys/
H A Dfilio.h66 int runb; member
/freebsd/sys/fs/fuse/
H A Dfuse_vnops.c697 int *runb = ap->a_runb; in fuse_vnop_bmap() local
724 if (runb != NULL) in fuse_vnop_bmap()
725 *runb = MIN(lbn, maxrun); in fuse_vnop_bmap()