Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/pnp/pnpbios/
Dcore.c206 u8 nodenum = dev->number; in pnpbios_get_resources() local
216 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_get_resources()
228 u8 nodenum = dev->number; in pnpbios_set_resources() local
239 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_set_resources()
282 u8 nodenum = dev->number; in pnpbios_disable_resources() local
292 if (pnp_bios_get_dev_node(&nodenum, (char)PNPMODE_DYNAMIC, node)) { in pnpbios_disable_resources()
357 u8 nodenum; in build_devlist() local
366 for (nodenum = 0; nodenum < 0xff;) { in build_devlist()
367 u8 thisnodenum = nodenum; in build_devlist()
373 (&nodenum, (char)PNPMODE_DYNAMIC, node)) in build_devlist()
[all …]
Dproc.c177 u8 nodenum; in pnp_devices_proc_show() local
183 for (nodenum = 0; nodenum < 0xff;) { in pnp_devices_proc_show()
184 u8 thisnodenum = nodenum; in pnp_devices_proc_show()
186 if (pnp_bios_get_dev_node(&nodenum, PNPMODE_DYNAMIC, node)) in pnp_devices_proc_show()
192 if (nodenum <= thisnodenum) { in pnp_devices_proc_show()
196 (unsigned int)nodenum, in pnp_devices_proc_show()
223 u8 nodenum = (long)data; in pnpbios_proc_show() local
229 if (pnp_bios_get_dev_node(&nodenum, boot, node)) { in pnpbios_proc_show()
250 u8 nodenum = (long)data; in pnpbios_proc_write() local
256 if (pnp_bios_get_dev_node(&nodenum, boot, node)) { in pnpbios_proc_write()
Dbioscalls.c288 static int __pnp_bios_get_dev_node(u8 *nodenum, char boot, in __pnp_bios_get_dev_node() argument
298 tmp_nodenum = *nodenum; in __pnp_bios_get_dev_node()
302 *nodenum = tmp_nodenum; in __pnp_bios_get_dev_node()
306 int pnp_bios_get_dev_node(u8 *nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_get_dev_node() argument
310 status = __pnp_bios_get_dev_node(nodenum, boot, data); in pnp_bios_get_dev_node()
322 static int __pnp_bios_set_dev_node(u8 nodenum, char boot, in __pnp_bios_set_dev_node() argument
331 status = call_pnp_bios(PNP_SET_SYS_DEV_NODE, nodenum, 0, PNP_TS1, in __pnp_bios_set_dev_node()
337 int pnp_bios_set_dev_node(u8 nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_set_dev_node() argument
341 status = __pnp_bios_set_dev_node(nodenum, boot, data); in pnp_bios_set_dev_node()
347 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-3.4.99/fs/ocfs2/
Dstack_user.c282 int nodenum) in ocfs2_control_send_down() argument
291 c->oc_conn->cc_recovery_handler(nodenum, in ocfs2_control_send_down()
368 long nodenum; in ocfs2_control_do_setnode_msg() local
384 nodenum = simple_strtol(msg->nodestr, &ptr, 16); in ocfs2_control_do_setnode_msg()
388 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_setnode_msg()
389 (nodenum > INT_MAX) || (nodenum < 0)) in ocfs2_control_do_setnode_msg()
391 p->op_this_node = nodenum; in ocfs2_control_do_setnode_msg()
449 long nodenum; in ocfs2_control_do_down_msg() local
465 nodenum = simple_strtol(msg->nodestr, &p, 16); in ocfs2_control_do_down_msg()
469 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_down_msg()
[all …]
/linux-3.4.99/drivers/pnp/
Dcore.c52 int nodenum; in pnp_register_protocol() local
57 nodenum = 0; in pnp_register_protocol()
63 if (cur->number == nodenum) { in pnp_register_protocol()
65 nodenum++; in pnp_register_protocol()
72 protocol->number = nodenum; in pnp_register_protocol()
73 dev_set_name(&protocol->dev, "pnp%d", nodenum); in pnp_register_protocol()
/linux-3.4.99/net/ipv4/netfilter/
Dipt_CLUSTERIP.c201 clusterip_add_node(struct clusterip_config *c, u_int16_t nodenum) in clusterip_add_node() argument
204 if (nodenum == 0 || in clusterip_add_node()
205 nodenum > c->num_total_nodes) in clusterip_add_node()
209 if (test_and_set_bit(nodenum - 1, &c->local_nodes)) in clusterip_add_node()
216 clusterip_del_node(struct clusterip_config *c, u_int16_t nodenum) in clusterip_del_node() argument
218 if (nodenum == 0 || in clusterip_del_node()
219 nodenum > c->num_total_nodes) in clusterip_del_node()
222 if (test_and_clear_bit(nodenum - 1, &c->local_nodes)) in clusterip_del_node()
664 unsigned long nodenum; in clusterip_proc_write() local
673 nodenum = simple_strtoul(buffer+1, NULL, 10); in clusterip_proc_write()
[all …]
/linux-3.4.99/drivers/staging/ramster/
Dr2net.c225 int nodenum, ret = -1, status; in ramster_remote_put() local
244 nodenum = r2net_target_nodenum; in ramster_remote_put()
249 nn = r2net_nn_from_num(nodenum); in ramster_remote_put()
263 nodenum, &status); in ramster_remote_put()
278 *remotenode = nodenum; in ramster_remote_put()
/linux-3.4.99/fs/ocfs2/dlm/
Ddlmrecovery.c1264 u8 *nodenum) in dlm_is_dummy_lock() argument
1271 *nodenum = ml->node; in dlm_is_dummy_lock()
1596 int nodenum; in dlm_lockres_master_requery() local
1628 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_lockres_master_requery()
1630 if (nodenum == dlm->node_num) in dlm_lockres_master_requery()
1632 ret = dlm_do_master_requery(dlm, res, nodenum, real_master); in dlm_lockres_master_requery()
1650 u8 nodenum, u8 *real_master) in dlm_do_master_requery() argument
1662 &req, sizeof(req), nodenum, &status); in dlm_do_master_requery()
1667 dlm->key, nodenum); in dlm_do_master_requery()
1673 nodenum, *real_master); in dlm_do_master_requery()
[all …]
Ddlmmaster.c710 int ret, nodenum; in dlm_get_lock_resource() local
914 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_get_lock_resource()
915 ret = dlm_do_master_request(res, mle, nodenum); in dlm_get_lock_resource()
920 if (mle->master <= nodenum) in dlm_get_lock_resource()
928 lockid, nodenum, mle->master); in dlm_get_lock_resource()
2137 int nodenum; in dlm_pre_master_reco_lockres() local
2145 while ((nodenum = dlm_node_iter_next(&iter)) >= 0) { in dlm_pre_master_reco_lockres()
2147 if (nodenum == dlm->node_num) in dlm_pre_master_reco_lockres()
2149 ret = dlm_do_master_requery(dlm, res, nodenum, &master); in dlm_pre_master_reco_lockres()
2167 nodenum, master); in dlm_pre_master_reco_lockres()
[all …]
Ddlmdomain.c842 u8 nodenum; in dlm_query_join_handler() local
874 nodenum=0; in dlm_query_join_handler()
875 while (nodenum < O2NM_MAX_NODES) { in dlm_query_join_handler()
876 if (test_bit(nodenum, dlm->domain_map)) { in dlm_query_join_handler()
877 if (!byte_test_bit(nodenum, query->node_map)) { in dlm_query_join_handler()
880 query->node_idx, nodenum); in dlm_query_join_handler()
885 nodenum++; in dlm_query_join_handler()
Ddlmcommon.h994 u8 nodenum, u8 *real_master);