Home
last modified time | relevance | path

Searched refs:nodenum (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/pnp/pnpbios/
Dproc.c126 u8 nodenum; in pnp_devices_proc_show() local
132 for (nodenum = 0; nodenum < 0xff;) { in pnp_devices_proc_show()
133 u8 thisnodenum = nodenum; in pnp_devices_proc_show()
135 if (pnp_bios_get_dev_node(&nodenum, PNPMODE_DYNAMIC, node)) in pnp_devices_proc_show()
140 if (nodenum <= thisnodenum) { in pnp_devices_proc_show()
144 (unsigned int)nodenum, in pnp_devices_proc_show()
158 u8 nodenum = (long)data; in pnpbios_proc_show() local
164 if (pnp_bios_get_dev_node(&nodenum, boot, node)) { in pnpbios_proc_show()
185 u8 nodenum = (long)data; in pnpbios_proc_write() local
191 if (pnp_bios_get_dev_node(&nodenum, boot, node)) { in pnpbios_proc_write()
Dcore.c204 u8 nodenum = dev->number; in pnpbios_get_resources() local
214 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_get_resources()
226 u8 nodenum = dev->number; in pnpbios_set_resources() local
237 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_set_resources()
280 u8 nodenum = dev->number; in pnpbios_disable_resources() local
290 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_disable_resources()
361 u8 nodenum; in build_devlist() local
370 for (nodenum = 0; nodenum < 0xff;) { in build_devlist()
371 u8 thisnodenum = nodenum; in build_devlist()
377 (&nodenum, (char)PNPMODE_DYNAMIC, node)) in build_devlist()
[all …]
Dbioscalls.c290 static int __pnp_bios_get_dev_node(u8 *nodenum, char boot, in __pnp_bios_get_dev_node() argument
300 tmp_nodenum = *nodenum; in __pnp_bios_get_dev_node()
304 *nodenum = tmp_nodenum; in __pnp_bios_get_dev_node()
308 int pnp_bios_get_dev_node(u8 *nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_get_dev_node() argument
312 status = __pnp_bios_get_dev_node(nodenum, boot, data); in pnp_bios_get_dev_node()
324 static int __pnp_bios_set_dev_node(u8 nodenum, char boot, in __pnp_bios_set_dev_node() argument
333 status = call_pnp_bios(PNP_SET_SYS_DEV_NODE, nodenum, 0, PNP_TS1, in __pnp_bios_set_dev_node()
339 int pnp_bios_set_dev_node(u8 nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_set_dev_node() argument
343 status = __pnp_bios_set_dev_node(nodenum, boot, data); in pnp_bios_set_dev_node()
349 status = pnp_bios_get_dev_node(&nodenum, boot, data); in pnp_bios_set_dev_node()
Dpnpbios.h131 extern int pnp_bios_get_dev_node(u8 *nodenum, char config,
133 extern int pnp_bios_set_dev_node(u8 nodenum, char config,
/Linux-v4.19/drivers/pnp/
Dcore.c62 int nodenum, ret; in pnp_register_protocol() local
66 nodenum = 0; in pnp_register_protocol()
73 if (cur->number == nodenum) { in pnp_register_protocol()
75 nodenum++; in pnp_register_protocol()
79 protocol->number = nodenum; in pnp_register_protocol()
80 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
/Linux-v4.19/fs/ocfs2/
Dstack_user.c285 int nodenum) in ocfs2_control_send_down() argument
294 c->oc_conn->cc_recovery_handler(nodenum, in ocfs2_control_send_down()
371 long nodenum; in ocfs2_control_do_setnode_msg() local
387 nodenum = simple_strtol(msg->nodestr, &ptr, 16); in ocfs2_control_do_setnode_msg()
391 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_setnode_msg()
392 (nodenum > INT_MAX) || (nodenum < 0)) in ocfs2_control_do_setnode_msg()
394 p->op_this_node = nodenum; in ocfs2_control_do_setnode_msg()
452 long nodenum; in ocfs2_control_do_down_msg() local
468 nodenum = simple_strtol(msg->nodestr, &p, 16); in ocfs2_control_do_down_msg()
472 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_down_msg()
[all …]
/Linux-v4.19/net/ipv4/netfilter/
Dipt_CLUSTERIP.c284 clusterip_add_node(struct clusterip_config *c, u_int16_t nodenum) in clusterip_add_node() argument
287 if (nodenum == 0 || in clusterip_add_node()
288 nodenum > c->num_total_nodes) in clusterip_add_node()
292 if (test_and_set_bit(nodenum - 1, &c->local_nodes)) in clusterip_add_node()
299 clusterip_del_node(struct clusterip_config *c, u_int16_t nodenum) in clusterip_del_node() argument
301 if (nodenum == 0 || in clusterip_del_node()
302 nodenum > c->num_total_nodes) in clusterip_del_node()
305 if (test_and_clear_bit(nodenum - 1, &c->local_nodes)) in clusterip_del_node()
770 unsigned long nodenum; in clusterip_proc_write() local
780 rc = kstrtoul(buffer+1, 10, &nodenum); in clusterip_proc_write()
[all …]
/Linux-v4.19/fs/ocfs2/dlm/
Ddlmrecovery.c1273 u8 *nodenum) in dlm_is_dummy_lock() argument
1280 *nodenum = ml->node; in dlm_is_dummy_lock()
1632 int nodenum; in dlm_lockres_master_requery() local
1664 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_lockres_master_requery()
1666 if (nodenum == dlm->node_num) in dlm_lockres_master_requery()
1668 ret = dlm_do_master_requery(dlm, res, nodenum, real_master); in dlm_lockres_master_requery()
1686 u8 nodenum, u8 *real_master) in dlm_do_master_requery() argument
1699 &req, sizeof(req), nodenum, &status); in dlm_do_master_requery()
1703 dlm->key, nodenum); in dlm_do_master_requery()
1713 nodenum, *real_master); in dlm_do_master_requery()
[all …]
Ddlmmaster.c727 int ret, nodenum; in dlm_get_lock_resource() local
952 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_get_lock_resource()
953 ret = dlm_do_master_request(res, mle, nodenum); in dlm_get_lock_resource()
958 if (mle->master <= nodenum) in dlm_get_lock_resource()
966 lockid, nodenum, mle->master); in dlm_get_lock_resource()
2186 int nodenum; in dlm_pre_master_reco_lockres() local
2194 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_pre_master_reco_lockres()
2196 if (nodenum == dlm->node_num) in dlm_pre_master_reco_lockres()
2198 ret = dlm_do_master_requery(dlm, res, nodenum, &master); in dlm_pre_master_reco_lockres()
2216 nodenum, master); in dlm_pre_master_reco_lockres()
[all …]
Ddlmdomain.c816 u8 nodenum; in dlm_query_join_handler() local
848 nodenum=0; in dlm_query_join_handler()
849 while (nodenum < O2NM_MAX_NODES) { in dlm_query_join_handler()
850 if (test_bit(nodenum, dlm->domain_map)) { in dlm_query_join_handler()
851 if (!byte_test_bit(nodenum, query->node_map)) { in dlm_query_join_handler()
854 query->node_idx, nodenum); in dlm_query_join_handler()
859 nodenum++; in dlm_query_join_handler()
Ddlmcommon.h1003 u8 nodenum, u8 *real_master);