Home
last modified time | relevance | path

Searched refs:nodeid (Results 1 – 25 of 42) sorted by relevance

12

/linux/fs/dlm/
H A Dmember.c52 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()
147 log_error(ls, "dlm_slots_copy_in nodeid %d no slot", in dlm_slots_copy_in()
148 memb->nodeid); in dlm_slots_copy_in()
175 if (memb->nodeid == our_nodeid) { in dlm_slots_assign()
206 log_error(ls, "nodeid in dlm_slots_assign()
306 add_remote_member(int nodeid) add_remote_member() argument
345 find_memb(struct list_head * head,int nodeid) find_memb() argument
356 dlm_is_member(struct dlm_ls * ls,int nodeid) dlm_is_member() argument
363 dlm_is_removed(struct dlm_ls * ls,int nodeid) dlm_is_removed() argument
373 clear_memb_list(struct list_head * head,void (* after_del)(int nodeid)) clear_memb_list() argument
386 remove_remote_member(int nodeid) remove_remote_member() argument
536 find_config_node(struct dlm_recover * rv,int nodeid) find_config_node() argument
[all...]
H A Ddir.c63 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 Dlowcomms.h27 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 Dmidcomms.h17 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 Dconfig.c27 * /config/dlm/<cluster>/spaces/<space>/nodes/<node>/nodeid (refers to <node>)
30 * /config/dlm/<cluster>/comms/<comm>/nodeid (refers to <comm>)
325 int nodeid;
339 int nodeid;
342 int comm_seq; /* copy of cm->seq when nd->nodeid is set */
347 int nodeid;
553 unsigned int nodeid; in drop_comm()
556 rv = kstrtouint(name, 0, &nodeid); in drop_comm()
570 cm->nodeid = nodeid; in make_node()
299 int nodeid; global() member
313 int nodeid; global() member
321 int nodeid; global() member
527 unsigned int nodeid; make_comm() local
571 unsigned int nodeid; make_node() local
657 unsigned int nodeid; comm_nodeid_show() local
810 unsigned int nodeid; node_nodeid_show() local
895 get_comm(int nodeid) get_comm() argument
989 dlm_comm_seq(int nodeid,uint32_t * seq,bool locked) dlm_comm_seq() argument
[all...]
H A Drcom.c122 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 Drequestqueue.c22 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 Drcom.h15 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 Dconfig.h18 int nodeid; member
55 int dlm_comm_seq(int nodeid, uint32_t *seq, bool locked);
H A Dmember.h19 int dlm_is_removed(struct dlm_ls *ls, int nodeid);
20 int dlm_is_member(struct dlm_ls *ls, int nodeid);
H A Dlock.h19 void dlm_receive_buffer(const union dlm_packet *p, int nodeid);
59 int nodeid, int pid);
H A Dlock.c91 static void do_purge(struct dlm_ls *ls, int nodeid, int pid);
163 printk(KERN_ERR "lkb: nodeid %d id %x remid %x exflags %x flags %x " in dlm_print_lkb()
173 printk(KERN_ERR "rsb: nodeid %d master %d dir %d flags %lx first %x " in dlm_print_rsb()
889 /* When we are the dir nodeid, we can set the master in find_rsb_dir()
1138 /* our rsb is not master, but the dir nodeid has sent us a in validate_master_nodeid()
1238 * master nodeid. During normal operation (non recovery) this is only
2571 log_print("grant_pending_locks r nodeid %d", r->res_nodeid); in grant_pending_locks()
2641 /* set_master(r, lkb) -- set the master nodeid of a resource
2643 The purpose of this function is to set the nodeid field in the given
2644 lkb using the nodeid fiel
3808 int error, nodeid = le32_to_cpu(ms_in->m_header.h_nodeid); send_lookup_reply() local
4915 dlm_receive_message(struct dlm_ls * ls,const struct dlm_message * ms,int nodeid) dlm_receive_message() argument
4960 dlm_receive_buffer(const union dlm_packet * p,int nodeid) dlm_receive_buffer() argument
5497 search_remid_list(struct list_head * head,int nodeid,uint32_t remid) search_remid_list() argument
5509 search_remid(struct dlm_rsb * r,int nodeid,uint32_t remid) search_remid() argument
6229 do_purge(struct dlm_ls * ls,int nodeid,int pid) do_purge() argument
6244 send_purge(struct dlm_ls * ls,int nodeid,int pid) send_purge() argument
6261 dlm_user_purge(struct dlm_ls * ls,struct dlm_user_proc * proc,int nodeid,int pid) dlm_user_purge() argument
[all...]
H A Drequestqueue.h14 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid,
H A Ddir.h21 char *outbuf, int outlen, int nodeid);
H A Drecover.c110 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/fs/fuse/
H A Dfuse_i.h83 * @nodeid: Unique ID, which identifies the inode between userspace member
86 u64 nodeid;
135 * @nodeid: Unique ID, which identifies the inode between userspace
138 u64 nodeid;
310 /** @nodeid: Node id of this file */
311 u64 nodeid;
889 return get_fuse_inode(inode)->nodeid; in fuse_folio_descs_length_init()
892 static inline int invalid_nodeid(u64 nodeid)
894 return !nodeid || nodeid in fuse_sync_bucket_dec()
110 u64 nodeid; global() member
283 u64 nodeid; global() member
832 invalid_nodeid(u64 nodeid) invalid_nodeid() argument
[all...]
H A Ddir.c364 static void fuse_lookup_init(struct fuse_args *args, u64 nodeid, in fuse_lookup_init() argument
370 args->nodeid = nodeid; in fuse_lookup_init()
434 /* Zero nodeid is same as -ENOENT */ in fuse_dentry_revalidate()
435 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate()
439 if (outarg.nodeid != get_node_id(inode) || in fuse_dentry_revalidate()
442 outarg.nodeid, 1); in fuse_dentry_revalidate()
562 int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name, in fuse_lookup_name() argument
585 fuse_lookup_init(&args, nodeid, name, outarg); in fuse_lookup_name()
587 /* Zero nodeid i in fuse_lookup_name()
[all...]
H A Dxattr.c29 args.nodeid = get_node_id(inode); in fuse_setxattr()
64 args.nodeid = get_node_id(inode); in fuse_getxattr()
128 args.nodeid = get_node_id(inode); in fuse_listxattr()
164 args.nodeid = get_node_id(inode); in fuse_removexattr()
H A Dreaddir.c169 if (!o->nodeid) { in fuse_direntplus_link()
171 * Unlike in the case of fuse_lookup, zero nodeid does not mean in fuse_direntplus_link()
191 if (invalid_nodeid(o->nodeid)) in fuse_direntplus_link()
209 if (inode && get_node_id(inode) != o->nodeid) in fuse_direntplus_link()
239 inode = fuse_iget(dir->i_sb, o->nodeid, o->generation, in fuse_direntplus_link()
277 static void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget()
287 args.nodeid = nodeid; in fuse_force_forget()
337 fuse_force_forget(file, direntplus->entry_out.nodeid); in fuse_readdir_alloc_buf()
270 fuse_force_forget(struct file * file,u64 nodeid) fuse_force_forget() argument
H A Dfile.c25 static int fuse_send_open(struct fuse_mount *fm, u64 nodeid, in fuse_send_open() argument
44 args.nodeid = nodeid; in fuse_send_open()
137 struct fuse_file *fuse_file_open(struct fuse_mount *fm, u64 nodeid, in fuse_file_open()
166 err = fuse_send_open(fm, nodeid, open_flags, opcode, outargp); in fuse_file_open()
188 ff->nodeid = nodeid;
193 int fuse_do_open(struct fuse_mount *fm, u64 nodeid, struct file *file, in fuse_do_open()
196 struct fuse_file *ff = fuse_file_open(fm, nodeid, file->f_flags, isdir); in fuse_do_open()
349 ra->args.nodeid in fuse_prepare_release()
133 fuse_file_open(struct fuse_mount * fm,u64 nodeid,unsigned int open_flags,bool isdir) fuse_file_open() argument
189 fuse_do_open(struct fuse_mount * fm,u64 nodeid,struct file * file,bool isdir) fuse_do_open() argument
[all...]
H A Dioctl.c316 ap.args.nodeid = ff->nodeid; in fuse_do_ioctl()
461 args.nodeid = ff->nodeid; in fuse_priv_ioctl()
/linux/include/trace/events/
H A Ddlm.h593 __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/tools/testing/selftests/net/
H A Dsrv6_end_next_csid_l3vpn_test.sh514 local nodeid="$1"
516 printf "${LCNODEFUNC_FMT}" "${nodeid}"
521 local nodeid="$1"
526 lcnodefunc="$(build_csid "${nodeid}")"
H A Dsrv6_end_x_next_csid_l3vpn_test.sh562 local nodeid="$1"
564 printf "${LCNODEFUNC_FMT}" "${nodeid}"
569 local nodeid="$1"
574 lcnodefunc="$(build_csid "${nodeid}")"
/linux/include/uapi/linux/
H A Ddlm_plock.h37 __s32 nodeid; member

12