Home
last modified time | relevance | path

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

123

/Linux-v6.1/fs/dlm/
Dmidcomms.c153 int nodeid; member
273 static struct midcomms_node *__find_node(int nodeid, int r) in __find_node() argument
278 if (node->nodeid == nodeid) in __find_node()
305 pr_debug("flush midcomms send queue of node %d\n", node->nodeid); in dlm_send_queue_flush()
318 pr_debug("reset node %d\n", node->nodeid); in midcomms_node_reset()
330 static struct midcomms_node *nodeid2node(int nodeid, gfp_t alloc) in nodeid2node() argument
333 int r = nodeid_hash(nodeid); in nodeid2node()
335 node = __find_node(nodeid, r); in nodeid2node()
343 node->nodeid = nodeid; in nodeid2node()
356 tmp = __find_node(nodeid, r); in nodeid2node()
[all …]
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()
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 …]
Dlowcomms.h27 static inline int nodeid_hash(int nodeid) in nodeid_hash() argument
29 return nodeid & (CONN_HASH_SIZE-1); in nodeid_hash()
39 int dlm_lowcomms_close(int nodeid);
40 struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation,
46 int dlm_lowcomms_connect_node(int nodeid);
47 int dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark);
48 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len);
49 void dlm_midcomms_receive_done(int nodeid);
Ddir.c65 int error = -ENOMEM, last_len, nodeid, result; in dlm_recover_directory() local
79 if (memb->nodeid == dlm_our_nodeid()) in dlm_recover_directory()
92 error = dlm_rcom_names(ls, memb->nodeid, in dlm_recover_directory()
134 error = dlm_master_lookup(ls, memb->nodeid, in dlm_recover_directory()
137 &nodeid, &result); in dlm_recover_directory()
150 nodeid != memb->nodeid) { in dlm_recover_directory()
154 result, nodeid, memb->nodeid, in dlm_recover_directory()
165 nodeid == memb->nodeid) { in dlm_recover_directory()
236 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names() argument
250 nodeid, inlen, inbuf); in dlm_copy_master_names()
[all …]
Dmidcomms.h17 int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int buflen);
18 struct dlm_mhandle *dlm_midcomms_get_mhandle(int nodeid, int len,
21 int dlm_midcomms_close(int nodeid);
24 void dlm_midcomms_add_member(int nodeid);
25 void dlm_midcomms_remove_member(int nodeid);
26 void dlm_midcomms_unack_msg_resend(int nodeid);
Drcom.c124 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config() argument
130 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid, in check_rcom_config()
138 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config()
173 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags) in dlm_rcom_status() argument
179 ls->ls_recover_nodeid = nodeid; in dlm_rcom_status()
181 if (nodeid == dlm_our_nodeid()) { in dlm_rcom_status()
188 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()
228 int nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_status() local
[all …]
Dlowcomms.c72 uint32_t nodeid; /* So we know who we are in the list */ member
141 int nodeid; member
231 static struct connection *__find_con(int nodeid, int r) in __find_con() argument
236 if (con->nodeid == nodeid) in __find_con()
248 static int dlm_con_init(struct connection *con, int nodeid) in dlm_con_init() argument
255 con->nodeid = nodeid; in dlm_con_init()
271 static struct connection *nodeid2con(int nodeid, gfp_t alloc) in nodeid2con() argument
276 r = nodeid_hash(nodeid); in nodeid2con()
277 con = __find_con(nodeid, r); in nodeid2con()
285 ret = dlm_con_init(con, nodeid); in nodeid2con()
[all …]
Drequestqueue.c22 int nodeid; member
33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms) in dlm_add_requestqueue() argument
46 e->nodeid = nodeid; in dlm_add_requestqueue()
129 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() argument
137 if (dlm_is_removed(ls, nodeid)) in purge_request()
163 if (purge_request(ls, ms, e->nodeid)) { in dlm_purge_requestqueue()
Drcom.h15 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags);
16 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name,int last_len);
19 void dlm_receive_rcom(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid);
20 int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in);
Dconfig.c291 int nodeid; member
305 int nodeid; member
538 cm->nodeid = -1; in make_comm()
550 dlm_midcomms_close(cm->nodeid); in drop_comm()
572 nd->nodeid = -1; in make_node()
632 return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid); in comm_nodeid_show()
638 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store()
682 rv = dlm_lowcomms_addr(cm->nodeid, addr, len); in comm_addr_store()
757 rc = dlm_lowcomms_nodes_set_mark(comm->nodeid, mark); in comm_mark_store()
765 CONFIGFS_ATTR(comm_, nodeid);
[all …]
Dconfig.h18 int nodeid; member
54 int dlm_comm_seq(int nodeid, uint32_t *seq);
Dmember.h19 int dlm_is_removed(struct dlm_ls *ls, int nodeid);
20 int dlm_is_member(struct dlm_ls *ls, int nodeid);
Dlock.h19 void dlm_receive_buffer(union dlm_packet *p, int nodeid);
36 int dlm_master_lookup(struct dlm_ls *ls, int nodeid, char *name, int len,
71 int nodeid, int pid);
/Linux-v6.1/arch/x86/mm/
Damdtopology.c62 u32 nodeid, reg; in amd_numa_init() local
88 nodeids[i] = nodeid = limit & 7; in amd_numa_init()
94 if (nodeid >= numnodes) { in amd_numa_init()
95 pr_info("Ignoring excess node %d (%Lx:%Lx)\n", nodeid, in amd_numa_init()
107 nodeid, (base >> 8) & 3, (limit >> 8) & 3); in amd_numa_init()
110 if (node_isset(nodeid, numa_nodes_parsed)) { in amd_numa_init()
112 nodeid); in amd_numa_init()
133 pr_err("Empty node %d\n", nodeid); in amd_numa_init()
138 nodeid, base, limit); in amd_numa_init()
150 nodeid, base, limit); in amd_numa_init()
[all …]
/Linux-v6.1/include/trace/events/
Ddlm.h295 TP_PROTO(int nodeid, int ret),
297 TP_ARGS(nodeid, ret),
300 __field(int, nodeid)
305 __entry->nodeid = nodeid;
309 TP_printk("nodeid=%d ret=%d", __entry->nodeid, __entry->ret)
315 TP_PROTO(int nodeid, int ret),
317 TP_ARGS(nodeid, ret),
320 __field(int, nodeid)
325 __entry->nodeid = nodeid;
329 TP_printk("nodeid=%d ret=%d", __entry->nodeid, __entry->ret)
/Linux-v6.1/fs/fuse/
Dfuse_i.h73 u64 nodeid; member
191 u64 nodeid; member
250 uint64_t nodeid; member
889 return get_fuse_inode(inode)->nodeid; in get_node_id()
892 static inline int invalid_nodeid(u64 nodeid) in invalid_nodeid() argument
894 return !nodeid || nodeid == FUSE_ROOT_ID; in invalid_nodeid()
960 struct inode *fuse_iget(struct super_block *sb, u64 nodeid,
964 int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name,
971 u64 nodeid, u64 nlookup);
1203 struct inode *fuse_ilookup(struct fuse_conn *fc, u64 nodeid,
[all …]
Dinode.c81 fi->nodeid = 0; in fuse_alloc_inode()
131 fuse_queue_forget(fc, fi->forget, fi->nodeid, in fuse_evict_inode()
340 u64 nodeid = *(u64 *) _nodeidp; in fuse_inode_eq() local
341 if (get_node_id(inode) == nodeid) in fuse_inode_eq()
349 u64 nodeid = *(u64 *) _nodeidp; in fuse_inode_set() local
350 get_fuse_inode(inode)->nodeid = nodeid; in fuse_inode_set()
354 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, in fuse_iget() argument
376 get_fuse_inode(inode)->nodeid = nodeid; in fuse_iget()
382 inode = iget5_locked(sb, nodeid, fuse_inode_eq, fuse_inode_set, &nodeid); in fuse_iget()
409 struct inode *fuse_ilookup(struct fuse_conn *fc, u64 nodeid, in fuse_ilookup() argument
[all …]
Ddir.c182 u64 nodeid, const struct qstr *name, in fuse_lookup_init() argument
187 args->nodeid = nodeid; in fuse_lookup_init()
246 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate()
250 if (outarg.nodeid != get_node_id(inode) || in fuse_dentry_revalidate()
253 outarg.nodeid, 1); in fuse_dentry_revalidate()
369 int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name, in fuse_lookup_name() argument
391 fuse_lookup_init(fm->fc, &args, nodeid, name, outarg); in fuse_lookup_name()
394 if (err || !outarg->nodeid) in fuse_lookup_name()
398 if (!outarg->nodeid) in fuse_lookup_name()
403 *inode = fuse_iget(sb, outarg->nodeid, outarg->generation, in fuse_lookup_name()
[all …]
Dreaddir.c165 if (!o->nodeid) { in fuse_direntplus_link()
187 if (invalid_nodeid(o->nodeid)) in fuse_direntplus_link()
205 if (inode && get_node_id(inode) != o->nodeid) in fuse_direntplus_link()
234 inode = fuse_iget(dir->i_sb, o->nodeid, o->generation, in fuse_direntplus_link()
257 static void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget() argument
267 args.nodeid = nodeid; in fuse_force_forget()
316 fuse_force_forget(file, direntplus->entry_out.nodeid); in parse_dirplusfile()
Dxattr.c31 args.nodeid = get_node_id(inode); in fuse_setxattr()
66 args.nodeid = get_node_id(inode); in fuse_getxattr()
130 args.nodeid = get_node_id(inode); in fuse_listxattr()
166 args.nodeid = get_node_id(inode); in fuse_removexattr()
/Linux-v6.1/drivers/nvdimm/
Dnd_perf.c133 int nodeid; in nvdimm_pmu_cpu_offline() local
156 nodeid = cpu_to_node(cpu); in nvdimm_pmu_cpu_offline()
157 cpumask = cpumask_of_node(nodeid); in nvdimm_pmu_cpu_offline()
219 int nodeid, rc; in nvdimm_pmu_cpu_hotplug_init() local
232 nodeid = dev_to_node(nd_pmu->dev); in nvdimm_pmu_cpu_hotplug_init()
233 cpumask = cpumask_of_node(nodeid); in nvdimm_pmu_cpu_hotplug_init()
/Linux-v6.1/mm/
Dslab.c242 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument
245 list_splice(&get_node(cachep, nodeid)->slab, listp); \
248 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument
250 MAKE_LIST((cachep), (&(ptr)->slabs_full), slabs_full, nodeid); \
251 MAKE_LIST((cachep), (&(ptr)->slabs_partial), slabs_partial, nodeid); \
252 MAKE_LIST((cachep), (&(ptr)->slabs_free), slabs_free, nodeid); \
1151 int nodeid) in init_list() argument
1155 ptr = kmalloc_node(sizeof(struct kmem_cache_node), GFP_NOWAIT, nodeid); in init_list()
1164 MAKE_ALL_LISTS(cachep, ptr, nodeid); in init_list()
1165 cachep->node[nodeid] = ptr; in init_list()
[all …]
/Linux-v6.1/arch/x86/kernel/apic/
Dx2apic_uv_x.c1695 int bytes, cpu, nodeid; in uv_system_init_hub() local
1739 for_each_node(nodeid) { in uv_system_init_hub()
1742 if (__uv_hub_info_list[nodeid]) { in uv_system_init_hub()
1743 pr_err("UV: Node %d UV HUB already initialized!?\n", nodeid); in uv_system_init_hub()
1748 new_hub = (nodeid == 0) ? &uv_hub_info_node0 : kzalloc_node(bytes, GFP_KERNEL, nodeid); in uv_system_init_hub()
1750 __uv_hub_info_list[nodeid] = new_hub; in uv_system_init_hub()
1751 new_hub = uv_hub_info_list(nodeid); in uv_system_init_hub()
1757 new_hub->pnode = _node_to_pnode[nodeid]; in uv_system_init_hub()
1761 new_hub->numa_blade_id = uv_node_to_blade_id(nodeid); in uv_system_init_hub()
1773 nodeid = cpu_to_node(cpu); in uv_system_init_hub()
[all …]
/Linux-v6.1/drivers/net/appletalk/
Dcops.c176 int nodeid; /* Set to 1 once have nodeid. */ member
190 static int cops_nodeid (struct net_device *dev, int nodeid);
468 if(lp->nodeid == 1) in cops_jumpstart()
605 static int cops_nodeid (struct net_device *dev, int nodeid) in cops_nodeid() argument
624 outb(nodeid, ioaddr); /* Suggest node address. */ in cops_nodeid()
638 if(nodeid == 0) /* Seed. */ in cops_nodeid()
639 nodeid = jiffies&0xFF; /* Get a random try */ in cops_nodeid()
643 outb(nodeid, ioaddr); /* LAP address hint. */ in cops_nodeid()
669 lp->nodeid=1; /* Set got nodeid to 1. */ in cops_nodeid()
/Linux-v6.1/include/uapi/linux/
Dfuse.h569 uint64_t nodeid; /* Inode ID */ member
584 uint64_t nodeid; member
873 uint64_t nodeid; member
933 uint64_t nodeid; member
941 uint64_t nodeid; member

123