OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lastbn
(Results
1 - 7
of
7
) sorted by relevancy
/src/sbin/fsck_ffs/
dir.c
754
daddr_t
lastbn
, newblk, dirblk;
local
770
lastbn
= ffs_lblkno(sblock, iswap64(DIP(dp, size)));
771
if (
lastbn
>= UFS_NDADDR - 1 || DIP(dp, db[
lastbn
]) == 0 ||
777
dp2->di_db[
lastbn
+ 1] = dp2->di_db[
lastbn
];
778
dp2->di_db[
lastbn
] = iswap64(newblk);
782
dirblk = iswap64(dp2->di_db[
lastbn
+ 1]);
784
dp1->di_db[
lastbn
+ 1] = dp1->di_db[
lastbn
];
[
all
...]
/src/sbin/fsck_lfs/
dir.c
611
daddr_t
lastbn
;
local
615
lastbn
= lfs_lblkno(fs, lfs_dino_getsize(fs, dp));
616
if (
lastbn
>= ULFS_NDADDR - 1 || lfs_dino_getdb(fs, dp,
lastbn
) == 0 ||
619
lfs_dino_setdb(fs, dp,
lastbn
+ 1, lfs_dino_getdb(fs, dp,
lastbn
));
620
lfs_dino_setdb(fs, dp,
lastbn
, 0);
621
bp = getblk(vp,
lastbn
, lfs_sb_getbsize(fs));
627
bread(vp, lfs_dino_getdb(fs, dp,
lastbn
+ 1),
628
(long) lfs_dblksize(fs, dp,
lastbn
+ 1), 0, &bp)
[
all
...]
/src/sbin/fsck_ext2fs/
dir.c
557
daddr_t
lastbn
, newblk;
local
561
lastbn
= ext2_lblkno(&sblock, inosize(dp));
562
if (
lastbn
>= EXT2FS_NDADDR - 1 || fs2h32(dp->e2di_blocks[
lastbn
]) == 0 ||
569
dp->e2di_blocks[
lastbn
+ 1] = dp->e2di_blocks[
lastbn
];
570
dp->e2di_blocks[
lastbn
] = h2fs32(newblk);
573
bp = getdirblk(fs2h32(dp->e2di_blocks[
lastbn
+ 1]),
588
bp = getdirblk(fs2h32(dp->e2di_blocks[
lastbn
+ 1]),
603
dp->e2di_blocks[
lastbn
] = dp->e2di_blocks[lastbn + 1]
[
all
...]
/src/sys/ufs/ext2fs/
ext2fs_inode.c
490
*
lastbn
. If level is greater than SINGLE, the block is an indirect block
497
ext2fs_indirtrunc(struct inode *ip, daddr_t lbn, daddr_t dbn, daddr_t
lastbn
,
519
last =
lastbn
;
520
if (
lastbn
> 0)
553
if (
lastbn
>= 0) {
590
if (level > SINGLE &&
lastbn
>= 0) {
591
last =
lastbn
% factor;
/src/sys/ufs/ffs/
ffs_inode.c
619
*
lastbn
. If level is greater than SINGLE, the block is an indirect block
626
ffs_indirtrunc(struct inode *ip, daddr_t lbn, daddr_t dbn, daddr_t
lastbn
,
662
last =
lastbn
;
663
if (
lastbn
> 0)
712
if (
lastbn
>= 0 && !wapbl) {
772
if (level > SINGLE &&
lastbn
>= 0) {
773
last =
lastbn
% factor;
789
} else if (
lastbn
< 0 && error == 0) {
/src/sys/ufs/lfs/
lfs_inode.c
718
*
lastbn
. If level is greater than SINGLE, the block is an indirect block
726
daddr_t
lastbn
, int level, daddr_t *countp,
750
last =
lastbn
;
751
if (
lastbn
> 0)
783
if (
lastbn
>= 0) {
831
if (level > SINGLE &&
lastbn
>= 0) {
832
last =
lastbn
% factor;
/src/sys/miscfs/specfs/
spec_vnops.c
1094
daddr_t
lastbn
, *rablks;
local
1148
lastbn
= ((uio->uio_offset + uio->uio_resid - 1) >> DEV_BSHIFT)
1157
nrablks = uimin((
lastbn
- bn) / bscale, nra);
Completed in 22 milliseconds
Indexes created Sat Feb 21 01:20:28 UTC 2026