/linux-master/fs/ocfs2/ |
H A D | slot_map.h | 22 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num); 24 unsigned int *node_num);
|
H A D | heartbeat.c | 42 void ocfs2_do_node_down(int node_num, void *data) argument 46 BUG_ON(osb->node_num == node_num); 48 trace_ocfs2_do_node_down(node_num); 60 ocfs2_recovery_thread(osb, node_num);
|
H A D | heartbeat.h | 15 void ocfs2_do_node_down(int node_num, void *data);
|
H A D | stack_o2cb.c | 255 u8 node_num; local 260 node_num = o2nm_this_node(); 261 if (node_num == O2NM_MAX_NODES) { 277 if (!test_bit(node_num, hbmap)) { 285 set_bit(node_num, netmap); 308 static void o2dlm_eviction_cb(int node_num, void *data) argument 313 node_num, conn->cc_namelen, conn->cc_name); 315 conn->cc_recovery_handler(node_num, conn->cc_recovery_data); 394 int node_num; local 396 node_num [all...] |
H A D | stackglue.h | 99 void (*cc_recovery_handler)(int node_num, void *recovery_data); 243 void (*recovery_handler)(int node_num, 254 void (*recovery_handler)(int node_num,
|
H A D | localalloc.h | 21 int node_num,
|
H A D | slot_map.c | 45 unsigned int node_num); 55 int slot_num, unsigned int node_num) 60 si->si_slots[slot_num].sl_node_num = node_num; 234 unsigned int node_num) 240 (node_num == si->si_slots[i].sl_node_num)) { 271 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num) argument 277 slot = __ocfs2_node_num_to_slot(si, node_num); 284 unsigned int *node_num) 296 *node_num = si->si_slots[slot_num].sl_node_num; 461 slot = __ocfs2_node_num_to_slot(si, osb->node_num); 54 ocfs2_set_slot(struct ocfs2_slot_info *si, int slot_num, unsigned int node_num) argument 233 __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si, unsigned int node_num) argument 283 ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, unsigned int *node_num) argument [all...] |
H A D | journal.c | 50 int node_num, int slot_num); 111 int i, node_num; local 132 if (ocfs2_slot_to_node_num_locked(osb, i, &node_num) == -ENOENT) 230 unsigned int node_num) 238 if (rm->rm_entries[i] == node_num) 247 unsigned int node_num) 252 if (__ocfs2_recovery_map_test(osb, node_num)) { 260 rm->rm_entries[rm->rm_used] = node_num; 268 unsigned int node_num) 276 if (rm->rm_entries[i] == node_num) 229 __ocfs2_recovery_map_test(struct ocfs2_super *osb, unsigned int node_num) argument 246 ocfs2_recovery_map_set(struct ocfs2_super *osb, unsigned int node_num) argument 267 ocfs2_recovery_map_clear(struct ocfs2_super *osb, unsigned int node_num) argument 1409 int status, node_num, slot_num; local 1543 ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num) argument 1608 ocfs2_replay_journal(struct ocfs2_super *osb, int node_num, int slot_num) argument 1755 ocfs2_recover_node(struct ocfs2_super *osb, int node_num, int slot_num) argument 1853 unsigned int node_num; local [all...] |
/linux-master/fs/ocfs2/cluster/ |
H A D | heartbeat.h | 65 int o2hb_check_node_heartbeating_no_sem(u8 node_num); 66 int o2hb_check_node_heartbeating_from_callback(u8 node_num);
|
H A D | nodemanager.h | 61 struct o2nm_node *o2nm_get_node_by_num(u8 node_num);
|
H A D | heartbeat.c | 283 u8 node_num; member in struct:o2hb_nego_msg 357 msg.node_num = o2nm_this_node(); 445 nego_msg->node_num, config_item_name(®->hr_item), 447 if (nego_msg->node_num < O2NM_MAX_NODES) 448 set_bit(nego_msg->node_num, reg->hr_nego_node_bitmap); 709 int node_num; local 714 node_num = o2nm_this_node(); 715 slot = ®->hr_slots[node_num]; 725 hb_block->hb_node = node_num; 793 int node_num) 790 o2hb_queue_node_event(struct o2hb_node_event *event, enum o2hb_callback_type type, struct o2nm_node *node, int node_num) argument 2466 o2hb_check_node_heartbeating_no_sem(u8 node_num) argument 2484 o2hb_check_node_heartbeating_from_callback(u8 node_num) argument [all...] |
H A D | nodemanager.c | 30 struct o2nm_node *o2nm_get_node_by_num(u8 node_num) argument 34 if (node_num >= O2NM_MAX_NODES || o2nm_single_cluster == NULL) 38 node = o2nm_single_cluster->cl_nodes[node_num]; 132 u8 node_num = O2NM_MAX_NODES; local 135 node_num = o2nm_single_cluster->cl_local_node; 137 return node_num;
|
H A D | tcp.c | 277 static struct o2net_node * o2net_nn_from_num(u8 node_num) argument 279 BUG_ON(node_num >= ARRAY_SIZE(o2net_nodes)); 280 return &o2net_nodes[node_num]; 1712 static void o2net_hb_node_down_cb(struct o2nm_node *node, int node_num, argument 1715 o2quo_hb_down(node_num); 1720 if (node_num != o2nm_this_node()) 1726 static void o2net_hb_node_up_cb(struct o2nm_node *node, int node_num, argument 1729 struct o2net_node *nn = o2net_nn_from_num(node_num); 1731 o2quo_hb_up(node_num); 1739 if (node_num ! [all...] |
/linux-master/fs/ocfs2/dlm/ |
H A D | dlmdomain.h | 39 int node_num);
|
H A D | dlmrecovery.c | 267 dlm->name, ndata->node_num, st); 423 (dlm->node_num == dlm->reco.new_master ? "me" : "he"), 482 if (dlm->reco.new_master == dlm->node_num) 522 dlm->name, dlm->reco.dead_node, dlm->node_num); 560 ndata->node_num); 562 if (ndata->node_num == dlm->node_num) { 568 status = dlm_request_all_locks(dlm, ndata->node_num, 580 ndata->node_num), 583 "dead? %s\n", ndata->node_num, [all...] |
H A D | dlmast.c | 174 if (res->owner == dlm->node_num) { 178 lock->ml.node == dlm->node_num ? "master" : 207 BUG_ON(lock->ml.node != dlm->node_num); 227 BUG_ON(lock->ml.node == dlm->node_num); 243 BUG_ON(lock->ml.node != dlm->node_num); 328 BUG_ON(res->owner == dlm->node_num); 436 past.node_idx = dlm->node_num;
|
H A D | dlmlock.c | 115 lock->ml.node != dlm->node_num) { 214 if (res->owner == dlm->node_num) { 263 dlm->name, dlm->node_num, res->owner); 292 create.node_idx = dlm->node_num; 524 static inline void dlm_get_next_cookie(u8 node_num, u64 *cookie) argument 526 u64 tmpnode = node_num; 619 if (res->owner == dlm->node_num) 650 dlm_get_next_cookie(dlm->node_num, &tmpcookie); 651 lock = dlm_new_lock(mode, dlm->node_num, tmpcookie, lksb); 690 if (res->owner == dlm->node_num) [all...] |
H A D | dlmdomain.c | 584 leave_msg.node_idx = dlm->node_num; 615 if (node == dlm->node_num) 636 clear_bit(dlm->node_num, dlm->domain_map); 969 qr->qr_domain, qr->qr_node, dlm->node_num); 978 qr->qr_domain, dlm->node_num, qr->qr_node); 1009 dlm->node_num, qr->qr_node); 1032 qr->qr_node, dlm->node_num); 1058 qr->qr_node = dlm->node_num; 1073 if (i == dlm->node_num) 1196 qn->qn_nodenum, dlm->node_num); 2269 dlm_fire_domain_eviction_callbacks(struct dlm_ctxt *dlm, int node_num) argument [all...] |
H A D | dlmmaster.c | 295 clear_bit(dlm->node_num, mle->vote_map); 296 clear_bit(dlm->node_num, mle->node_map); 753 BUG_ON(tmpres->owner == dlm->node_num); 801 dlm_change_lockres_owner(dlm, res, dlm->node_num); 831 BUG_ON(mig && mle->master == dlm->node_num); 857 set_bit(dlm->node_num, mle->maybe_map); 1023 if (res->owner != dlm->node_num) { 1083 if (dlm->node_num <= bit) { 1087 mle->master = dlm->node_num; 1119 m = dlm->node_num; [all...] |
H A D | dlmunlock.c | 98 BUG_ON(res->owner != dlm->node_num); 100 BUG_ON(res->owner == dlm->node_num); 323 if (owner == dlm->node_num) { 334 unlock.node_idx = dlm->node_num; 455 if (res->owner != dlm->node_num) { 625 is_master = (res->owner == dlm->node_num);
|
H A D | dlmthread.c | 199 master = (res->owner == dlm->node_num); 515 if (res->owner == dlm->node_num) { 597 if (lock->ml.node != dlm->node_num) { 649 if (lock->ml.node != dlm->node_num) { 728 if (res->owner != dlm->node_num) { 737 BUG_ON(res->owner != dlm->node_num);
|
H A D | dlmconvert.c | 192 if (lock->ml.node == dlm->node_num) 367 convert.node_idx = dlm->node_num;
|
/linux-master/fs/ubifs/ |
H A D | lpt_commit.c | 848 * @node_num: nnode number of nnode to make dirty 860 static int make_nnode_dirty(struct ubifs_info *c, int node_num, int lnum, argument 865 nnode = nnode_lookup(c, node_num); 897 * @node_num: pnode number of pnode to make dirty 909 static int make_pnode_dirty(struct ubifs_info *c, int node_num, int lnum, argument 915 pnode = ubifs_pnode_lookup(c, node_num); 979 * @node_num: node number 991 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, argument 996 return make_nnode_dirty(c, node_num, lnum, offs); 998 return make_pnode_dirty(c, node_num, lnu 1050 get_lpt_node_type(const struct ubifs_info *c, uint8_t *buf, int *node_num) argument 1107 int err, len = c->leb_size, node_type, node_num, node_len, offs; local 1592 int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len; local 1843 int err, len = c->leb_size, node_type, node_num, node_len, offs; local [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_main.c | 2203 void hns_dsaf_update_stats(struct dsaf_device *dsaf_dev, u32 node_num) argument 2206 = &dsaf_dev->hw_stats[node_num]; 2212 DSAF_INODE_PAD_DISCARD_NUM_0_REG + 0x80 * (u64)node_num); 2214 DSAF_INODE_FINAL_IN_MAN_NUM_0_REG + 0x80 * (u64)node_num); 2216 DSAF_INODE_FINAL_IN_PKT_NUM_0_REG + 0x80 * (u64)node_num); 2218 DSAF_INODE_SBM_PID_NUM_0_REG + 0x80 * (u64)node_num); 2223 dsaf_read_dev(dsaf_dev, reg_tmp + 0x80 * (u64)node_num); 2226 DSAF_INODE_SBM_RELS_NUM_0_REG + 0x80 * (u64)node_num); 2228 DSAF_INODE_SBM_DROP_NUM_0_REG + 0x80 * (u64)node_num); 2230 DSAF_INODE_CRC_FALSE_NUM_0_REG + 0x80 * (u64)node_num); 2644 hns_dsaf_get_node_stats(struct dsaf_device *ddev, u64 *data, int node_num) argument 2687 int node_num = port; local [all...] |
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-v4l2.c | 1122 int node_num) 1131 struct imgu_video_device *node = &imgu_pipe->nodes[node_num]; 1166 node->id = node_num; 1168 imgu_node_to_v4l2(node_num, vdev, &node->vdev_fmt); 1234 node_num, flags); 1241 r = media_create_pad_link(&sd->entity, node_num, &vdev->entity, 1121 imgu_v4l2_node_setup(struct imgu_device *imgu, unsigned int pipe, int node_num) argument
|