Searched refs:nodeid (Results 1 - 25 of 53) sorted by path

123

/linux-master/arch/loongarch/include/asm/
H A Dnuma.h37 extern int __init numa_add_memblk(int nodeid, u64 start, u64 end);
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c484 int rc, nodeid; local
508 nodeid = numa_map_to_online_node(dev_to_node(&p->pdev->dev));
509 nd_pmu->arch_cpumask = *cpumask_of_node(nodeid);
/linux-master/arch/x86/events/intel/
H A Duncore_snbep.c1381 int *nodeid, int *groupid)
1386 ret = pci_read_config_dword(ubox_dev, nodeid_loc, nodeid);
1390 *nodeid = *nodeid & NODE_ID_MASK;
1399 static int topology_gidnid_map(int nodeid, u32 gidnid) argument
1408 if (nodeid == GIDNIDMAP(gidnid, i)) {
1428 int i, bus, nodeid, segment, die_id; local
1440 * The nodeid and idmap registers only contain enough
1448 &nodeid, &config);
1461 map->pbus_to_dieid[bus] = topology_gidnid_map(nodeid, confi
1380 upi_nodeid_groupid(struct pci_dev *ubox_dev, int nodeid_loc, int idmap_loc, int *nodeid, int *groupid) argument
[all...]
/linux-master/arch/x86/include/asm/
H A Dnuma.h28 extern int __init numa_add_memblk(int nodeid, u64 start, u64 end);
/linux-master/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c1650 int bytes, cpu, nodeid, bid; local
1752 for_each_node(nodeid)
1753 __uv_hub_info_list[nodeid] = uv_hub_info_list_blade[uv_node_to_blade_id(nodeid)];
/linux-master/arch/x86/mm/
H A Damdtopology.c60 u32 nodeid, reg; local
86 nodeids[i] = nodeid = limit & 7;
92 if (nodeid >= numnodes) {
93 pr_info("Ignoring excess node %d (%Lx:%Lx)\n", nodeid,
105 nodeid, (base >> 8) & 3, (limit >> 8) & 3);
108 if (node_isset(nodeid, numa_nodes_parsed)) {
110 nodeid);
131 pr_err("Empty node %d\n", nodeid);
136 nodeid, base, limit);
148 nodeid, bas
[all...]
/linux-master/drivers/md/
H A Dmd-cluster.c382 slot->nodeid, slot->slot,
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.c638 lld->nodeid = dev_to_node(adap->pdev_dev);
H A Dcxgb4_uld.h467 int nodeid; /* device numa node id */ member in struct:cxgb4_lld_info
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c267 lldi->nodeid);
/linux-master/drivers/nvdimm/
H A Dnd_perf.c133 int nodeid; local
156 nodeid = cpu_to_node(cpu);
157 cpumask = cpumask_of_node(nodeid);
219 int nodeid, rc; local
232 nodeid = dev_to_node(nd_pmu->dev);
233 cpumask = cpumask_of_node(nodeid);
/linux-master/drivers/perf/
H A Darm-cmn.c1281 CMN_FORMAT_ATTR(nodeid, CMN_CONFIG_NODEID),
1698 u16 nodeid, eventid; local
1733 nodeid = CMN_EVENT_NODEID(event);
1741 if (bynodeid && dn->id != nodeid) {
1756 struct arm_cmn_nodeid nid = arm_cmn_nid(cmn, nodeid);
1759 nodeid, nid.x, nid.y, nid.port, nid.dev, type);
/linux-master/fs/dlm/
H A Dconfig.c27 * /config/dlm/<cluster>/spaces/<space>/nodes/<node>/nodeid
29 * /config/dlm/<cluster>/comms/<comm>/nodeid
279 int nodeid; member in struct:dlm_comm
293 int nodeid; member in struct:dlm_node
296 int comm_seq; /* copy of cm->seq when nd->nodeid is set */
523 cm->nodeid = -1;
535 dlm_midcomms_close(cm->nodeid);
557 nd->nodeid = -1;
617 return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid);
623 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid);
831 get_comm(int nodeid) argument
911 dlm_comm_seq(int nodeid, uint32_t *seq) argument
[all...]
H A Dconfig.h18 int nodeid; member in struct:dlm_config_node
51 int dlm_comm_seq(int nodeid, uint32_t *seq);
H A Ddebug_fs.c182 /* id nodeid remid pid xid exflags flags sts grmode rqmode time_us
439 seq_puts(seq, "id nodeid remid pid xid exflags flags sts grmode rqmode time_ms r_nodeid r_len r_name\n");
446 seq_puts(seq, "rsb ptr nodeid first_lkid flags !root_list_empty !recover_list_empty recover_locks_count len\n");
453 seq_puts(seq, "rsb ptr nodeid master_nodeid dir_nodeid our_nodeid toss_time flags len str|hex name\n");
950 void *dlm_create_debug_comms_file(int nodeid, void *data) argument
956 snprintf(name, 256, "%d", nodeid);
H A Ddir.c30 * offset into the sorted list of nodeid's to give the particular nodeid.
65 int error = -ENOMEM, last_len, nodeid, result; local
79 if (memb->nodeid == dlm_our_nodeid())
92 error = dlm_rcom_names(ls, memb->nodeid,
134 error = dlm_master_lookup(ls, memb->nodeid,
137 &nodeid, &result);
145 * master nodeid is different from
146 * memb->nodeid which says it is the master.
150 nodeid !
236 dlm_copy_master_names(struct dlm_ls *ls, const char *inbuf, int inlen, char *outbuf, int outlen, int nodeid) argument
[all...]
H A Ddir.h20 char *outbuf, int outlen, int nodeid);
H A Ddlm_internal.h118 int nodeid; member in struct:dlm_member
186 * lkb_nodeid: when the lkb is a local copy, nodeid is 0; when the lkb
187 * is a master copy, nodeid specifies the remote lock holder, when the
188 * lkb is a process copy, the nodeid specifies the lock master.
282 * nodeid, even when nodeid is our_nodeid.
285 * greater than zero when another nodeid.
391 __le32 h_nodeid; /* nodeid of sender */
817 void *dlm_create_debug_comms_file(int nodeid, void *data);
824 static inline void *dlm_create_debug_comms_file(int nodeid, voi argument
[all...]
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 "
173 printk(KERN_ERR "rsb: nodeid %d master %d dir %d flags %lx first %x "
693 /* When we are the dir nodeid, we can set the master
860 /* our rsb is not master, but the dir nodeid has sent us a
960 * master nodeid. During normal operation (non recovery) this is only
2398 log_print("grant_pending_locks r nodeid %d", r->res_nodeid);
2468 /* set_master(r, lkb) -- set the master nodeid of a resource
2470 The purpose of this function is to set the nodeid field in the given
2471 lkb using the nodeid fiel
3654 int error, nodeid = le32_to_cpu(ms_in->m_header.h_nodeid); local
4757 dlm_receive_message(struct dlm_ls *ls, const struct dlm_message *ms, int nodeid) argument
4791 dlm_receive_buffer(const union dlm_packet *p, int nodeid) argument
5355 search_remid_list(struct list_head *head, int nodeid, uint32_t remid) argument
5367 search_remid(struct dlm_rsb *r, int nodeid, uint32_t remid) argument
6086 do_purge(struct dlm_ls *ls, int nodeid, int pid) argument
6101 send_purge(struct dlm_ls *ls, int nodeid, int pid) argument
6117 dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc, int nodeid, int pid) argument
[all...]
H A Dlock.h19 void dlm_receive_buffer(const union dlm_packet *p, int nodeid);
56 int nodeid, int pid);
H A Dlowcomms.c71 uint32_t nodeid; /* So we know who we are in the list */ member in struct:connection
153 int nodeid; member in struct:processqueue_entry
270 static struct connection *__find_con(int nodeid, int r) argument
275 if (con->nodeid == nodeid)
282 static void dlm_con_init(struct connection *con, int nodeid) argument
284 con->nodeid = nodeid;
298 static struct connection *nodeid2con(int nodeid, gfp_t alloc) argument
303 r = nodeid_hash(nodeid);
362 nodeid_to_addr(int nodeid, struct sockaddr_storage *sas_out, struct sockaddr *sa_out, bool try_new_addr, unsigned int *mark) argument
421 addr_to_nodeid(struct sockaddr_storage *addr, int *nodeid, unsigned int *mark) argument
463 dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len) argument
547 dlm_lowcomms_connect_node(int nodeid) argument
572 dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark) argument
835 new_processqueue_entry(int nodeid, int buflen) argument
861 int nodeid; member in struct:dlm_processed_nodes
988 int len, idx, result, nodeid; local
1264 dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation, char **ppc, void (*cb)(void *data), void *data) argument
1449 dlm_lowcomms_close(int nodeid) argument
[all...]
H A Dlowcomms.h27 static inline int nodeid_hash(int nodeid) argument
29 return nodeid & (CONN_HASH_SIZE-1);
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);
H A Dmember.c52 if (!slot->nodeid)
54 ro->ro_nodeid = cpu_to_le32(slot->nodeid);
75 if (!array[i].nodeid)
79 array[i].slot, array[i].nodeid);
127 if (le32_to_cpu(ro->ro_nodeid) != memb->nodeid)
134 if (memb->nodeid == our_nodeid) {
147 log_error(ls, "dlm_slots_copy_in nodeid %d no slot",
148 memb->nodeid);
175 if (memb->nodeid == our_nodeid) {
206 log_error(ls, "nodeid
310 add_remote_member(int nodeid) argument
349 find_memb(struct list_head *head, int nodeid) argument
360 dlm_is_member(struct dlm_ls *ls, int nodeid) argument
367 dlm_is_removed(struct dlm_ls *ls, int nodeid) argument
374 clear_memb_list(struct list_head *head, void (*after_del)(int nodeid)) argument
388 remove_remote_member(int nodeid) argument
536 find_config_node(struct dlm_recover *rv, int nodeid) argument
[all...]
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 Dmidcomms.c155 int nodeid; member in struct:midcomms_node
275 static struct midcomms_node *__find_node(int nodeid, int r) argument
280 if (node->nodeid == nodeid)
307 pr_debug("flush midcomms send queue of node %d\n", node->nodeid);
320 pr_debug("reset node %d\n", node->nodeid);
333 static struct midcomms_node *nodeid2node(int nodeid) argument
335 return __find_node(nodeid, nodeid_hash(nodeid));
338 int dlm_midcomms_addr(int nodeid, struc argument
376 dlm_send_ack(int nodeid, uint32_t seq) argument
609 dlm_opts_check_msglen(const union dlm_packet *p, uint16_t msglen, int nodeid) argument
659 dlm_midcomms_receive_buffer_3_2(const union dlm_packet *p, int nodeid) argument
787 dlm_midcomms_receive_buffer_3_1(const union dlm_packet *p, int nodeid) argument
838 dlm_validate_incoming_buffer(int nodeid, unsigned char *buf, int len) argument
885 dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int len) argument
920 dlm_midcomms_unack_msg_resend(int nodeid) argument
979 dlm_midcomms_get_msg_3_2(struct dlm_mhandle *mh, int nodeid, int len, gfp_t allocation, char **ppc) argument
1005 dlm_midcomms_get_mhandle(int nodeid, int len, gfp_t allocation, char **ppc) argument
1219 dlm_midcomms_add_member(int nodeid) argument
1264 dlm_midcomms_remove_member(int nodeid) argument
1420 dlm_midcomms_close(int nodeid) argument
[all...]

Completed in 340 milliseconds

123