Home
last modified time | relevance | path

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

/linux/drivers/pnp/pnpbios/
A 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()
A Dcore.c191 u8 nodenum = dev->number; in pnpbios_get_resources() local
201 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_get_resources()
213 u8 nodenum = dev->number; in pnpbios_set_resources() local
267 u8 nodenum = dev->number; in pnpbios_disable_resources() local
346 u8 nodenum; in build_devlist() local
355 for (nodenum = 0; nodenum < 0xff;) { in build_devlist()
356 u8 thisnodenum = nodenum; in build_devlist()
362 (&nodenum, (char)PNPMODE_DYNAMIC, node)) in build_devlist()
366 (&nodenum, (char)PNPMODE_STATIC, node)) in build_devlist()
372 if (nodenum <= thisnodenum) { in build_devlist()
[all …]
A 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()
A Dpnpbios.h118 extern int pnp_bios_get_dev_node(u8 *nodenum, char config,
120 extern int pnp_bios_set_dev_node(u8 nodenum, char config,
/linux/tools/testing/selftests/rcutorture/bin/
A Dkvm-assign-cpus.sh79 nodenum=0
83 awk -v nodenum="$nodenum" '
104 nodenum=`expr $nodenum + 1`
106 echo "numnodes = $nodenum;"
/linux/drivers/pnp/
A Dcore.c50 int nodenum, ret; in pnp_register_protocol() local
54 nodenum = 0; in pnp_register_protocol()
61 if (cur->number == nodenum) { in pnp_register_protocol()
63 nodenum++; in pnp_register_protocol()
67 protocol->number = nodenum; in pnp_register_protocol()
68 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
/linux/fs/ocfs2/
A Dstack_user.c275 int nodenum) in ocfs2_control_send_down() argument
284 c->oc_conn->cc_recovery_handler(nodenum, in ocfs2_control_send_down()
361 long nodenum; in ocfs2_control_do_setnode_msg() local
381 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_setnode_msg()
382 (nodenum > INT_MAX) || (nodenum < 0)) in ocfs2_control_do_setnode_msg()
384 p->op_this_node = nodenum; in ocfs2_control_do_setnode_msg()
442 long nodenum; in ocfs2_control_do_down_msg() local
458 nodenum = simple_strtol(msg->nodestr, &p, 16); in ocfs2_control_do_down_msg()
462 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_down_msg()
463 (nodenum > INT_MAX) || (nodenum < 0)) in ocfs2_control_do_down_msg()
[all …]
/linux/net/ipv4/netfilter/
A Dipt_CLUSTERIP.c322 if (nodenum == 0 || in clusterip_add_node()
323 nodenum > c->num_total_nodes) in clusterip_add_node()
327 if (test_and_set_bit(nodenum - 1, &c->local_nodes)) in clusterip_add_node()
336 if (nodenum == 0 || in clusterip_del_node()
337 nodenum > c->num_total_nodes) in clusterip_del_node()
340 if (test_and_clear_bit(nodenum - 1, &c->local_nodes)) in clusterip_del_node()
805 unsigned long nodenum; in clusterip_proc_write() local
815 rc = kstrtoul(buffer+1, 10, &nodenum); in clusterip_proc_write()
818 if (clusterip_add_node(c, nodenum)) in clusterip_proc_write()
821 rc = kstrtoul(buffer+1, 10, &nodenum); in clusterip_proc_write()
[all …]
/linux/fs/ocfs2/dlm/
A Ddlmrecovery.c1247 u8 *nodenum) in dlm_is_dummy_lock() argument
1254 *nodenum = ml->node; in dlm_is_dummy_lock()
1606 int nodenum; in dlm_lockres_master_requery() local
1677 dlm->key, nodenum); in dlm_do_master_requery()
1687 nodenum, *real_master); in dlm_do_master_requery()
2674 int nodenum; in dlm_send_begin_reco_message() local
2691 if (nodenum == dead_node) { in dlm_send_begin_reco_message()
2702 nodenum); in dlm_send_begin_reco_message()
2725 dead_node, nodenum); in dlm_send_begin_reco_message()
2836 int nodenum; in dlm_send_finalize_reco_message() local
[all …]
A Ddlmmaster.c710 int ret, nodenum; in dlm_get_lock_resource() local
2169 int nodenum; in dlm_pre_master_reco_lockres() local
2199 nodenum, master); in dlm_pre_master_reco_lockres()
2996 nodenum = lock->ml.node; in dlm_pick_migration_target()
3012 nodenum = noderef; in dlm_pick_migration_target()
3017 return nodenum; in dlm_pick_migration_target()
3029 int nodenum; in dlm_do_migrate_request() local
3041 if (nodenum == master || in dlm_do_migrate_request()
3042 nodenum == new_master) in dlm_do_migrate_request()
3069 nodenum, status); in dlm_do_migrate_request()
[all …]
A Ddlmdomain.c798 u8 nodenum; in dlm_query_join_handler() local
830 nodenum=0; in dlm_query_join_handler()
831 while (nodenum < O2NM_MAX_NODES) { in dlm_query_join_handler()
832 if (test_bit(nodenum, dlm->domain_map)) { in dlm_query_join_handler()
833 if (!byte_test_bit(nodenum, query->node_map)) { in dlm_query_join_handler()
836 query->node_idx, nodenum); in dlm_query_join_handler()
841 nodenum++; in dlm_query_join_handler()
A Ddlmcommon.h977 u8 nodenum, u8 *real_master);

Completed in 39 milliseconds