Home
last modified time | relevance | path

Searched refs:slot_num (Results 1 – 12 of 12) sorted by relevance

/fs/ocfs2/
Dslot_map.c48 int slot_num) in ocfs2_invalidate_slot() argument
50 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_invalidate_slot()
51 si->si_slots[slot_num].sl_valid = 0; in ocfs2_invalidate_slot()
55 int slot_num, unsigned int node_num) in ocfs2_set_slot() argument
57 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_set_slot()
59 si->si_slots[slot_num].sl_valid = 1; in ocfs2_set_slot()
60 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot()
148 int slot_num, in ocfs2_update_disk_slot_extended() argument
151 int blkind = slot_num / si->si_slots_per_block; in ocfs2_update_disk_slot_extended()
152 int slotno = slot_num % si->si_slots_per_block; in ocfs2_update_disk_slot_extended()
[all …]
Djournal.c49 int node_num, int slot_num);
56 int slot_num);
62 int slot_num,
829 osb->slot_num); in ocfs2_journal_init()
1069 ocfs2_clear_journal_error(osb->sb, journal->j_journal, osb->slot_num); in ocfs2_journal_load()
1294 int slot_num, in ocfs2_queue_recovery_completion() argument
1319 item->lri_slot = slot_num; in ocfs2_queue_recovery_completion()
1341 ocfs2_queue_recovery_completion(journal, osb->slot_num, in ocfs2_complete_mount_recovery()
1358 osb->slot_num, in ocfs2_complete_quota_recovery()
1369 int status, node_num, slot_num; in __ocfs2_recovery_thread() local
[all …]
Dslot_map.h23 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num,
26 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
Dquota_local.c386 int slot_num) in ocfs2_begin_quota_recovery() argument
402 "slot %u\n", osb->dev_str, slot_num); in ocfs2_begin_quota_recovery()
414 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); in ocfs2_begin_quota_recovery()
431 "(slot=%d type=%d)\n", slot_num, type); in ocfs2_begin_quota_recovery()
584 int slot_num) in ocfs2_finish_quota_recovery() argument
598 "slot %u\n", osb->dev_str, slot_num); in ocfs2_finish_quota_recovery()
604 trace_ocfs2_finish_quota_recovery(slot_num); in ocfs2_finish_quota_recovery()
605 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); in ocfs2_finish_quota_recovery()
617 "locked.\n", osb->dev_str, slot_num); in ocfs2_finish_quota_recovery()
630 "(slot=%d type=%d)\n", slot_num, type); in ocfs2_finish_quota_recovery()
[all …]
Dlocalalloc.c291 osb->slot_num); in ocfs2_load_local_alloc()
387 osb->slot_num); in ocfs2_shutdown_local_alloc()
477 int slot_num, in ocfs2_begin_local_alloc_recovery() argument
485 trace_ocfs2_begin_local_alloc_recovery(slot_num); in ocfs2_begin_local_alloc_recovery()
491 slot_num); in ocfs2_begin_local_alloc_recovery()
628 osb->slot_num); in ocfs2_reserve_local_alloc_bits()
693 ac->ac_alloc_slot = osb->slot_num; in ocfs2_reserve_local_alloc_bits()
706 bits_wanted, osb->slot_num, status); in ocfs2_reserve_local_alloc_bits()
Dquota.h89 struct ocfs2_super *osb, int slot_num);
92 int slot_num);
Dsuper.c334 (i == osb->slot_num ? '*' : ' '), in ocfs2_osb_dump()
459 new = ocfs2_get_system_file_inode(osb, i, osb->slot_num); in ocfs2_init_global_system_inodes()
489 new = ocfs2_get_system_file_inode(osb, i, osb->slot_num); in ocfs2_init_local_system_inodes()
494 status, i, osb->slot_num); in ocfs2_init_local_system_inodes()
923 osb->slot_num); in ocfs2_enable_quotas()
1130 osb->dev_str, nodestr, osb->slot_num, in ocfs2_fill_super()
1906 if (osb->slot_num != OCFS2_INVALID_SLOT) in ocfs2_dismount_volume()
2096 osb->slot_num = OCFS2_INVALID_SLOT; in ocfs2_initialize_super()
2446 osb->slot_num, in ocfs2_check_volume()
Dalloc.h165 int slot_num,
Dnamei.c2107 osb->slot_num); in ocfs2_lookup_lock_orphan_dir()
2300 fe->i_dio_orphaned_slot = cpu_to_le16(osb->slot_num); in ocfs2_orphan_add()
2308 fe->i_orphaned_slot = cpu_to_le16(osb->slot_num); in ocfs2_orphan_add()
2314 osb->slot_num); in ocfs2_orphan_add()
2817 osb->slot_num); in ocfs2_mv_orphaned_inode_to_new()
Dsuballoc.c919 slot = osb->slot_num + 1; in ocfs2_steal_resource()
925 if (slot == osb->slot_num) in ocfs2_steal_resource()
980 (u32)osb->slot_num, NULL, in ocfs2_reserve_new_metadata_blocks()
1070 (u32)osb->slot_num, in ocfs2_reserve_new_inode()
Dalloc.c5814 "%u, count = %u\n", osb->slot_num, in ocfs2_truncate_log_needs_flush()
6141 int slot_num, in ocfs2_get_truncate_log_info() argument
6151 slot_num); in ocfs2_get_truncate_log_info()
6176 int slot_num, in ocfs2_begin_truncate_log_recovery() argument
6187 trace_ocfs2_begin_truncate_log_recovery(slot_num); in ocfs2_begin_truncate_log_recovery()
6189 status = ocfs2_get_truncate_log_info(osb, slot_num, &tl_inode, &tl_bh); in ocfs2_begin_truncate_log_recovery()
6327 osb->slot_num, in ocfs2_truncate_log_init()
6675 osb->slot_num, &real_slot, in ocfs2_reuse_blk_from_dealloc()
6697 bf->free_blk, osb->slot_num, real_slot); in ocfs2_reuse_blk_from_dealloc()
Docfs2.h337 int slot_num; member