Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/fs/dlm/
A Dmidcomms.c154 int nodeid; member
279 if (node->nodeid == nodeid) in __find_node()
344 node->nodeid = nodeid; in nodeid2node()
581 msglen, nodeid); in dlm_midcomms_recv_node_lookup()
662 node->nodeid); in dlm_midcomms_version_check_3_2()
694 len, nodeid); in dlm_opts_check_msglen()
702 msglen, nodeid); in dlm_opts_check_msglen()
710 len, nodeid); in dlm_opts_check_msglen()
769 msglen, nodeid); in dlm_midcomms_receive_buffer_3_2()
832 node->nodeid); in dlm_midcomms_version_check_3_1()
[all …]
A Dmember.c52 if (!slot->nodeid) in dlm_slots_copy_out()
148 memb->nodeid); in dlm_slots_copy_in()
232 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign()
249 array[i].nodeid = memb->nodeid; in dlm_slots_assign()
295 if (new->nodeid < memb->nodeid) in add_ordered_member()
325 memb->nodeid = node->nodeid; in dlm_add_member()
339 if (memb->nodeid == nodeid) in find_memb()
481 slot.nodeid = memb->nodeid; in dlm_lsop_recover_slot()
507 slots[i].nodeid = memb->nodeid; in dlm_lsop_recover_done()
519 int nodeid) in find_config_node() argument
[all …]
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, 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);
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,
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);
A 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 …]
A Drcom.c130 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid, in check_rcom_config()
138 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config()
179 ls->ls_recover_nodeid = nodeid; in dlm_rcom_status()
181 if (nodeid == dlm_our_nodeid()) { in dlm_rcom_status()
215 error = check_rcom_config(ls, rc, nodeid); in dlm_rcom_status()
311 ls->ls_recover_nodeid = nodeid; in dlm_rcom_names()
336 int error, inlen, outlen, nodeid; in receive_rcom_names() local
339 nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_names()
352 nodeid); in receive_rcom_names()
668 nodeid, in dlm_receive_rcom()
[all …]
A Dlowcomms.c152 int nodeid; member
272 if (con->nodeid == nodeid) in __find_con()
281 con->nodeid = nodeid; in dlm_con_init()
300 r = nodeid_hash(nodeid); in nodeid2con()
301 con = __find_con(nodeid, r); in nodeid2con()
309 dlm_con_init(con, nodeid); in nodeid2con()
432 *nodeid = con->nodeid; in addr_to_nodeid()
853 pentry->nodeid = nodeid; in new_processqueue_entry()
864 int nodeid; member
875 if (n->nodeid == nodeid) in add_processed_node()
[all …]
A 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()
130 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() argument
138 if (dlm_is_removed(ls, nodeid)) in purge_request()
164 if (purge_request(ls, ms, e->nodeid)) { in dlm_purge_requestqueue()
A 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);
A 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()
765 CONFIGFS_ATTR(comm_, nodeid);
794 dlm_comm_seq(nd->nodeid, &seq); in node_nodeid_store()
814 CONFIGFS_ATTR(node_, nodeid);
860 if (cm->nodeid != nodeid) in get_comm()
908 node->nodeid = nd->nodeid; in dlm_config_nodes()
[all …]
A Dconfig.h18 int nodeid; member
54 int dlm_comm_seq(int nodeid, uint32_t *seq);
A Dmember.h19 int dlm_is_removed(struct dlm_ls *ls, int nodeid);
20 int dlm_is_member(struct dlm_ls *ls, int nodeid);
A 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-6.3-rc2/arch/x86/mm/
A 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()
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()
153 numa_add_memblk(nodeid, base, limit); in amd_numa_init()
[all …]
/linux-6.3-rc2/fs/fuse/
A Dinode.c81 fi->nodeid = 0; in fuse_alloc_inode()
357 get_fuse_inode(inode)->nodeid = nodeid; in fuse_inode_set()
383 get_fuse_inode(inode)->nodeid = nodeid; in fuse_iget()
389 inode = iget5_locked(sb, nodeid, fuse_inode_eq, fuse_inode_set, &nodeid); in fuse_iget()
427 inode = ilookup5(fm_iter->sb, nodeid, fuse_inode_eq, &nodeid); in fuse_ilookup()
905 u64 nodeid; member
917 if (handle->nodeid == 0) in fuse_get_dentry()
920 inode = ilookup5(sb, handle->nodeid, fuse_inode_eq, &handle->nodeid); in fuse_get_dentry()
960 u64 nodeid; in fuse_encode_fh() local
968 nodeid = get_fuse_inode(inode)->nodeid; in fuse_encode_fh()
[all …]
A Dfuse_i.h73 u64 nodeid; member
191 u64 nodeid; member
250 uint64_t nodeid; member
894 return get_fuse_inode(inode)->nodeid; in get_node_id()
897 static inline int invalid_nodeid(u64 nodeid) in invalid_nodeid() argument
899 return !nodeid || nodeid == FUSE_ROOT_ID; in invalid_nodeid()
965 struct inode *fuse_iget(struct super_block *sb, u64 nodeid,
976 u64 nodeid, u64 nlookup);
1208 struct inode *fuse_ilookup(struct fuse_conn *fc, u64 nodeid,
1214 int fuse_reverse_inval_inode(struct fuse_conn *fc, u64 nodeid,
[all …]
A Ddir.c187 args->nodeid = nodeid; in fuse_lookup_init()
246 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate()
253 outarg.nodeid, 1); in fuse_dentry_revalidate()
394 if (err || !outarg->nodeid) in fuse_lookup_name()
398 if (!outarg->nodeid) in fuse_lookup_name()
661 args.nodeid = get_node_id(dir); in fuse_create_open()
688 ff->nodeid = outentry.nodeid; in fuse_create_open()
794 args->nodeid = get_node_id(dir); in create_new_entry()
983 args.nodeid = get_node_id(dir); in fuse_unlink()
1006 args.nodeid = get_node_id(dir); in fuse_rmdir()
[all …]
A 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()
A 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()
/linux-6.3-rc2/drivers/nvdimm/
A 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-6.3-rc2/mm/
A Dslab.c1150 int nodeid) in init_list() argument
1164 cachep->node[nodeid] = ptr; in init_list()
1323 nodeid, gfpflags, &gfpflags); in slab_out_of_memory()
1353 int nodeid) in kmem_getpages() argument
2297 local_flags, nodeid); in alloc_slabmgmt()
2543 gfp_t flags, int nodeid) in cache_grow_begin() argument
3138 int nodeid) in ____cache_alloc_node() argument
3145 VM_BUG_ON(nodeid < 0 || nodeid >= MAX_NUMNODES); in ____cache_alloc_node()
3146 n = get_node(cachep, nodeid); in ____cache_alloc_node()
3190 if (nodeid == NUMA_NO_NODE) { in __do_cache_alloc()
[all …]
/linux-6.3-rc2/include/trace/events/
A Ddlm.h598 TP_PROTO(int nodeid, int ret),
600 TP_ARGS(nodeid, ret),
603 __field(int, nodeid)
608 __entry->nodeid = nodeid;
612 TP_printk("nodeid=%d ret=%d", __entry->nodeid, __entry->ret)
618 TP_PROTO(int nodeid, int ret),
620 TP_ARGS(nodeid, ret),
623 __field(int, nodeid)
628 __entry->nodeid = nodeid;
632 TP_printk("nodeid=%d ret=%d", __entry->nodeid, __entry->ret)
/linux-6.3-rc2/arch/x86/kernel/apic/
A 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()
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()
1773 nodeid = cpu_to_node(cpu); in uv_system_init_hub()
1783 if (nodeid != numa_node_id && in uv_system_init_hub()
1790 for_each_node(nodeid) { in uv_system_init_hub()
1804 nodeid, in uv_system_init_hub()
[all …]
/linux-6.3-rc2/drivers/net/appletalk/
A 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-6.3-rc2/include/uapi/linux/
A Dfuse.h600 uint64_t nodeid; /* Inode ID */ member
615 uint64_t nodeid; member
904 uint64_t nodeid; member
965 uint64_t nodeid; member
973 uint64_t nodeid; member

Completed in 63 milliseconds

123