/Linux-v4.19/fs/ocfs2/ |
D | stack_o2cb.c | 265 u8 node_num; in o2cb_cluster_check() local 270 node_num = o2nm_this_node(); in o2cb_cluster_check() 271 if (node_num == O2NM_MAX_NODES) { in o2cb_cluster_check() 287 if (!test_bit(node_num, hbmap)) { in o2cb_cluster_check() 295 set_bit(node_num, netmap); in o2cb_cluster_check() 318 static void o2dlm_eviction_cb(int node_num, void *data) in o2dlm_eviction_cb() argument 323 node_num, conn->cc_namelen, conn->cc_name); in o2dlm_eviction_cb() 325 conn->cc_recovery_handler(node_num, conn->cc_recovery_data); in o2dlm_eviction_cb() 404 int node_num; in o2cb_cluster_this_node() local 406 node_num = o2nm_this_node(); in o2cb_cluster_this_node() [all …]
|
D | heartbeat.c | 63 void ocfs2_do_node_down(int node_num, void *data) in ocfs2_do_node_down() argument 67 BUG_ON(osb->node_num == node_num); in ocfs2_do_node_down() 69 trace_ocfs2_do_node_down(node_num); in ocfs2_do_node_down() 81 ocfs2_recovery_thread(osb, node_num); in ocfs2_do_node_down()
|
D | slot_map.c | 63 unsigned int node_num); 73 int slot_num, unsigned int node_num) in ocfs2_set_slot() argument 78 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot() 252 unsigned int node_num) in __ocfs2_node_num_to_slot() argument 258 (node_num == si->si_slots[i].sl_node_num)) { in __ocfs2_node_num_to_slot() 289 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) in ocfs2_node_num_to_slot() argument 295 slot = __ocfs2_node_num_to_slot(si, node_num); in ocfs2_node_num_to_slot() 302 unsigned int *node_num) in ocfs2_slot_to_node_num_locked() argument 314 *node_num = si->si_slots[slot_num].sl_node_num; in ocfs2_slot_to_node_num_locked() 483 slot = __ocfs2_node_num_to_slot(si, osb->node_num); in ocfs2_find_slot() [all …]
|
D | journal.c | 65 int node_num, int slot_num); 126 int i, node_num; in ocfs2_compute_replay_slots() local 147 if (ocfs2_slot_to_node_num_locked(osb, i, &node_num) == -ENOENT) in ocfs2_compute_replay_slots() 247 unsigned int node_num) in __ocfs2_recovery_map_test() argument 255 if (rm->rm_entries[i] == node_num) in __ocfs2_recovery_map_test() 264 unsigned int node_num) in ocfs2_recovery_map_set() argument 269 if (__ocfs2_recovery_map_test(osb, node_num)) { in ocfs2_recovery_map_set() 277 rm->rm_entries[rm->rm_used] = node_num; in ocfs2_recovery_map_set() 285 unsigned int node_num) in ocfs2_recovery_map_clear() argument 293 if (rm->rm_entries[i] == node_num) in ocfs2_recovery_map_clear() [all …]
|
D | slot_map.h | 38 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num); 40 unsigned int *node_num);
|
D | stackglue.h | 109 void (*cc_recovery_handler)(int node_num, void *recovery_data); 253 void (*recovery_handler)(int node_num, 264 void (*recovery_handler)(int node_num,
|
D | heartbeat.h | 31 void ocfs2_do_node_down(int node_num, void *data);
|
D | localalloc.h | 37 int node_num,
|
/Linux-v4.19/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 291 dlm->name, ndata->node_num, st); in dlm_print_reco_node_status() 447 (dlm->node_num == dlm->reco.new_master ? "me" : "he"), in dlm_print_recovery_master() 506 if (dlm->reco.new_master == dlm->node_num) in dlm_do_recovery() 546 dlm->name, dlm->reco.dead_node, dlm->node_num); in dlm_do_recovery() 584 ndata->node_num); in dlm_remaster_locks() 586 if (ndata->node_num == dlm->node_num) { in dlm_remaster_locks() 592 status = dlm_request_all_locks(dlm, ndata->node_num, in dlm_remaster_locks() 604 ndata->node_num), in dlm_remaster_locks() 607 "dead? %s\n", ndata->node_num, in dlm_remaster_locks() 608 dlm_is_node_dead(dlm, ndata->node_num) ? in dlm_remaster_locks() [all …]
|
D | dlmlock.c | 132 lock->ml.node != dlm->node_num) { in dlmlock_master() 231 if (res->owner == dlm->node_num) { in dlmlock_remote() 280 dlm->name, dlm->node_num, res->owner); in dlmlock_remote() 309 create.node_idx = dlm->node_num; in dlm_send_remote_lock_request() 541 static inline void dlm_get_next_cookie(u8 node_num, u64 *cookie) in dlm_get_next_cookie() argument 543 u64 tmpnode = node_num; in dlm_get_next_cookie() 636 if (res->owner == dlm->node_num) in dlmlock() 667 dlm_get_next_cookie(dlm->node_num, &tmpcookie); in dlmlock() 668 lock = dlm_new_lock(mode, dlm->node_num, tmpcookie, lksb); in dlmlock() 707 if (res->owner == dlm->node_num) in dlmlock()
|
D | dlmmaster.c | 312 clear_bit(dlm->node_num, mle->vote_map); in dlm_init_mle() 313 clear_bit(dlm->node_num, mle->node_map); in dlm_init_mle() 770 BUG_ON(tmpres->owner == dlm->node_num); in dlm_get_lock_resource() 818 dlm_change_lockres_owner(dlm, res, dlm->node_num); in dlm_get_lock_resource() 848 BUG_ON(mig && mle->master == dlm->node_num); in dlm_get_lock_resource() 874 set_bit(dlm->node_num, mle->maybe_map); in dlm_get_lock_resource() 1040 if (res->owner != dlm->node_num) { in dlm_wait_for_lock_mastery() 1100 if (dlm->node_num <= bit) { in dlm_wait_for_lock_mastery() 1104 mle->master = dlm->node_num; in dlm_wait_for_lock_mastery() 1136 m = dlm->node_num; in dlm_wait_for_lock_mastery() [all …]
|
D | dlmdomain.c | 602 leave_msg.node_idx = dlm->node_num; in dlm_send_one_domain_exit() 633 if (node == dlm->node_num) in dlm_begin_exit_domain() 654 clear_bit(dlm->node_num, dlm->domain_map); in dlm_leave_domain() 987 qr->qr_domain, qr->qr_node, dlm->node_num); in dlm_match_regions() 996 qr->qr_domain, dlm->node_num, qr->qr_node); in dlm_match_regions() 1027 dlm->node_num, qr->qr_node); in dlm_match_regions() 1050 qr->qr_node, dlm->node_num); in dlm_match_regions() 1076 qr->qr_node = dlm->node_num; in dlm_send_regions() 1091 if (i == dlm->node_num) in dlm_send_regions() 1214 qn->qn_nodenum, dlm->node_num); in dlm_match_nodes() [all …]
|
D | dlmast.c | 201 if (res->owner == dlm->node_num) { in dlm_update_lvb() 205 lock->ml.node == dlm->node_num ? "master" : in dlm_update_lvb() 234 BUG_ON(lock->ml.node != dlm->node_num); in dlm_do_local_ast() 254 BUG_ON(lock->ml.node == dlm->node_num); in dlm_do_remote_ast() 270 BUG_ON(lock->ml.node != dlm->node_num); in dlm_do_local_bast() 355 BUG_ON(res->owner == dlm->node_num); in dlm_proxy_ast_handler() 463 past.node_idx = dlm->node_num; in dlm_send_proxy_ast_msg()
|
D | dlmunlock.c | 114 BUG_ON(res->owner != dlm->node_num); in dlmunlock_common() 116 BUG_ON(res->owner == dlm->node_num); in dlmunlock_common() 325 if (owner == dlm->node_num) { in dlm_send_remote_unlock_request() 336 unlock.node_idx = dlm->node_num; in dlm_send_remote_unlock_request() 458 if (res->owner != dlm->node_num) { in dlm_unlock_lock_handler() 628 is_master = (res->owner == dlm->node_num); in dlmunlock()
|
D | dlmthread.c | 57 #define dlm_lock_is_remote(dlm, lock) ((lock)->ml.node != (dlm)->node_num) 218 master = (res->owner == dlm->node_num); in dlm_purge_lockres() 534 if ((res->owner == dlm->node_num)) { in __dlm_dirty_lockres() 616 if (lock->ml.node != dlm->node_num) { in dlm_flush_asts() 668 if (lock->ml.node != dlm->node_num) { in dlm_flush_asts() 748 if (res->owner != dlm->node_num) { in dlm_thread() 757 BUG_ON(res->owner != dlm->node_num); in dlm_thread()
|
D | dlmdomain.h | 56 int node_num);
|
D | dlmconvert.c | 209 if (lock->ml.node == dlm->node_num) in __dlmconvert_master() 384 convert.node_idx = dlm->node_num; in dlm_send_remote_convert_request()
|
/Linux-v4.19/fs/ocfs2/cluster/ |
D | heartbeat.h | 82 int o2hb_check_node_heartbeating_no_sem(u8 node_num); 83 int o2hb_check_node_heartbeating_from_callback(u8 node_num);
|
D | heartbeat.c | 306 u8 node_num; member 380 msg.node_num = o2nm_this_node(); in o2hb_send_nego_msg() 467 nego_msg->node_num, config_item_name(®->hr_item), reg->hr_dev_name); in o2hb_nego_timeout_handler() 468 if (nego_msg->node_num < O2NM_MAX_NODES) in o2hb_nego_timeout_handler() 469 set_bit(nego_msg->node_num, reg->hr_nego_node_bitmap); in o2hb_nego_timeout_handler() 732 int node_num; in o2hb_prepare_block() local 737 node_num = o2nm_this_node(); in o2hb_prepare_block() 738 slot = ®->hr_slots[node_num]; in o2hb_prepare_block() 748 hb_block->hb_node = node_num; in o2hb_prepare_block() 816 int node_num) in o2hb_queue_node_event() argument [all …]
|
D | nodemanager.c | 46 struct o2nm_node *o2nm_get_node_by_num(u8 node_num) in o2nm_get_node_by_num() argument 50 if (node_num >= O2NM_MAX_NODES || o2nm_single_cluster == NULL) in o2nm_get_node_by_num() 54 node = o2nm_single_cluster->cl_nodes[node_num]; in o2nm_get_node_by_num() 148 u8 node_num = O2NM_MAX_NODES; in o2nm_this_node() local 151 node_num = o2nm_single_cluster->cl_local_node; in o2nm_this_node() 153 return node_num; in o2nm_this_node()
|
D | nodemanager.h | 78 struct o2nm_node *o2nm_get_node_by_num(u8 node_num);
|
D | tcp.c | 292 static struct o2net_node * o2net_nn_from_num(u8 node_num) in o2net_nn_from_num() argument 294 BUG_ON(node_num >= ARRAY_SIZE(o2net_nodes)); in o2net_nn_from_num() 295 return &o2net_nodes[node_num]; in o2net_nn_from_num() 1751 static void o2net_hb_node_down_cb(struct o2nm_node *node, int node_num, in o2net_hb_node_down_cb() argument 1754 o2quo_hb_down(node_num); in o2net_hb_node_down_cb() 1759 if (node_num != o2nm_this_node()) in o2net_hb_node_down_cb() 1765 static void o2net_hb_node_up_cb(struct o2nm_node *node, int node_num, in o2net_hb_node_up_cb() argument 1768 struct o2net_node *nn = o2net_nn_from_num(node_num); in o2net_hb_node_up_cb() 1770 o2quo_hb_up(node_num); in o2net_hb_node_up_cb() 1778 if (node_num != o2nm_this_node()) { in o2net_hb_node_up_cb()
|
/Linux-v4.19/fs/ubifs/ |
D | lpt_commit.c | 904 static int make_nnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_nnode_dirty() argument 909 nnode = nnode_lookup(c, node_num); in make_nnode_dirty() 953 static int make_pnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_pnode_dirty() argument 959 pnode = pnode_lookup(c, node_num); in make_pnode_dirty() 1035 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty() argument 1040 return make_nnode_dirty(c, node_num, lnum, offs); in make_node_dirty() 1042 return make_pnode_dirty(c, node_num, lnum, offs); in make_node_dirty() 1095 int *node_num) in get_lpt_node_type() argument 1101 *node_num = ubifs_unpack_bits(c, &addr, &pos, c->pcnt_bits); in get_lpt_node_type() 1151 int err, len = c->leb_size, node_type, node_num, node_len, offs; in lpt_gc_lnum() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 2133 void hns_dsaf_update_stats(struct dsaf_device *dsaf_dev, u32 node_num) in hns_dsaf_update_stats() argument 2136 = &dsaf_dev->hw_stats[node_num]; in hns_dsaf_update_stats() 2142 DSAF_INODE_PAD_DISCARD_NUM_0_REG + 0x80 * (u64)node_num); in hns_dsaf_update_stats() 2144 DSAF_INODE_FINAL_IN_MAN_NUM_0_REG + 0x80 * (u64)node_num); in hns_dsaf_update_stats() 2146 DSAF_INODE_FINAL_IN_PKT_NUM_0_REG + 0x80 * (u64)node_num); in hns_dsaf_update_stats() 2148 DSAF_INODE_SBM_PID_NUM_0_REG + 0x80 * (u64)node_num); in hns_dsaf_update_stats() 2153 dsaf_read_dev(dsaf_dev, reg_tmp + 0x80 * (u64)node_num); in hns_dsaf_update_stats() 2156 DSAF_INODE_SBM_RELS_NUM_0_REG + 0x80 * (u64)node_num); in hns_dsaf_update_stats() 2158 DSAF_INODE_SBM_DROP_NUM_0_REG + 0x80 * (u64)node_num); in hns_dsaf_update_stats() 2160 DSAF_INODE_CRC_FALSE_NUM_0_REG + 0x80 * (u64)node_num); in hns_dsaf_update_stats() [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/ |
D | txrx.c | 57 for (i = 0; i < ar->node_num; i++) { in ath6kl_ibss_map_epid() 70 ep_map = ar->node_num; in ath6kl_ibss_map_epid() 71 ar->node_num++; in ath6kl_ibss_map_epid() 72 if (ar->node_num > MAX_NODE_NUM) in ath6kl_ibss_map_epid() 667 if (map_no != (ar->node_num - 1)) in ath6kl_tx_clear_node_map() 670 for (i = ar->node_num; i > 0; i--) { in ath6kl_tx_clear_node_map() 676 ar->node_num--; in ath6kl_tx_clear_node_map()
|