Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 6 of 6) sorted by relevance

/arch/arm/mach-goldfish/
Dpdev_bus.c109 uint32_t name_len; in goldfish_new_pdev() local
118 name_len = readl(pdev_bus_base + PDEV_BUS_NAME_LEN); in goldfish_new_pdev()
122 dev = kzalloc(sizeof(*dev) + sizeof(struct resource) * resource_count + name_len + 1, GFP_ATOMIC); in goldfish_new_pdev()
132 name[name_len] = '\0'; in goldfish_new_pdev()
Dswitch.c122 uint32_t name_len; in goldfish_switch_probe() local
130 name_len = readl(base + SW_NAME_LEN); in goldfish_switch_probe()
132 qs = kzalloc(sizeof(*qs) + name_len + 1, GFP_KERNEL); in goldfish_switch_probe()
147 qs->name[name_len] = '\0'; in goldfish_switch_probe()
/arch/mips/mach-goldfish/
Dpdev_bus.c107 uint32_t name_len; in goldfish_new_pdev() local
116 name_len = readl(pdev_bus_base + PDEV_BUS_NAME_LEN); in goldfish_new_pdev()
120 dev = kzalloc(sizeof(*dev) + sizeof(struct resource) * resource_count + name_len + 1, GFP_ATOMIC); in goldfish_new_pdev()
130 name[name_len] = '\0'; in goldfish_new_pdev()
Dswitch.c122 uint32_t name_len; in goldfish_switch_probe() local
130 name_len = readl(base + SW_NAME_LEN); in goldfish_switch_probe()
132 qs = kzalloc(sizeof(*qs) + name_len + 1, GFP_KERNEL); in goldfish_switch_probe()
147 qs->name[name_len] = '\0'; in goldfish_switch_probe()
/arch/x86/mach-goldfish/
Dpdev_bus.c109 uint32_t name_len; in goldfish_new_pdev() local
118 name_len = readl(pdev_bus_base + PDEV_BUS_NAME_LEN); in goldfish_new_pdev()
122 dev = kzalloc(sizeof(*dev) + sizeof(struct resource) * resource_count + name_len + 1, GFP_ATOMIC); in goldfish_new_pdev()
132 name[name_len] = '\0'; in goldfish_new_pdev()
/arch/sparc/kernel/
Dmdesc.c49 u8 name_len; member