/linux-master/fs/dlm/ |
H A D | lowcomms.h | 27 static inline int nodeid_hash(int nodeid) argument 29 return nodeid & (CONN_HASH_SIZE-1); 37 void dlm_lowcomms_shutdown_node(int nodeid, bool force); 41 int dlm_lowcomms_close(int nodeid); 42 struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation, 48 int dlm_lowcomms_connect_node(int nodeid); 49 int dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark); 50 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len); 51 void dlm_midcomms_receive_done(int nodeid);
|
H A D | midcomms.h | 17 int dlm_validate_incoming_buffer(int nodeid, unsigned char *buf, int len); 18 int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int buflen); 19 struct dlm_mhandle *dlm_midcomms_get_mhandle(int nodeid, int len, 23 int dlm_midcomms_addr(int nodeid, struct sockaddr_storage *addr, int len); 25 int dlm_midcomms_close(int nodeid); 31 void dlm_midcomms_add_member(int nodeid); 32 void dlm_midcomms_remove_member(int nodeid); 33 void dlm_midcomms_unack_msg_resend(int nodeid);
|
H A D | rcom.h | 15 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, 17 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, 22 int nodeid); 23 int dlm_send_ls_not_ready(int nodeid, const struct dlm_rcom *rc_in);
|
H A D | midcomms.c | 155 int nodeid; member in struct:midcomms_node 275 static struct midcomms_node *__find_node(int nodeid, int r) argument 280 if (node->nodeid == nodeid) 307 pr_debug("flush midcomms send queue of node %d\n", node->nodeid); 320 pr_debug("reset node %d\n", node->nodeid); 333 static struct midcomms_node *nodeid2node(int nodeid) argument 335 return __find_node(nodeid, nodeid_hash(nodeid)); 338 int dlm_midcomms_addr(int nodeid, struc argument 376 dlm_send_ack(int nodeid, uint32_t seq) argument 609 dlm_opts_check_msglen(const union dlm_packet *p, uint16_t msglen, int nodeid) argument 659 dlm_midcomms_receive_buffer_3_2(const union dlm_packet *p, int nodeid) argument 787 dlm_midcomms_receive_buffer_3_1(const union dlm_packet *p, int nodeid) argument 838 dlm_validate_incoming_buffer(int nodeid, unsigned char *buf, int len) argument 885 dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int len) argument 920 dlm_midcomms_unack_msg_resend(int nodeid) argument 979 dlm_midcomms_get_msg_3_2(struct dlm_mhandle *mh, int nodeid, int len, gfp_t allocation, char **ppc) argument 1005 dlm_midcomms_get_mhandle(int nodeid, int len, gfp_t allocation, char **ppc) argument 1219 dlm_midcomms_add_member(int nodeid) argument 1264 dlm_midcomms_remove_member(int nodeid) argument 1420 dlm_midcomms_close(int nodeid) argument [all...] |
H A D | requestqueue.h | 14 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid,
|
H A D | member.c | 52 if (!slot->nodeid) 54 ro->ro_nodeid = cpu_to_le32(slot->nodeid); 75 if (!array[i].nodeid) 79 array[i].slot, array[i].nodeid); 127 if (le32_to_cpu(ro->ro_nodeid) != memb->nodeid) 134 if (memb->nodeid == our_nodeid) { 147 log_error(ls, "dlm_slots_copy_in nodeid %d no slot", 148 memb->nodeid); 175 if (memb->nodeid == our_nodeid) { 206 log_error(ls, "nodeid 310 add_remote_member(int nodeid) argument 349 find_memb(struct list_head *head, int nodeid) argument 360 dlm_is_member(struct dlm_ls *ls, int nodeid) argument 367 dlm_is_removed(struct dlm_ls *ls, int nodeid) argument 374 clear_memb_list(struct list_head *head, void (*after_del)(int nodeid)) argument 388 remove_remote_member(int nodeid) argument 536 find_config_node(struct dlm_recover *rv, int nodeid) argument [all...] |
H A D | config.h | 18 int nodeid; member in struct:dlm_config_node 51 int dlm_comm_seq(int nodeid, uint32_t *seq);
|
H A D | dir.h | 20 char *outbuf, int outlen, int nodeid);
|
H A D | requestqueue.c | 22 int nodeid; member in struct:rq_entry 33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, argument 47 e->nodeid = nodeid; 131 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) argument 139 if (dlm_is_removed(ls, nodeid)) 165 if (purge_request(ls, ms, e->nodeid)) {
|
H A D | dir.c | 30 * offset into the sorted list of nodeid's to give the particular nodeid. 65 int error = -ENOMEM, last_len, nodeid, result; local 79 if (memb->nodeid == dlm_our_nodeid()) 92 error = dlm_rcom_names(ls, memb->nodeid, 134 error = dlm_master_lookup(ls, memb->nodeid, 137 &nodeid, &result); 145 * master nodeid is different from 146 * memb->nodeid which says it is the master. 150 nodeid ! 236 dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen, char *outbuf, int outlen, int nodeid) argument [all...] |
H A D | member.h | 19 int dlm_is_removed(struct dlm_ls *ls, int nodeid); 20 int dlm_is_member(struct dlm_ls *ls, int nodeid);
|
H A D | rcom.c | 123 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) argument 128 log_error(ls, "version mismatch: %x nodeid %d: %x", 129 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid, 136 log_error(ls, "config mismatch: %d,%x nodeid %d: %d,%x", 137 ls->ls_lvblen, ls->ls_exflags, nodeid, 162 * low nodeid gathers one slot value at a time from each node. 166 * other nodes gather all slot values at once from the low nodeid. 172 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, argument 179 ls->ls_recover_nodeid = nodeid; 181 if (nodeid 231 int nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); local 308 dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, int last_len, uint64_t seq) argument 342 int error, inlen, outlen, nodeid; local 385 int error, ret_nodeid, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); local 481 int error, nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); local 505 dlm_send_ls_not_ready(int nodeid, const struct dlm_rcom *rc_in) argument 583 dlm_receive_rcom(struct dlm_ls *ls, const struct dlm_rcom *rc, int nodeid) argument [all...] |
H A D | lowcomms.c | 71 uint32_t nodeid; /* So we know who we are in the list */ member in struct:connection 153 int nodeid; member in struct:processqueue_entry 270 static struct connection *__find_con(int nodeid, int r) argument 275 if (con->nodeid == nodeid) 282 static void dlm_con_init(struct connection *con, int nodeid) argument 284 con->nodeid = nodeid; 298 static struct connection *nodeid2con(int nodeid, gfp_t alloc) argument 303 r = nodeid_hash(nodeid); 362 nodeid_to_addr(int nodeid, struct sockaddr_storage *sas_out, struct sockaddr *sa_out, bool try_new_addr, unsigned int *mark) argument 421 addr_to_nodeid(struct sockaddr_storage *addr, int *nodeid, unsigned int *mark) argument 463 dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len) argument 547 dlm_lowcomms_connect_node(int nodeid) argument 572 dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark) argument 835 new_processqueue_entry(int nodeid, int buflen) argument 861 int nodeid; member in struct:dlm_processed_nodes 988 int len, idx, result, nodeid; local 1264 dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation, char **ppc, void (*cb)(void *data), void *data) argument 1449 dlm_lowcomms_close(int nodeid) argument [all...] |
H A D | config.c | 27 * /config/dlm/<cluster>/spaces/<space>/nodes/<node>/nodeid 29 * /config/dlm/<cluster>/comms/<comm>/nodeid 279 int nodeid; member in struct:dlm_comm 293 int nodeid; member in struct:dlm_node 296 int comm_seq; /* copy of cm->seq when nd->nodeid is set */ 523 cm->nodeid = -1; 535 dlm_midcomms_close(cm->nodeid); 557 nd->nodeid = -1; 617 return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid); 623 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); 831 get_comm(int nodeid) argument 911 dlm_comm_seq(int nodeid, uint32_t *seq) argument [all...] |
H A D | lock.h | 19 void dlm_receive_buffer(const union dlm_packet *p, int nodeid); 56 int nodeid, int pid);
|
/linux-master/arch/x86/mm/ |
H A D | amdtopology.c | 60 u32 nodeid, reg; local 86 nodeids[i] = nodeid = limit & 7; 92 if (nodeid >= numnodes) { 93 pr_info("Ignoring excess node %d (%Lx:%Lx)\n", nodeid, 105 nodeid, (base >> 8) & 3, (limit >> 8) & 3); 108 if (node_isset(nodeid, numa_nodes_parsed)) { 110 nodeid); 131 pr_err("Empty node %d\n", nodeid); 136 nodeid, base, limit); 148 nodeid, bas [all...] |
/linux-master/include/uapi/linux/ |
H A D | dlm_plock.h | 37 __s32 nodeid; member in struct:dlm_plock_info
|
H A D | dlm_device.h | 58 __u32 nodeid; member in struct:dlm_purge_params
|
/linux-master/arch/loongarch/include/asm/ |
H A D | numa.h | 37 extern int __init numa_add_memblk(int nodeid, u64 start, u64 end);
|
/linux-master/include/linux/ |
H A D | dlm.h | 18 int nodeid; /* 1 to MAX_INT */ member in struct:dlm_slot
|
/linux-master/include/asm-generic/ |
H A D | numa.h | 34 int __init numa_add_memblk(int nodeid, u64 start, u64 end);
|
/linux-master/fs/fuse/ |
H A D | inode.c | 99 fi->nodeid = 0; 147 fuse_queue_forget(fc, sl->forget, sl->nodeid, 1); 167 fuse_queue_forget(fc, fi->forget, fi->nodeid, 376 u64 nodeid) 378 sl->nodeid = nodeid; 413 u64 nodeid = *(u64 *) _nodeidp; local 414 if (get_node_id(inode) == nodeid) 422 u64 nodeid = *(u64 *) _nodeidp; local 423 get_fuse_inode(inode)->nodeid 375 fuse_init_submount_lookup(struct fuse_submount_lookup *sl, u64 nodeid) argument 427 fuse_iget(struct super_block *sb, u64 nodeid, int generation, struct fuse_attr *attr, u64 attr_valid, u64 attr_version) argument 495 fuse_ilookup(struct fuse_conn *fc, u64 nodeid, struct fuse_mount **fm) argument 517 fuse_reverse_inval_inode(struct fuse_conn *fc, u64 nodeid, loff_t offset, loff_t len) argument 996 u64 nodeid; member in struct:fuse_inode_handle 1051 u64 nodeid; local [all...] |
/linux-master/drivers/nvdimm/ |
H A D | nd_perf.c | 133 int nodeid; local 156 nodeid = cpu_to_node(cpu); 157 cpumask = cpumask_of_node(nodeid); 219 int nodeid, rc; local 232 nodeid = dev_to_node(nd_pmu->dev); 233 cpumask = cpumask_of_node(nodeid);
|
/linux-master/include/trace/events/ |
H A D | dlm.h | 601 __field(int32_t, nodeid) 616 __entry->nodeid = info->nodeid; 625 TP_printk("fsid=%u number=%llx owner=%llx optype=%d ex=%d wait=%d flags=%x pid=%u nodeid=%d rv=%d start=%llx end=%llx", 628 __entry->flags, __entry->pid, __entry->nodeid, 641 TP_PROTO(int nodeid, int ret), 643 TP_ARGS(nodeid, ret), 646 __field(int, nodeid) 651 __entry->nodeid = nodeid; [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | numa.h | 28 extern int __init numa_add_memblk(int nodeid, u64 start, u64 end);
|