Home
last modified time | relevance | path

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

/fs/ocfs2/
Dslot_map.c66 int slot_num) in ocfs2_invalidate_slot() argument
68 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_invalidate_slot()
69 si->si_slots[slot_num].sl_valid = 0; in ocfs2_invalidate_slot()
73 int slot_num, unsigned int node_num) in ocfs2_set_slot() argument
75 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_set_slot()
77 si->si_slots[slot_num].sl_valid = 1; in ocfs2_set_slot()
78 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot()
166 int slot_num, in ocfs2_update_disk_slot_extended() argument
169 int blkind = slot_num / si->si_slots_per_block; in ocfs2_update_disk_slot_extended()
170 int slotno = slot_num % si->si_slots_per_block; in ocfs2_update_disk_slot_extended()
[all …]
Djournal.c65 int node_num, int slot_num);
72 int slot_num);
78 int slot_num,
845 osb->slot_num); in ocfs2_journal_init()
1081 ocfs2_clear_journal_error(osb->sb, journal->j_journal, osb->slot_num); in ocfs2_journal_load()
1306 int slot_num, in ocfs2_queue_recovery_completion() argument
1331 item->lri_slot = slot_num; in ocfs2_queue_recovery_completion()
1353 ocfs2_queue_recovery_completion(journal, osb->slot_num, in ocfs2_complete_mount_recovery()
1370 osb->slot_num, in ocfs2_complete_quota_recovery()
1381 int status, node_num, slot_num; in __ocfs2_recovery_thread() local
[all …]
Dslot_map.h39 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num,
42 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
Dquota_local.c387 int slot_num) in ocfs2_begin_quota_recovery() argument
403 "slot %u\n", osb->dev_str, slot_num); in ocfs2_begin_quota_recovery()
415 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); in ocfs2_begin_quota_recovery()
432 "(slot=%d type=%d)\n", slot_num, type); in ocfs2_begin_quota_recovery()
585 int slot_num) in ocfs2_finish_quota_recovery() argument
599 "slot %u\n", osb->dev_str, slot_num); in ocfs2_finish_quota_recovery()
605 trace_ocfs2_finish_quota_recovery(slot_num); in ocfs2_finish_quota_recovery()
606 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); in ocfs2_finish_quota_recovery()
618 "locked.\n", osb->dev_str, slot_num); in ocfs2_finish_quota_recovery()
631 "(slot=%d type=%d)\n", slot_num, type); in ocfs2_finish_quota_recovery()
[all …]
Dquota.h89 struct ocfs2_super *osb, int slot_num);
92 int slot_num);
Dlocalalloc.c307 osb->slot_num); in ocfs2_load_local_alloc()
403 osb->slot_num); in ocfs2_shutdown_local_alloc()
494 int slot_num, in ocfs2_begin_local_alloc_recovery() argument
502 trace_ocfs2_begin_local_alloc_recovery(slot_num); in ocfs2_begin_local_alloc_recovery()
508 slot_num); in ocfs2_begin_local_alloc_recovery()
645 osb->slot_num); in ocfs2_reserve_local_alloc_bits()
711 ac->ac_alloc_slot = osb->slot_num; in ocfs2_reserve_local_alloc_bits()
724 bits_wanted, osb->slot_num, status); in ocfs2_reserve_local_alloc_bits()
Dsuper.c349 (i == osb->slot_num ? '*' : ' '), in ocfs2_osb_dump()
474 new = ocfs2_get_system_file_inode(osb, i, osb->slot_num); in ocfs2_init_global_system_inodes()
504 new = ocfs2_get_system_file_inode(osb, i, osb->slot_num); in ocfs2_init_local_system_inodes()
509 status, i, osb->slot_num); in ocfs2_init_local_system_inodes()
954 osb->slot_num); in ocfs2_enable_quotas()
1171 osb->dev_str, nodestr, osb->slot_num, in ocfs2_fill_super()
1933 if (osb->slot_num != OCFS2_INVALID_SLOT) in ocfs2_dismount_volume()
2124 osb->slot_num = OCFS2_INVALID_SLOT; in ocfs2_initialize_super()
2468 osb->slot_num, in ocfs2_check_volume()
Dalloc.h180 int slot_num,
Dnamei.c2104 osb->slot_num); in ocfs2_lookup_lock_orphan_dir()
2297 fe->i_dio_orphaned_slot = cpu_to_le16(osb->slot_num); in ocfs2_orphan_add()
2305 fe->i_orphaned_slot = cpu_to_le16(osb->slot_num); in ocfs2_orphan_add()
2311 osb->slot_num); in ocfs2_orphan_add()
2817 osb->slot_num); in ocfs2_mv_orphaned_inode_to_new()
Dsuballoc.c937 slot = osb->slot_num + 1; in ocfs2_steal_resource()
943 if (slot == osb->slot_num) in ocfs2_steal_resource()
998 (u32)osb->slot_num, NULL, in ocfs2_reserve_new_metadata_blocks()
1088 (u32)osb->slot_num, in ocfs2_reserve_new_inode()
Docfs2.h349 int slot_num; member
Dalloc.c5820 "%u, count = %u\n", osb->slot_num, in ocfs2_truncate_log_needs_flush()
6132 int slot_num, in ocfs2_get_truncate_log_info() argument
6142 slot_num); in ocfs2_get_truncate_log_info()
6167 int slot_num, in ocfs2_begin_truncate_log_recovery() argument
6178 trace_ocfs2_begin_truncate_log_recovery(slot_num); in ocfs2_begin_truncate_log_recovery()
6180 status = ocfs2_get_truncate_log_info(osb, slot_num, &tl_inode, &tl_bh); in ocfs2_begin_truncate_log_recovery()
6318 osb->slot_num, in ocfs2_truncate_log_init()