Lines Matching defs:location
69 static int location_to_bpos(char *location, int *rack, int *slot, int *blade)
74 if (sscanf(location, "%c%03d%c%02d%c%2d%c%d",
92 if (location_to_bpos(obj->location, &obj_rack, &obj_slot, &obj_blade))
127 return sysfs_emit(buf, "%s\n", hub_info->location);
159 __ATTR(location, 0444, hub_location_show, NULL);
453 char *location;
468 return sysfs_emit(buf, "%s\n", top_obj->location);
495 __ATTR(location, 0444, uv_pci_location_show, NULL);
508 kfree(top_obj->location);
539 char type[11], location[14], ppb_addr[15];
578 location, type, &top_obj->iio_stack);
584 top_obj->location = kstrdup(location, GFP_KERNEL);
585 if (!top_obj->location) {
620 if (top_obj->location) {