Home
last modified time | relevance | path

Searched refs:dev_start (Results 1 – 11 of 11) sorted by relevance

/drivers/md/
Draid0.c59 (unsigned long long)conf->strip_zone[j].dev_start>>1, in dump_zones()
221 zone->dev_start = smallest->sectors; in create_strip_zones()
227 if (rdev->sectors <= zone->dev_start) { in create_strip_zones()
248 sectors = (smallest->sectors - zone->dev_start) * c; in create_strip_zones()
522 sector_t dev_start, dev_end; in raid0_handle_discard() local
531 dev_start = (first_stripe_index + 1) * in raid0_handle_discard()
534 dev_start = first_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()
536 dev_start = start_disk_offset; in raid0_handle_discard()
545 if (dev_end <= dev_start) in raid0_handle_discard()
551 dev_start + zone->dev_start + rdev->data_offset, in raid0_handle_discard()
[all …]
Draid0.h7 sector_t dev_start; /* Zone offset in real dev (in sectors) */ member
/drivers/pci/
Dsearch.c274 struct device *dev_start = NULL; in pci_get_dev_by_id() local
279 dev_start = &from->dev; in pci_get_dev_by_id()
280 dev = bus_find_device(&pci_bus_type, dev_start, (void *)id, in pci_get_dev_by_id()
/drivers/pnp/
Dresource.c690 resource_size_t *dev_start, *dev_end; in pnp_range_reserved() local
694 dev_start = &pnp_res->res.start; in pnp_range_reserved()
696 if (ranged_conflict(&start, &end, dev_start, dev_end)) in pnp_range_reserved()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.h65 int (*dev_start)(struct peak_usb_device *dev); member
Dpcan_usb_fd.c1072 .dev_start = pcan_usb_fd_start,
1144 .dev_start = pcan_usb_fd_start,
1216 .dev_start = pcan_usb_fd_start,
1288 .dev_start = pcan_usb_fd_start,
Dpcan_usb_core.c509 if (dev->adapter->dev_start) { in peak_usb_start()
510 err = dev->adapter->dev_start(dev); in peak_usb_start()
Dpcan_usb.c1028 .dev_start = pcan_usb_start,
Dpcan_usb_pro.c1047 .dev_start = pcan_usb_pro_start,
/drivers/visorbus/
Dvisorbus_main.c189 struct device *dev_start = NULL; in visorbus_get_device_by_id() local
196 dev_start = &from->device; in visorbus_get_device_by_id()
197 dev = bus_find_device(&visorbus_type, dev_start, (void *)&id, in visorbus_get_device_by_id()
/drivers/virtio/
Dvirtio_mem.c505 unsigned long dev_start = virtio_mem_mb_id_to_phys(vm->first_mb_id); in virtio_mem_overlaps_range() local
509 return start < dev_end && dev_start < start + size; in virtio_mem_overlaps_range()