Searched refs:runb (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_bmap.c | 91 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 D | bmap.cc | 103 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 D | ufs_bmap.c | 160 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 D | tty_info.c | 111 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 D | vnode_if.src | 451 OUT int *runb;
|
H A D | vfs_vnops.c | 1736 &bmarg->bn, &bmarg->runp, &bmarg->runb); in vn_ioctl()
|
/freebsd/sys/sys/ |
H A D | filio.h | 66 int runb; member
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_vnops.c | 697 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()
|