/linux-2.6.39/drivers/xen/xenbus/ |
D | xenbus_probe_backend.c | 57 static int backend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in backend_bus_id() argument 63 type = strchr(nodename, '/'); in backend_bus_id() 71 devid = strrchr(nodename, '/') + 1; in backend_bus_id() 73 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid, in backend_bus_id() 114 if (add_uevent_var(env, "XENBUS_PATH=%s", xdev->nodename)) in xenbus_uevent_backend() 135 char *nodename; in xenbus_probe_backend_unit() local 138 nodename = kasprintf(GFP_KERNEL, "%s/%s", dir, name); in xenbus_probe_backend_unit() 139 if (!nodename) in xenbus_probe_backend_unit() 142 DPRINTK("%s\n", nodename); in xenbus_probe_backend_unit() 144 err = xenbus_probe_node(bus, type, nodename); in xenbus_probe_backend_unit() [all …]
|
D | xenbus_probe_frontend.c | 31 static int frontend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in frontend_bus_id() argument 33 nodename = strchr(nodename, '/'); in frontend_bus_id() 34 if (!nodename || strlen(nodename + 1) >= XEN_BUS_ID_SIZE) { in frontend_bus_id() 35 printk(KERN_WARNING "XENBUS: bad frontend %s\n", nodename); in frontend_bus_id() 39 strlcpy(bus_id, nodename + 1, XEN_BUS_ID_SIZE); in frontend_bus_id() 52 char *nodename; in xenbus_probe_frontend() local 55 nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, name); in xenbus_probe_frontend() 56 if (!nodename) in xenbus_probe_frontend() 59 DPRINTK("%s", nodename); in xenbus_probe_frontend() 61 err = xenbus_probe_node(bus, type, nodename); in xenbus_probe_frontend() [all …]
|
D | xenbus_probe.c | 141 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details() 148 xendev->nodename); in xenbus_read_otherend_details() 156 xendev->nodename); in xenbus_read_otherend_details() 212 DPRINTK("%s", dev->nodename); in xenbus_dev_probe() 228 dev->nodename); in xenbus_dev_probe() 239 dev->nodename); in xenbus_dev_probe() 245 xenbus_dev_error(dev, err, "xenbus_dev_probe on %s", dev->nodename); in xenbus_dev_probe() 256 DPRINTK("%s", dev->nodename); in xenbus_dev_remove() 274 DPRINTK("%s", dev->nodename); in xenbus_dev_shutdown() 279 dev->nodename, xenbus_strstate(dev->state)); in xenbus_dev_shutdown() [all …]
|
D | xenbus_probe.h | 43 int (*get_bus_id)(char bus_id[XEN_BUS_ID_SIZE], const char *nodename); 60 const char *nodename);
|
D | xenbus_client.c | 174 err = xenbus_scanf(xbt, dev->nodename, "state", "%d", ¤t_state); in __xenbus_switch_state() 178 err = xenbus_printf(xbt, dev->nodename, "state", "%d", state); in __xenbus_switch_state() 227 return kasprintf(GFP_KERNEL, "error/%s", dev->nodename); in error_path() 255 dev->nodename, printf_buffer); in xenbus_va_dev_error() 261 dev->nodename, printf_buffer); in xenbus_va_dev_error()
|
/linux-2.6.39/drivers/base/ |
D | devtmpfs.c | 136 const char *nodename; in devtmpfs_create_node() local 146 nodename = device_get_devnode(dev, &mode, &tmp); in devtmpfs_create_node() 147 if (!nodename) in devtmpfs_create_node() 160 nodename, LOOKUP_PARENT, &nd); in devtmpfs_create_node() 162 create_path(nodename); in devtmpfs_create_node() 164 nodename, LOOKUP_PARENT, &nd); in devtmpfs_create_node() 283 const char *nodename; in devtmpfs_delete_node() local 294 nodename = device_get_devnode(dev, NULL, &tmp); in devtmpfs_delete_node() 295 if (!nodename) in devtmpfs_delete_node() 300 nodename, LOOKUP_PARENT, &nd); in devtmpfs_delete_node() [all …]
|
/linux-2.6.39/drivers/net/xen-netback/ |
D | xenbus.c | 44 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in netback_remove() 85 err = xenbus_printf(xbt, dev->nodename, "feature-sg", "%d", sg); in netback_probe() 91 err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4", in netback_probe() 99 err = xenbus_printf(xbt, dev->nodename, in netback_probe() 110 err = xenbus_printf(xbt, dev->nodename, in netback_probe() 155 val = xenbus_read(XBT_NIL, xdev->nodename, "script", NULL); in netback_uevent() 184 err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle); in backend_create_xenvif() 207 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in disconnect_backend() 229 __func__, dev->nodename); in frontend_changed() 280 ratestr = xenbus_read(XBT_NIL, dev->nodename, "rate", NULL); in xen_net_read_rate() [all …]
|
/linux-2.6.39/include/linux/ |
D | utsname.h | 8 char nodename[9]; member 18 char nodename[65]; member 26 char nodename[__NEW_UTS_LEN + 1]; member
|
D | miscdevice.h | 54 const char *nodename; member
|
/linux-2.6.39/drivers/input/misc/ |
D | xen-kbdfront.c | 123 snprintf(info->phys, sizeof(info->phys), "xenbus/%s", dev->nodename); in xenkbd_probe() 132 xenbus_printf(XBT_NIL, dev->nodename, "request-abs-pointer", "1"); in xenkbd_probe() 256 ret = xenbus_printf(xbt, dev->nodename, "page-ref", "%lu", in xenkbd_connect_backend() 260 ret = xenbus_printf(xbt, dev->nodename, "page-gref", "%u", info->gref); in xenkbd_connect_backend() 263 ret = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in xenkbd_connect_backend() 324 ret = xenbus_printf(XBT_NIL, info->xbdev->nodename, in xenkbd_backend_changed()
|
/linux-2.6.39/kernel/ |
D | utsname_sysctl.c | 84 .data = init_uts_ns.name.nodename, 85 .maxlen = sizeof(init_uts_ns.name.nodename),
|
D | sys.c | 1176 error |= __copy_to_user(&name->nodename, &utsname()->nodename, in SYSCALL_DEFINE1() 1178 error |= __put_user(0, name->nodename + __OLD_UTS_LEN); in SYSCALL_DEFINE1() 1211 memcpy(u->nodename, tmp, len); in SYSCALL_DEFINE2() 1212 memset(u->nodename + len, 0, sizeof(u->nodename) - len); in SYSCALL_DEFINE2() 1230 i = 1 + strlen(u->nodename); in SYSCALL_DEFINE2() 1234 if (copy_to_user(name, u->nodename, i)) in SYSCALL_DEFINE2()
|
/linux-2.6.39/arch/parisc/hpux/ |
D | sys_hpux.c | 101 char nodename[HPUX_UTSLEN]; member 250 error |= __copy_to_user(&name->nodename, &utsname()->nodename, in hpux_uname() 252 error |= __put_user(0, name->nodename + HPUX_UTSLEN - 1); in hpux_uname()
|
/linux-2.6.39/drivers/block/ |
D | xen-blkfront.c | 840 err = xenbus_printf(xbt, dev->nodename, in talk_to_blkback() 846 err = xenbus_printf(xbt, dev->nodename, in talk_to_blkback() 852 err = xenbus_printf(xbt, dev->nodename, "protocol", "%s", in talk_to_blkback() 894 err = xenbus_scanf(XBT_NIL, dev->nodename, in blkfront_probe() 898 err = xenbus_scanf(XBT_NIL, dev->nodename, "virtual-device-ext", in blkfront_probe() 926 type = xenbus_read(XBT_NIL, dev->nodename, "device-type", &len); in blkfront_probe() 952 info->handle = simple_strtoul(strrchr(dev->nodename, '/')+1, NULL, 0); in blkfront_probe() 1044 dev_dbg(&dev->dev, "blkfront_resume: %s\n", dev->nodename); in blkfront_resume() 1215 dev_dbg(&xbdev->dev, "%s removed", xbdev->nodename); in blkfront_remove() 1244 xbdev->nodename, bdev->bd_openers); in blkfront_remove()
|
/linux-2.6.39/drivers/s390/char/ |
D | sclp_async.c | 55 strncat(data, init_utsname()->nodename, in call_home_on_panic() 56 sizeof(init_utsname()->nodename)); in call_home_on_panic()
|
/linux-2.6.39/init/ |
D | version.c | 30 .nodename = UTS_NODENAME,
|
/linux-2.6.39/drivers/pci/ |
D | xen-pcifront.c | 799 err = xenbus_printf(trans, pdev->xdev->nodename, in pcifront_publish_info() 802 err = xenbus_printf(trans, pdev->xdev->nodename, in pcifront_publish_info() 805 err = xenbus_printf(trans, pdev->xdev->nodename, in pcifront_publish_info() 842 if (xenbus_read_driver_state(pdev->xdev->nodename) != in pcifront_try_connect() 906 prev_state = xenbus_read_driver_state(pdev->xdev->nodename); in pcifront_try_disconnect() 930 if (xenbus_read_driver_state(pdev->xdev->nodename) != in pcifront_attach_devices() 990 if (xenbus_read_driver_state(pdev->xdev->nodename) != in pcifront_detach_devices()
|
/linux-2.6.39/drivers/char/ |
D | misc.c | 267 if (c->nodename) in misc_devnode() 268 return kstrdup(c->nodename, GFP_KERNEL); in misc_devnode()
|
/linux-2.6.39/arch/sparc/prom/ |
D | tree_32.c | 183 phandle prom_searchsiblings(phandle node_start, char *nodename) in prom_searchsiblings() argument 195 if(strcmp(nodename, promlib_buf)==0) return thisnode; in prom_searchsiblings()
|
D | tree_64.c | 214 phandle prom_searchsiblings(phandle node_start, const char *nodename) in prom_searchsiblings() argument 226 if(strcmp(nodename, promlib_buf)==0) return thisnode; in prom_searchsiblings()
|
/linux-2.6.39/net/ipv4/ |
D | ipconfig.c | 412 sprintf(init_utsname()->nodename, "%pI4", &ic_myaddr); in ic_defaults() 670 len = strlen(utsname()->nodename); in ic_dhcp_init_options() 672 memcpy(e, utsname()->nodename, len); in ic_dhcp_init_options() 872 ic_bootp_string(utsname()->nodename, ext+1, *ext, __NEW_UTS_LEN); in ic_do_bootp_ext() 1477 utsname()->nodename, ic_domain, utsname()->domainname); in ip_auto_config() 1584 strlcpy(utsname()->nodename, ip, in ip_auto_config_setup() 1585 sizeof(utsname()->nodename)); in ip_auto_config_setup()
|
/linux-2.6.39/drivers/net/ |
D | xen-netfront.c | 1315 dev_dbg(&dev->dev, "%s\n", dev->nodename); in netfront_resume() 1326 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 1378 xenbus_dev_fatal(dev, err, "parsing %s/mac", dev->nodename); in setup_netfront() 1450 err = xenbus_printf(xbt, dev->nodename, "tx-ring-ref", "%u", in talk_to_netback() 1456 err = xenbus_printf(xbt, dev->nodename, "rx-ring-ref", "%u", in talk_to_netback() 1462 err = xenbus_printf(xbt, dev->nodename, in talk_to_netback() 1469 err = xenbus_printf(xbt, dev->nodename, "request-rx-copy", "%u", in talk_to_netback() 1476 err = xenbus_printf(xbt, dev->nodename, "feature-rx-notify", "%d", 1); in talk_to_netback() 1482 err = xenbus_printf(xbt, dev->nodename, "feature-sg", "%d", 1); in talk_to_netback() 1488 err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4", "%d", 1); in talk_to_netback() [all …]
|
/linux-2.6.39/arch/um/os-Linux/ |
D | util.c | 75 snprintf(buf, len, "%s %s %s %s %s", host.sysname, host.nodename, in setup_hostinfo()
|
/linux-2.6.39/drivers/video/ |
D | xen-fbfront.c | 584 ret = xenbus_printf(xbt, dev->nodename, "page-ref", "%lu", in xenfb_connect_backend() 588 ret = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in xenfb_connect_backend() 592 ret = xenbus_printf(xbt, dev->nodename, "protocol", "%s", in xenfb_connect_backend() 596 ret = xenbus_printf(xbt, dev->nodename, "feature-update", "1"); in xenfb_connect_backend()
|
/linux-2.6.39/sound/core/ |
D | info_oss.c | 99 init_utsname()->nodename, in snd_sndstat_proc_read()
|