/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
D | xenbus_probe_backend.c | 59 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 …]
|
D | xenbus_probe.c | 148 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 …]
|
D | xenbus_probe_frontend.c | 35 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 …]
|
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
D | xenbus.c | 152 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/ |
D | xenbus.c | 60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name() 563 err = xenbus_printf(xbt, dev->nodename, "feature-flush-cache", in xen_blkbk_flush_diskcache() 580 if (!xenbus_read_unsigned(dev->nodename, "discard-enable", 1)) in xen_blkbk_discard() 584 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 591 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 600 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 608 err = xenbus_printf(xbt, dev->nodename, "feature-discard", in xen_blkbk_discard() 620 err = xenbus_printf(xbt, dev->nodename, "feature-barrier", in xen_blkbk_barrier() 659 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe() 665 dev->nodename, err); in xen_blkbk_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/net/xen-netback/ |
D | xenbus.c | 231 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() 748 xenbus_dev_fatal(dev, err, "parsing %s/mac", dev->nodename); in connect() 828 "%s/%s", dev->nodename, "hotplug-status"); in connect() 986 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in netback_remove() [all …]
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | utsname.h | 9 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/ |
D | utsname.h | 11 char nodename[9]; member 19 char nodename[65]; member 26 char nodename[__NEW_UTS_LEN + 1]; member
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | cifs_dfs_ref.c | 52 * @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/liteos_a/testsuites/unittest/container/smoke/ |
D | It_uts_container_004.cpp | 61 ret = strcmp(newName.nodename, newName1.nodename); in ChildFunc() 95 ret = strcmp(oldName.nodename, oldName1.nodename); in ItUtsContainer004()
|
D | It_uts_container_002.cpp | 60 ret = strcmp(newName.nodename, newName1.nodename); in ChildFunc() 95 ret = strcmp(oldName.nodename, oldName1.nodename); in ItUtsContainer002()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/ |
D | xen_drm_front_cfg.c | 54 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/ |
D | devtmpfs.c | 207 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/liteos_a/syscall/ |
D | misc_syscall.c | 77 …(VOID)memset_s(currentUtsName->nodename, sizeof(currentUtsName->nodename), 0, sizeof(currentUtsNam… in SysSetHostName() 78 ret = memcpy_s(currentUtsName->nodename, sizeof(currentUtsName->nodename), tmpName, len); in SysSetHostName()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | utsname.h | 24 char nodename[9]; member 32 char nodename[65]; member 39 char nodename[__NEW_UTS_LEN + 1]; member
|
/kernel/linux/linux-5.10/fs/lockd/ |
D | mon.c | 46 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/ |
D | netdb.c | 38 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/ |
D | windfarm_mpu.h | 77 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/ |
D | xen-kbdfront.c | 217 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/ |
D | netdb_porting.c | 55 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/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
D | ethernet-phy.yaml | 20 $nodename: 24 - $nodename 27 $nodename:
|
/kernel/uniproton/build/uniproton_ci_lib/ |
D | get_config_info.py | 44 def getChildNodeValueByNodeName(farthe_node, nodename, index = 0): argument 45 return farthe_node.getElementsByTagName(nodename)[0].childNodes[index].nodeValue
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | xen-scsifront.c | 659 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_configure() 677 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_destroy() 785 err = xenbus_printf(xbt, dev->nodename, "ring-ref", "%u", in scsifront_init_ring() 792 err = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in scsifront_init_ring() 928 pr_debug("%s: %s removed\n", __func__, dev->nodename); in scsifront_remove() 949 pr_debug("%s: %s disconnect\n", __func__, dev->nodename); in scsifront_disconnect() 1016 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug() 1036 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug() 1102 if (xenbus_read_driver_state(dev->nodename) == in scsifront_backend_changed()
|
/kernel/linux/linux-5.10/drivers/tty/hvc/ |
D | hvc_xen.c | 426 devid = dev->nodename[strlen(dev->nodename) - 1] - '0'; in xencons_connect_backend() 447 ret = xenbus_printf(xbt, dev->nodename, "ring-ref", "%d", ref); in xencons_connect_backend() 450 ret = xenbus_printf(xbt, dev->nodename, "port", "%u", in xencons_connect_backend() 478 devid = dev->nodename[strlen(dev->nodename) - 1] - '0'; in xencons_probe()
|
/kernel/linux/linux-5.10/kernel/ |
D | utsname_sysctl.c | 99 .data = init_uts_ns.name.nodename, 100 .maxlen = sizeof(init_uts_ns.name.nodename),
|