Home
last modified time | relevance | path

Searched full:nodename (Results 1 – 25 of 265) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_probe_backend.c59 static int backend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in backend_bus_id() argument
65 type = strchr(nodename, '/'); in backend_bus_id()
73 devid = strrchr(nodename, '/') + 1; in backend_bus_id()
75 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid, in backend_bus_id()
117 if (add_uevent_var(env, "XENBUS_PATH=%s", xdev->nodename)) in xenbus_uevent_backend()
138 char *nodename; in xenbus_probe_backend_unit() local
141 nodename = kasprintf(GFP_KERNEL, "%s/%s", dir, name); in xenbus_probe_backend_unit()
142 if (!nodename) in xenbus_probe_backend_unit()
145 DPRINTK("%s\n", nodename); in xenbus_probe_backend_unit()
147 err = xenbus_probe_node(bus, type, nodename); in xenbus_probe_backend_unit()
[all …]
Dxenbus_probe.c148 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
155 xendev->nodename); in xenbus_read_otherend_details()
163 xendev->nodename); in xenbus_read_otherend_details()
216 DPRINTK("%s", dev->nodename); in xenbus_dev_probe()
232 dev->nodename); in xenbus_dev_probe()
252 dev->nodename); in xenbus_dev_probe()
260 xenbus_dev_error(dev, err, "xenbus_dev_probe on %s", dev->nodename); in xenbus_dev_probe()
270 DPRINTK("%s", dev->nodename); in xenbus_dev_remove()
291 xenbus_read_driver_state(dev->nodename) == XenbusStateClosing) in xenbus_dev_remove()
319 const char *nodename; member
[all …]
Dxenbus_probe_frontend.c35 static int frontend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in frontend_bus_id() argument
37 nodename = strchr(nodename, '/'); in frontend_bus_id()
38 if (!nodename || strlen(nodename + 1) >= XEN_BUS_ID_SIZE) { in frontend_bus_id()
39 pr_warn("bad frontend %s\n", nodename); in frontend_bus_id()
43 strlcpy(bus_id, nodename + 1, XEN_BUS_ID_SIZE); in frontend_bus_id()
56 char *nodename; in xenbus_probe_frontend() local
65 nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, name); in xenbus_probe_frontend()
66 if (!nodename) in xenbus_probe_frontend()
69 DPRINTK("%s", nodename); in xenbus_probe_frontend()
71 err = xenbus_probe_node(bus, type, nodename); in xenbus_probe_frontend()
[all …]
Dxenbus.h44 int (*get_bus_id)(char bus_id[XEN_BUS_ID_SIZE], const char *nodename);
116 const char *nodename);
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
Dxenbus.c152 if (xenbus_read_driver_state(pdev->xdev->nodename) != in xen_pcibk_attach()
218 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_dev()
311 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root()
326 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root()
350 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_root()
355 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root()
377 if (xenbus_read_driver_state(pdev->xdev->nodename) != state) in xen_pcibk_reconfigure()
380 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, "num_devs", "%d", in xen_pcibk_reconfigure()
399 substate = xenbus_read_unsigned(pdev->xdev->nodename, state_str, in xen_pcibk_reconfigure()
414 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure()
[all …]
/kernel/linux/linux-5.10/drivers/block/xen-blkback/
Dxenbus.c60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name()
566 err = xenbus_printf(xbt, dev->nodename, "feature-flush-cache", in xen_blkbk_flush_diskcache()
583 if (!xenbus_read_unsigned(dev->nodename, "discard-enable", 1)) in xen_blkbk_discard()
587 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
594 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
603 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
611 err = xenbus_printf(xbt, dev->nodename, "feature-discard", in xen_blkbk_discard()
623 err = xenbus_printf(xbt, dev->nodename, "feature-barrier", in xen_blkbk_barrier()
662 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe()
668 dev->nodename, err); in xen_blkbk_probe()
[all …]
/kernel/linux/linux-5.10/drivers/net/xen-netback/
Dxenbus.c231 err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle); in backend_create_xenvif()
291 pr_debug("%s -> %s\n", dev->nodename, xenbus_strstate(state)); in backend_switch_state()
476 ratestr = xenbus_read(XBT_NIL, dev->nodename, "rate", NULL); in xen_net_read_rate()
506 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
550 unsigned maxlen = strlen(dev->nodename) + sizeof("/rate"); in xen_register_credit_watch()
558 snprintf(node, maxlen, "%s/rate", dev->nodename); in xen_register_credit_watch()
669 str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); in hotplug_status_changed()
678 xenbus_rm(XBT_NIL, be->dev->nodename, "hotplug-status"); in hotplug_status_changed()
749 xenbus_dev_fatal(dev, err, "parsing %s/mac", dev->nodename); in connect()
827 if (xenbus_exists(XBT_NIL, dev->nodename, "hotplug-status")) { in connect()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dutsname.h9 char nodename[9]; member
19 char nodename[65]; member
27 char nodename[__NEW_UTS_LEN + 1]; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dutsname.h11 char nodename[9]; member
19 char nodename[65]; member
26 char nodename[__NEW_UTS_LEN + 1]; member
/kernel/linux/linux-5.10/fs/cifs/
Dcifs_dfs_ref.c52 * @nodename: pointer to UNC string
56 * big enough to hold the final thing. Copy the UNC from the nodename, and
63 cifs_build_devname(char *nodename, const char *prepath) in cifs_build_devname() argument
71 nodename += strspn(nodename, "\\"); in cifs_build_devname()
72 if (!*nodename) in cifs_build_devname()
76 unclen = strlen(nodename); in cifs_build_devname()
77 pos = nodename + unclen - 1; in cifs_build_devname()
103 memcpy(pos, nodename, unclen); in cifs_build_devname()
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
Dxen_drm_front_cfg.c54 if (xenbus_read_unsigned(front_info->xb_dev->nodename, in xen_drm_front_cfg_card()
63 xb_dev->nodename, i); in xen_drm_front_cfg_card()
71 xb_dev->nodename); in xen_drm_front_cfg_card()
/kernel/linux/linux-5.10/drivers/base/
Ddevtmpfs.c207 static int handle_create(const char *nodename, umode_t mode, kuid_t uid, in handle_create() argument
214 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
216 create_path(nodename); in handle_create()
217 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
310 static int handle_remove(const char *nodename, struct device *dev) in handle_remove() argument
317 dentry = kern_path_locked(nodename, &parent); in handle_remove()
351 if (deleted && strchr(nodename, '/')) in handle_remove()
352 delete_path(nodename); in handle_remove()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dutsname.h24 char nodename[9]; member
32 char nodename[65]; member
39 char nodename[__NEW_UTS_LEN + 1]; member
/kernel/linux/linux-5.10/fs/lockd/
Dmon.c46 const char *nodename; member
68 static struct rpc_clnt *nsm_create(struct net *net, const char *nodename) in nsm_create() argument
80 .nodename = nodename, in nsm_create()
102 .nodename = host->nodename, in nsm_mon_unmon()
111 clnt = nsm_create(host->net, host->nodename); in nsm_mon_unmon()
451 encode_nsm_string(xdr, argp->nodename); in encode_my_id()
/kernel/uniproton/src/net/lwip-2.1/src/
Dnetdb.c38 int getaddrinfo(const char *restrict nodename, const char *restrict servname, in getaddrinfo() argument
41 return lwip_getaddrinfo(nodename, servname, hints, res); in getaddrinfo()
/kernel/linux/linux-5.10/drivers/macintosh/
Dwindfarm_mpu.h77 char nodename[64]; in wf_get_mpu() local
86 sprintf(nodename, "/u3@0,f8000000/i2c@f8001000/cpuid@a%d", cpu ? 2 : 0); in wf_get_mpu()
87 np = of_find_node_by_path(nodename); in wf_get_mpu()
/kernel/linux/linux-5.10/drivers/input/misc/
Dxen-kbdfront.c217 snprintf(info->phys, sizeof(info->phys), "xenbus/%s", dev->nodename); in xenkbd_probe()
237 ret = xenbus_write(XBT_NIL, dev->nodename, in xenkbd_probe()
286 ret = xenbus_write(XBT_NIL, dev->nodename, in xenkbd_probe()
452 ret = xenbus_printf(xbt, dev->nodename, XENKBD_FIELD_RING_REF, "%lu", in xenkbd_connect_backend()
456 ret = xenbus_printf(xbt, dev->nodename, XENKBD_FIELD_RING_GREF, in xenkbd_connect_backend()
460 ret = xenbus_printf(xbt, dev->nodename, XENKBD_FIELD_EVT_CHANNEL, "%u", in xenkbd_connect_backend()
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dnetdb_porting.c55 int getaddrinfo(const char *restrict nodename, const char *restrict servname, const struct addrinfo… in getaddrinfo() argument
58 return lwip_getaddrinfo(nodename, servname, hints, res); in getaddrinfo()
/kernel/uniproton/build/uniproton_ci_lib/
Dget_config_info.py29 def getChildNodeValueByNodeName(farthe_node, nodename, index = 0): argument
30 return farthe_node.getElementsByTagName(nodename)[0].childNodes[index].nodeValue
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dethernet-phy.yaml20 $nodename:
24 - $nodename
27 $nodename:
/kernel/linux/linux-5.10/drivers/scsi/
Dxen-scsifront.c660 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_configure()
678 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_destroy()
786 err = xenbus_printf(xbt, dev->nodename, "ring-ref", "%u", in scsifront_init_ring()
793 err = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in scsifront_init_ring()
929 pr_debug("%s: %s removed\n", __func__, dev->nodename); in scsifront_remove()
950 pr_debug("%s: %s disconnect\n", __func__, dev->nodename); in scsifront_disconnect()
1017 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
1037 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
1103 if (xenbus_read_driver_state(dev->nodename) == in scsifront_backend_changed()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvc_xen.c417 devid = dev->nodename[strlen(dev->nodename) - 1] - '0'; in xencons_connect_backend()
438 ret = xenbus_printf(xbt, dev->nodename, "ring-ref", "%d", ref); in xencons_connect_backend()
441 ret = xenbus_printf(xbt, dev->nodename, "port", "%u", in xencons_connect_backend()
468 devid = dev->nodename[strlen(dev->nodename) - 1] - '0'; in xencons_probe()
/kernel/linux/linux-5.10/kernel/
Dutsname_sysctl.c99 .data = init_uts_ns.name.nodename,
100 .maxlen = sizeof(init_uts_ns.name.nodename),
/kernel/linux/linux-5.10/net/9p/
Dtrans_xen.c447 ret = xenbus_printf(xbt, dev->nodename, "version", "%u", 1); in xen_9pfs_front_probe()
450 ret = xenbus_printf(xbt, dev->nodename, "num-rings", "%u", in xen_9pfs_front_probe()
459 ret = xenbus_printf(xbt, dev->nodename, str, "%d", in xen_9pfs_front_probe()
465 ret = xenbus_printf(xbt, dev->nodename, str, "%u", in xen_9pfs_front_probe()
470 priv->tag = xenbus_read(xbt, dev->nodename, "tag", NULL); in xen_9pfs_front_probe()
/kernel/linux/linux-5.10/fs/hfsplus/
Dcatalog.c185 err = hfsplus_asc2uni(sb, &entry->thread.nodeName, HFSPLUS_MAX_STRLEN, in hfsplus_fill_cat_thread()
190 return 10 + be16_to_cpu(entry->thread.nodeName.length) * 2; in hfsplus_fill_cat_thread()
212 if (be16_to_cpu(tmp.thread.nodeName.length) > 255) { in hfsplus_find_cat()
219 &tmp.thread.nodeName); in hfsplus_find_cat()
361 offsetof(struct hfsplus_cat_thread, nodeName); in hfsplus_delete_cat()

1234567891011