| /linux/fs/dlm/ |
| H A D | member.c | 52 if (!slot->nodeid) in dlm_slots_copy_out() 54 ro->ro_nodeid = cpu_to_le32(slot->nodeid); in dlm_slots_copy_out() 75 if (!array[i].nodeid) in log_slots() 79 array[i].slot, array[i].nodeid); in log_slots() 127 if (le32_to_cpu(ro->ro_nodeid) != memb->nodeid) in dlm_slots_copy_in() 134 if (memb->nodeid == our_nodeid) { in dlm_slots_copy_in() 148 memb->nodeid); in dlm_slots_copy_in() 175 if (memb->nodeid == our_nodeid) { in dlm_slots_assign() 207 memb->nodeid, memb->slot_prev, memb->slot); in dlm_slots_assign() 232 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign() [all …]
|
| H A D | dir.c | 63 int error = -ENOMEM, last_len, nodeid, result; in dlm_recover_directory() local 77 if (memb->nodeid == dlm_our_nodeid()) in dlm_recover_directory() 90 error = dlm_rcom_names(ls, memb->nodeid, in dlm_recover_directory() 132 error = dlm_master_lookup(ls, memb->nodeid, in dlm_recover_directory() 135 &nodeid, &result); in dlm_recover_directory() 148 nodeid != memb->nodeid) { in dlm_recover_directory() 152 result, nodeid, memb->nodeid, in dlm_recover_directory() 236 static void drop_dir_ctx(struct dlm_ls *ls, int nodeid) in drop_dir_ctx() argument 242 if (dd->nodeid_init == nodeid) { in drop_dir_ctx() 252 static struct dlm_dir_dump *lookup_dir_dump(struct dlm_ls *ls, int nodeid) in lookup_dir_dump() argument [all …]
|
| H A D | lowcomms.h | 27 static inline int nodeid_hash(int nodeid) in nodeid_hash() argument 29 return nodeid & (CONN_HASH_SIZE-1); in nodeid_hash() 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, char **ppc, 47 int dlm_lowcomms_connect_node(int nodeid); 48 int dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark); 49 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr); 50 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, char **ppc); 22 int dlm_midcomms_addr(int nodeid, struct sockaddr_storage *addr); 24 int dlm_midcomms_close(int nodeid); 30 void dlm_midcomms_add_member(int nodeid); 31 void dlm_midcomms_remove_member(int nodeid); 32 void dlm_midcomms_unack_msg_resend(int nodeid);
|
| H A D | config.c | 299 int nodeid; member 313 int nodeid; member 321 int nodeid; member 527 unsigned int nodeid; in make_comm() local 530 rv = kstrtouint(name, 0, &nodeid); in make_comm() 544 cm->nodeid = nodeid; in make_comm() 556 dlm_midcomms_close(cm->nodeid); in drop_comm() 571 unsigned int nodeid; in make_node() local 576 rv = kstrtouint(name, 0, &nodeid); in make_node() 585 nd->nodeid = nodeid; in make_node() [all …]
|
| H A D | rcom.c | 122 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config() argument 128 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid, in check_rcom_config() 136 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config() 171 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, in dlm_rcom_status() argument 178 ls->ls_recover_nodeid = nodeid; in dlm_rcom_status() 180 if (nodeid == dlm_our_nodeid()) { in dlm_rcom_status() 187 error = create_rcom_stateless(ls, nodeid, DLM_RCOM_STATUS, in dlm_rcom_status() 211 log_debug(ls, "remote node %d not ready", nodeid); in dlm_rcom_status() 215 error = check_rcom_config(ls, rc, nodeid); in dlm_rcom_status() 230 int nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_status() local [all …]
|
| H A D | requestqueue.c | 22 int nodeid; member 33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, in dlm_add_requestqueue() argument 47 e->nodeid = nodeid; in dlm_add_requestqueue() 108 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() argument 116 if (dlm_is_removed(ls, nodeid)) in purge_request() 142 if (purge_request(ls, ms, e->nodeid)) { in dlm_purge_requestqueue()
|
| 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 | config.h | 18 int nodeid; member 55 int dlm_comm_seq(int nodeid, uint32_t *seq, bool locked);
|
| 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 | lock.h | 19 void dlm_receive_buffer(const union dlm_packet *p, int nodeid); 59 int nodeid, int pid);
|
| H A D | requestqueue.h | 14 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid,
|
| H A D | lock.c | 91 static void do_purge(struct dlm_ls *ls, int nodeid, int pid); 3808 int error, nodeid = le32_to_cpu(ms_in->m_header.h_nodeid); in send_lookup_reply() local 3810 error = create_message(r, NULL, nodeid, DLM_MSG_LOOKUP_REPLY, &ms, &mh); in send_lookup_reply() 4915 int nodeid) in dlm_receive_message() argument 4926 le32_to_cpu(ms->m_type), nodeid); in dlm_receive_message() 4938 dlm_add_requestqueue(ls, nodeid, ms); in dlm_receive_message() 4960 void dlm_receive_buffer(const union dlm_packet *p, int nodeid) in dlm_receive_buffer() argument 4974 log_print("invalid h_cmd %d from %u", hd->h_cmd, nodeid); in dlm_receive_buffer() 4978 if (le32_to_cpu(hd->h_nodeid) != nodeid) { in dlm_receive_buffer() 4980 le32_to_cpu(hd->h_nodeid), nodeid, in dlm_receive_buffer() [all …]
|
| H A D | dir.h | 21 char *outbuf, int outlen, int nodeid);
|
| H A D | recover.c | 110 error = dlm_rcom_status(ls, memb->nodeid, 0, seq); in wait_status_all() 132 int error = 0, delay = 0, nodeid = ls->ls_low_nodeid; in wait_status_low() local 140 error = dlm_rcom_status(ls, nodeid, status_flags, seq); in wait_status_low() 405 static void set_lock_master(struct list_head *queue, int nodeid) in set_lock_master() argument 411 lkb->lkb_nodeid = nodeid; in set_lock_master()
|
| /linux/include/trace/events/ |
| H A D | dlm.h | 593 __field(int32_t, nodeid) 608 __entry->nodeid = info->nodeid; 620 __entry->flags, __entry->pid, __entry->nodeid, 633 TP_PROTO(int nodeid, int ret), 635 TP_ARGS(nodeid, ret), 638 __field(int, nodeid) 643 __entry->nodeid = nodeid; 647 TP_printk("nodeid=%d ret=%d", __entry->nodeid, __entry->ret) 653 TP_PROTO(int nodeid, int ret), 655 TP_ARGS(nodeid, ret), [all …]
|
| /linux/fs/fuse/ |
| H A D | readdir.c | 168 if (!o->nodeid) { in fuse_direntplus_link() 190 if (invalid_nodeid(o->nodeid)) in fuse_direntplus_link() 209 if (inode && get_node_id(inode) != o->nodeid) in fuse_direntplus_link() 238 inode = fuse_iget(dir->i_sb, o->nodeid, o->generation, in fuse_direntplus_link() 270 static void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget() argument 280 args.nodeid = nodeid; in fuse_force_forget() 330 fuse_force_forget(file, direntplus->entry_out.nodeid); in parse_dirplusfile()
|
| H A D | file.c | 25 static int fuse_send_open(struct fuse_mount *fm, u64 nodeid, in fuse_send_open() argument 43 args.nodeid = nodeid; in fuse_send_open() 133 struct fuse_file *fuse_file_open(struct fuse_mount *fm, u64 nodeid, in fuse_file_open() argument 162 err = fuse_send_open(fm, nodeid, open_flags, opcode, outargp); in fuse_file_open() 184 ff->nodeid = nodeid; in fuse_file_open() 189 int fuse_do_open(struct fuse_mount *fm, u64 nodeid, struct file *file, in fuse_do_open() argument 192 struct fuse_file *ff = fuse_file_open(fm, nodeid, file->f_flags, isdir); in fuse_do_open() 341 ra->args.nodeid = ff->nodeid; in fuse_prepare_release() 498 args.nodeid = get_node_id(inode); in fuse_flush() 533 args.nodeid = get_node_id(inode); in fuse_fsync_common() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | dlm_plock.h | 37 __s32 nodeid; member
|
| H A D | dlm_device.h | 58 __u32 nodeid; member
|
| /linux/tools/testing/selftests/net/ |
| H A D | srv6_end_next_csid_l3vpn_test.sh | 531 local nodeid="$1" 533 printf "${LCNODEFUNC_FMT}" "${nodeid}" 538 local nodeid="$1" 543 lcnodefunc="$(build_csid "${nodeid}")"
|
| H A D | srv6_end_x_next_csid_l3vpn_test.sh | 579 local nodeid="$1" 581 printf "${LCNODEFUNC_FMT}" "${nodeid}" 586 local nodeid="$1" 591 lcnodefunc="$(build_csid "${nodeid}")"
|
| /linux/include/asm-generic/ |
| H A D | numa.h | 34 int __init numa_add_memblk(int nodeid, u64 start, u64 end);
|
| /linux/include/linux/ |
| H A D | dlm.h | 18 int nodeid; /* 1 to MAX_INT */ member
|
| H A D | numa_memblks.h | 24 int __init numa_add_memblk(int nodeid, u64 start, u64 end);
|