Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.15/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()
274 DPRINTK("%s", dev->nodename); in xenbus_dev_probe()
290 dev->nodename); in xenbus_dev_probe()
310 dev->nodename); in xenbus_dev_probe()
317 dev->nodename); in xenbus_dev_probe()
323 xenbus_dev_error(dev, err, "xenbus_dev_probe on %s", dev->nodename); in xenbus_dev_probe()
333 DPRINTK("%s", dev->nodename); in xenbus_dev_remove()
356 xenbus_read_driver_state(dev->nodename) == XenbusStateClosing) in xenbus_dev_remove()
[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);
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/block/xen-blkback/
Dxenbus.c59 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name()
565 err = xenbus_printf(xbt, dev->nodename, "feature-flush-cache", in xen_blkbk_flush_diskcache()
582 if (!xenbus_read_unsigned(dev->nodename, "discard-enable", 1)) in xen_blkbk_discard()
586 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
593 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
602 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
610 err = xenbus_printf(xbt, dev->nodename, "feature-discard", in xen_blkbk_discard()
622 err = xenbus_printf(xbt, dev->nodename, "feature-barrier", in xen_blkbk_barrier()
661 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe()
667 dev->nodename, err); in xen_blkbk_probe()
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/include/uapi/linux/
Dutsname.h9 char nodename[9]; member
19 char nodename[65]; member
27 char nodename[__NEW_UTS_LEN + 1]; member
/Linux-v5.15/fs/cifs/
Dcifs_dfs_ref.c53 * @nodename: pointer to UNC string
57 * big enough to hold the final thing. Copy the UNC from the nodename, and
64 cifs_build_devname(char *nodename, const char *prepath) in cifs_build_devname() argument
72 nodename += strspn(nodename, "\\"); in cifs_build_devname()
73 if (!*nodename) in cifs_build_devname()
77 unclen = strlen(nodename); in cifs_build_devname()
78 pos = nodename + unclen - 1; in cifs_build_devname()
104 memcpy(pos, nodename, unclen); in cifs_build_devname()
Dfs_context.c307 new_ctx->nodename = NULL; in smb3_fs_context_dup()
324 DUP_CTX_STR(nodename); in smb3_fs_context_dup()
716 if (new_ctx->nodename && in smb3_verify_reconfigure_ctx()
717 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) { in smb3_verify_reconfigure_ctx()
718 cifs_errorf(fc, "can not change nodename during remount\n"); in smb3_verify_reconfigure_ctx()
749 * We can not change UNC/username/password/domainname/nodename/iocharset in smb3_reconfigure()
758 STEAL_STRING(cifs_sb, ctx, nodename); in smb3_reconfigure()
1404 char *nodename = utsname()->nodename; in smb3_init_fs_context() local
1417 for (i = 0; i < strnlen(nodename, RFC1001_NAME_LEN); i++) in smb3_init_fs_context()
1418 ctx->source_rfc1001_name[i] = toupper(nodename[i]); in smb3_init_fs_context()
[all …]
/Linux-v5.15/drivers/base/
Ddevtmpfs.c200 static int handle_create(const char *nodename, umode_t mode, kuid_t uid, in handle_create() argument
207 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
209 create_path(nodename); in handle_create()
210 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
305 static int handle_remove(const char *nodename, struct device *dev) in handle_remove() argument
312 dentry = kern_path_locked(nodename, &parent); in handle_remove()
347 if (deleted && strchr(nodename, '/')) in handle_remove()
348 delete_path(nodename); in handle_remove()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/Documentation/devicetree/bindings/net/
Dethernet-phy.yaml20 $nodename:
24 - $nodename
27 $nodename:
/Linux-v5.15/drivers/tty/hvc/
Dhvc_xen.c393 devid = dev->nodename[strlen(dev->nodename) - 1] - '0'; in xencons_connect_backend()
414 ret = xenbus_printf(xbt, dev->nodename, "ring-ref", "%d", ref); in xencons_connect_backend()
417 ret = xenbus_printf(xbt, dev->nodename, "port", "%u", in xencons_connect_backend()
444 devid = dev->nodename[strlen(dev->nodename) - 1] - '0'; in xencons_probe()
/Linux-v5.15/Documentation/devicetree/bindings/remoteproc/
Dti,pru-rproc.yaml77 $nodename:
89 $nodename:
93 $nodename:
/Linux-v5.15/drivers/scsi/
Dxen-scsifront.c666 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_configure()
684 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_destroy()
792 err = xenbus_printf(xbt, dev->nodename, "ring-ref", "%u", in scsifront_init_ring()
799 err = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in scsifront_init_ring()
935 pr_debug("%s: %s removed\n", __func__, dev->nodename); in scsifront_remove()
956 pr_debug("%s: %s disconnect\n", __func__, dev->nodename); in scsifront_disconnect()
1023 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
1043 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
1109 if (xenbus_read_driver_state(dev->nodename) == in scsifront_backend_changed()
/Linux-v5.15/kernel/
Dutsname_sysctl.c99 .data = init_uts_ns.name.nodename,
100 .maxlen = sizeof(init_uts_ns.name.nodename),
/Linux-v5.15/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()
/Linux-v5.15/net/9p/
Dtrans_xen.c443 ret = xenbus_printf(xbt, dev->nodename, "version", "%u", 1); in xen_9pfs_front_probe()
446 ret = xenbus_printf(xbt, dev->nodename, "num-rings", "%u", in xen_9pfs_front_probe()
455 ret = xenbus_printf(xbt, dev->nodename, str, "%d", in xen_9pfs_front_probe()
461 ret = xenbus_printf(xbt, dev->nodename, str, "%u", in xen_9pfs_front_probe()
466 priv->tag = xenbus_read(xbt, dev->nodename, "tag", NULL); in xen_9pfs_front_probe()
/Linux-v5.15/sound/xen/
Dxen_snd_front_cfg.c487 if (!xenbus_exists(XBT_NIL, xb_dev->nodename, node)) in xen_snd_front_cfg_card()
496 xb_dev->nodename); in xen_snd_front_cfg_card()
501 cfg_read_pcm_hw(xb_dev->nodename, NULL, &cfg->pcm_hw); in xen_snd_front_cfg_card()
512 &cfg->pcm_hw, xb_dev->nodename, i, stream_cnt); in xen_snd_front_cfg_card()
/Linux-v5.15/arch/sparc/prom/
Dtree_32.c182 * 'nodename'. Return node if successful, zero if not.
184 phandle prom_searchsiblings(phandle node_start, char *nodename) in prom_searchsiblings() argument
196 if(strcmp(nodename, promlib_buf)==0) return thisnode; in prom_searchsiblings()
/Linux-v5.15/drivers/xen/
Dxen-scsiback.c992 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun()
998 err = xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun()
1010 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_del_lun()
1033 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug()
1039 val = xenbus_read(XBT_NIL, dev->nodename, str, NULL); in scsiback_do_1lun_hotplug()
1041 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1053 err = xenbus_scanf(XBT_NIL, dev->nodename, str, "%u:%u:%u:%u", in scsiback_do_1lun_hotplug()
1056 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1084 if (xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1088 xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
[all …]

12345678910>>...13