Home
last modified time | relevance | path

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

/fs/romfs/
Dsuper.c472 struct romfs_super_block *rsb; in romfs_fill_super() local
494 rsb = kmalloc(512, GFP_KERNEL); in romfs_fill_super()
495 if (!rsb) in romfs_fill_super()
499 ret = romfs_dev_read(sb, 0, rsb, 512); in romfs_fill_super()
503 img_size = be32_to_cpu(rsb->size); in romfs_fill_super()
510 if (rsb->word0 != ROMSB_WORD0 || rsb->word1 != ROMSB_WORD1 || in romfs_fill_super()
519 if (romfs_checksum(rsb, min_t(size_t, img_size, 512))) { in romfs_fill_super()
527 len = strnlen(rsb->name, ROMFS_MAXFN); in romfs_fill_super()
530 (unsigned) len, (unsigned) len, rsb->name, storage); in romfs_fill_super()
532 kfree(rsb); in romfs_fill_super()
[all …]
/fs/xfs/
Dxfs_rtalloc.c206 xfs_fsblock_t *rsb, /* in/out: summary block number */ in xfs_rtallocate_extent_block() argument
239 rsb); in xfs_rtallocate_extent_block()
287 error = xfs_rtallocate_range(mp, tp, besti, bestlen, rbpp, rsb); in xfs_rtallocate_extent_block()
318 xfs_fsblock_t *rsb, /* in/out: summary block number */ in xfs_rtallocate_extent_exact() argument
339 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); in xfs_rtallocate_extent_exact()
374 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); in xfs_rtallocate_extent_exact()
397 xfs_fsblock_t *rsb, /* in/out: summary block number */ in xfs_rtallocate_extent_near() argument
421 rbpp, rsb, prod, &r); in xfs_rtallocate_extent_near()
445 bbno + i, rbpp, rsb, &any); in xfs_rtallocate_extent_near()
464 rsb, prod, &r); in xfs_rtallocate_extent_near()
[all …]
/fs/dlm/
Ddebug_fs.c387 struct dlm_rsb *rsb; member
406 rv = print_format1(ri->rsb, seq); in table_seq_show()
415 rv = print_format2(ri->rsb, seq); in table_seq_show()
422 rv = print_format3(ri->rsb, seq); in table_seq_show()
429 rv = print_format4(ri->rsb, seq); in table_seq_show()
480 ri->rsb = r; in table_seq_start()
511 ri->rsb = r; in table_seq_start()
539 rp = ri->rsb; in table_seq_next()
545 ri->rsb = r; in table_seq_next()
576 ri->rsb = r; in table_seq_next()
[all …]
Dlockspace.c752 struct dlm_rsb *rsb; in release_lockspace() local
807 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace()
809 dlm_free_rsb(rsb); in release_lockspace()
813 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace()
815 dlm_free_rsb(rsb); in release_lockspace()
825 rsb = list_first_entry(&ls->ls_new_rsb, struct dlm_rsb, in release_lockspace()
827 list_del(&rsb->res_hashchain); in release_lockspace()
828 dlm_free_rsb(rsb); in release_lockspace()
Ddir.h17 int dlm_dir_nodeid(struct dlm_rsb *rsb);
Dlock.c472 static int rsb_insert(struct dlm_rsb *rsb, struct rb_root *tree) in rsb_insert() argument
483 rc = rsb_cmp(cur, rsb->res_name, rsb->res_length); in rsb_insert()
490 dlm_dump_rsb(rsb); in rsb_insert()
496 rb_link_node(&rsb->res_hashnode, parent, newn); in rsb_insert()
497 rb_insert_color(&rsb->res_hashnode, tree); in rsb_insert()