Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/fs/dlm/
Dmember.c51 if (!slot->nodeid) in dlm_slots_copy_out()
53 ro->ro_nodeid = cpu_to_le32(slot->nodeid); in dlm_slots_copy_out()
74 if (!array[i].nodeid) in log_slots()
78 array[i].slot, array[i].nodeid); in log_slots()
131 if (ro->ro_nodeid != memb->nodeid) in dlm_slots_copy_in()
138 if (memb->nodeid == our_nodeid) { in dlm_slots_copy_in()
152 memb->nodeid); in dlm_slots_copy_in()
179 if (memb->nodeid == our_nodeid) { in dlm_slots_assign()
211 memb->nodeid, memb->slot_prev, memb->slot); in dlm_slots_assign()
236 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign()
[all …]
Dlowcomms.c70 uint32_t nodeid; /* So we know who we are in the list */ member
113 int nodeid; member
148 static inline int nodeid_hash(int nodeid) in nodeid_hash() argument
150 return nodeid & (CONN_HASH_SIZE-1); in nodeid_hash()
153 static struct connection *__find_con(int nodeid) in __find_con() argument
158 r = nodeid_hash(nodeid); in __find_con()
162 if (con->nodeid == nodeid) { in __find_con()
176 static struct connection *nodeid2con(int nodeid, gfp_t alloc) in nodeid2con() argument
181 con = __find_con(nodeid); in nodeid2con()
196 con->nodeid = nodeid; in nodeid2con()
[all …]
Drcom.c93 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config() argument
99 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid, in check_rcom_config()
107 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config()
142 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags) in dlm_rcom_status() argument
148 ls->ls_recover_nodeid = nodeid; in dlm_rcom_status()
150 if (nodeid == dlm_our_nodeid()) { in dlm_rcom_status()
157 error = create_rcom(ls, nodeid, DLM_RCOM_STATUS, in dlm_rcom_status()
180 log_debug(ls, "remote node %d not ready", nodeid); in dlm_rcom_status()
184 error = check_rcom_config(ls, rc, nodeid); in dlm_rcom_status()
198 int nodeid = rc_in->rc_header.h_nodeid; in receive_rcom_status() local
[all …]
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()
91 error = dlm_rcom_names(ls, memb->nodeid, in dlm_recover_directory()
133 error = dlm_master_lookup(ls, memb->nodeid, in dlm_recover_directory()
136 &nodeid, &result); in dlm_recover_directory()
149 nodeid != memb->nodeid) { in dlm_recover_directory()
153 result, nodeid, memb->nodeid, in dlm_recover_directory()
164 nodeid == memb->nodeid) { in dlm_recover_directory()
235 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names() argument
249 nodeid, inlen, inbuf); in dlm_copy_master_names()
[all …]
Drequestqueue.c21 int nodeid; member
32 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms) in dlm_add_requestqueue() argument
44 e->nodeid = nodeid; in dlm_add_requestqueue()
128 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() argument
136 if (dlm_is_removed(ls, nodeid)) in purge_request()
162 if (purge_request(ls, ms, e->nodeid)) { in dlm_purge_requestqueue()
Dlowcomms.h18 int dlm_lowcomms_close(int nodeid);
19 void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
21 int dlm_lowcomms_connect_node(int nodeid);
22 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len);
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.c256 int nodeid; member
270 int nodeid; member
502 cm->nodeid = -1; in make_comm()
514 dlm_lowcomms_close(cm->nodeid); in drop_comm()
536 nd->nodeid = -1; in make_node()
596 return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid); in comm_nodeid_show()
602 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store()
646 rv = dlm_lowcomms_addr(cm->nodeid, addr, len); in comm_addr_store()
720 CONFIGFS_ATTR(comm_, nodeid);
737 return sprintf(buf, "%d\n", config_item_to_node(item)->nodeid); in node_nodeid_show()
[all …]
Dconfig.h18 int nodeid; member
50 int dlm_comm_seq(int nodeid, uint32_t *seq);
51 void dlm_comm_mark(int nodeid, unsigned int *mark);
Dmidcomms.c38 int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int len) in dlm_process_incoming_buffer() argument
55 msglen, nodeid); in dlm_process_incoming_buffer()
96 dlm_receive_buffer((union dlm_packet *)buf, nodeid); in dlm_process_incoming_buffer()
Dlock.h19 void dlm_receive_buffer(union dlm_packet *p, int nodeid);
30 int dlm_master_lookup(struct dlm_ls *ls, int nodeid, char *name, int len,
58 int nodeid, int pid);
Dmember.h19 int dlm_is_removed(struct dlm_ls *ls, int nodeid);
20 int dlm_is_member(struct dlm_ls *ls, int nodeid);
Dmidcomms.h15 int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int buflen);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/fuse/
Dinode.c82 fi->nodeid = 0; in fuse_alloc_inode()
133 fuse_queue_forget(fc, fi->forget, fi->nodeid, in fuse_evict_inode()
299 u64 nodeid = *(u64 *) _nodeidp; in fuse_inode_eq() local
300 if (get_node_id(inode) == nodeid) in fuse_inode_eq()
308 u64 nodeid = *(u64 *) _nodeidp; in fuse_inode_set() local
309 get_fuse_inode(inode)->nodeid = nodeid; in fuse_inode_set()
313 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, in fuse_iget() argument
335 get_fuse_inode(inode)->nodeid = nodeid; in fuse_iget()
341 inode = iget5_locked(sb, nodeid, fuse_inode_eq, fuse_inode_set, &nodeid); in fuse_iget()
368 struct inode *fuse_ilookup(struct fuse_conn *fc, u64 nodeid, in fuse_ilookup() argument
[all …]
Dfuse_i.h73 u64 nodeid; member
198 u64 nodeid; member
257 uint64_t nodeid; member
851 return get_fuse_inode(inode)->nodeid; in get_node_id()
854 static inline int invalid_nodeid(u64 nodeid) in invalid_nodeid() argument
856 return !nodeid || nodeid == FUSE_ROOT_ID; in invalid_nodeid()
891 struct inode *fuse_iget(struct super_block *sb, u64 nodeid,
895 int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name,
902 u64 nodeid, u64 nlookup);
1134 struct inode *fuse_ilookup(struct fuse_conn *fc, u64 nodeid,
[all …]
Ddir.c173 u64 nodeid, const struct qstr *name, in fuse_lookup_init() argument
178 args->nodeid = nodeid; in fuse_lookup_init()
237 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate()
241 if (outarg.nodeid != get_node_id(inode) || in fuse_dentry_revalidate()
244 outarg.nodeid, 1); in fuse_dentry_revalidate()
421 int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name, in fuse_lookup_name() argument
443 fuse_lookup_init(fm->fc, &args, nodeid, name, outarg); in fuse_lookup_name()
446 if (err || !outarg->nodeid) in fuse_lookup_name()
450 if (!outarg->nodeid) in fuse_lookup_name()
455 *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.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()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dx2apic_uv_x.c1676 int bytes, cpu, nodeid; in uv_system_init_hub() local
1720 for_each_node(nodeid) { in uv_system_init_hub()
1723 if (__uv_hub_info_list[nodeid]) { in uv_system_init_hub()
1724 pr_err("UV: Node %d UV HUB already initialized!?\n", nodeid); in uv_system_init_hub()
1729 new_hub = (nodeid == 0) ? &uv_hub_info_node0 : kzalloc_node(bytes, GFP_KERNEL, nodeid); in uv_system_init_hub()
1731 __uv_hub_info_list[nodeid] = new_hub; in uv_system_init_hub()
1732 new_hub = uv_hub_info_list(nodeid); in uv_system_init_hub()
1738 new_hub->pnode = _node_to_pnode[nodeid]; in uv_system_init_hub()
1742 new_hub->numa_blade_id = uv_node_to_blade_id(nodeid); in uv_system_init_hub()
1754 nodeid = cpu_to_node(cpu); in uv_system_init_hub()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/mm/
Dslab.c241 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument
244 list_splice(&get_node(cachep, nodeid)->slab, listp); \
247 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument
249 MAKE_LIST((cachep), (&(ptr)->slabs_full), slabs_full, nodeid); \
250 MAKE_LIST((cachep), (&(ptr)->slabs_partial), slabs_partial, nodeid); \
251 MAKE_LIST((cachep), (&(ptr)->slabs_free), slabs_free, nodeid); \
628 gfp_t flags, int nodeid) in ____cache_alloc_node() argument
1165 int nodeid) in init_list() argument
1169 ptr = kmalloc_node(sizeof(struct kmem_cache_node), GFP_NOWAIT, nodeid); in init_list()
1178 MAKE_ALL_LISTS(cachep, ptr, nodeid); in init_list()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dfuse.h507 uint64_t nodeid; /* Inode ID */ member
522 uint64_t nodeid; member
804 uint64_t nodeid; member
861 uint64_t nodeid; member
869 uint64_t nodeid; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dfuse.h164 uint64_t nodeid; member
176 uint64_t nodeid; member
410 uint64_t nodeid; member
458 uint64_t nodeid; member
465 uint64_t nodeid; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dfuse.h190 uint64_t nodeid; member
202 uint64_t nodeid; member
438 uint64_t nodeid; member
487 uint64_t nodeid; member
494 uint64_t nodeid; member

123