Home
last modified time | relevance | path

Searched refs:dno (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/fs/hpfs/
Ddnode.c219 dnode_secno dno = le32_to_cpu(d->self); in fix_up_ptrs() local
225 if (le32_to_cpu(dd->up) != dno || dd->root_dnode) { in fix_up_ptrs()
226 dd->up = cpu_to_le32(dno); in fix_up_ptrs()
237 static int hpfs_add_to_dnode(struct inode *i, dnode_secno dno, in hpfs_add_to_dnode() argument
263 if (!(d = hpfs_map_dnode(i->i_sb, dno, &qbh))) { in hpfs_add_to_dnode()
270 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_to_dnode")) { in hpfs_add_to_dnode()
316 for_all_poss(i, hpfs_pos_subst, ((loff_t)dno << 4) | pos, ((loff_t)adno << 4) | pos); in hpfs_add_to_dnode()
323 for_all_poss(i, hpfs_pos_subst, ((loff_t)dno << 4) | pos, 4); in hpfs_add_to_dnode()
330 for_all_poss(i, hpfs_pos_del, (loff_t)dno << 4, pos); in hpfs_add_to_dnode()
334 dno = le32_to_cpu(ad->up); in hpfs_add_to_dnode()
[all …]
Dalloc.c405 void hpfs_free_dnode(struct super_block *s, dnode_secno dno) in hpfs_free_dnode() argument
407 if (hpfs_sb(s)->sb_chk) if (dno & 3) { in hpfs_free_dnode()
408 hpfs_error(s, "hpfs_free_dnode: dnode %08x not aligned", dno); in hpfs_free_dnode()
411 if (dno < hpfs_sb(s)->sb_dirband_start || in hpfs_free_dnode()
412 dno >= hpfs_sb(s)->sb_dirband_start + hpfs_sb(s)->sb_dirband_size) { in hpfs_free_dnode()
413 hpfs_free_sectors(s, dno, 4); in hpfs_free_dnode()
417 unsigned ssec = (dno - hpfs_sb(s)->sb_dirband_start) / 4; in hpfs_free_dnode()
424 hpfs_claim_dirband_free(s, dno); in hpfs_free_dnode()
429 dnode_secno *dno, struct quad_buffer_head *qbh) in hpfs_alloc_dnode() argument
433 if (!(*dno = alloc_in_dirband(s, near))) in hpfs_alloc_dnode()
[all …]
Dnamei.c35 dnode_secno dno; in hpfs_mkdir() local
45 dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0); in hpfs_mkdir()
61 hpfs_i(result)->i_dno = dno; in hpfs_mkdir()
90 fnode->u.external[0].disk_secno = cpu_to_le32(dno); in hpfs_mkdir()
123 hpfs_free_dnode(dir->i_sb, dno); in hpfs_mkdir()
382 dnode_secno dno; in hpfs_unlink() local
390 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); in hpfs_unlink()
402 r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); in hpfs_unlink()
433 dnode_secno dno; in hpfs_rmdir() local
441 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); in hpfs_rmdir()
[all …]
Dmap.c326 dnode_secno dno; in hpfs_fnode_dno() local
332 dno = le32_to_cpu(fnode->u.external[0].disk_secno); in hpfs_fnode_dno()
334 return dno; in hpfs_fnode_dno()
Dhpfs_fn.h253 dnode_secno hpfs_de_as_down_as_possible(struct super_block *, dnode_secno dno);
/linux-5.19.10/drivers/net/ethernet/tehuti/
Dtehuti.c1084 int dno, delta, idx; in bdx_rx_alloc_skbs() local
1088 dno = bdx_rxdb_available(db) - 1; in bdx_rx_alloc_skbs()
1089 while (dno > 0) { in bdx_rx_alloc_skbs()
1118 dno--; in bdx_rx_alloc_skbs()