Home
last modified time | relevance | path

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

/linux/drivers/md/
A Draid0.c59 (unsigned long long)conf->strip_zone[j].dev_start>>1, in dump_zones()
236 zone->dev_start = smallest->sectors; in create_strip_zones()
242 if (rdev->sectors <= zone->dev_start) { in create_strip_zones()
263 sectors = (smallest->sectors - zone->dev_start) * c; in create_strip_zones()
479 sector_t dev_start, dev_end; in raid0_handle_discard() local
483 dev_start = (first_stripe_index + 1) * in raid0_handle_discard()
488 dev_start = start_disk_offset; in raid0_handle_discard()
497 if (dev_end <= dev_start) in raid0_handle_discard()
503 dev_start + zone->dev_start + rdev->data_offset, in raid0_handle_discard()
504 dev_end - dev_start); in raid0_handle_discard()
[all …]
A Draid0.h7 sector_t dev_start; /* Zone offset in real dev (in sectors) */ member
A Draid10.c1749 sector_t dev_start, dev_end; in raid10_handle_discard() local
1765 dev_start = (first_stripe_index + 1) * mddev->chunk_sectors; in raid10_handle_discard()
1767 dev_start = first_stripe_index * mddev->chunk_sectors; in raid10_handle_discard()
1769 dev_start = start_disk_offset; in raid10_handle_discard()
1793 dev_start + choose_data_offset(r10_bio, rdev), in raid10_handle_discard()
1794 dev_end - dev_start); in raid10_handle_discard()
1806 dev_start + choose_data_offset(r10_bio, rrdev), in raid10_handle_discard()
1807 dev_end - dev_start); in raid10_handle_discard()
/linux/drivers/pci/
A Dsearch.c272 struct device *dev_start = NULL; in pci_get_dev_by_id() local
276 dev_start = &from->dev; in pci_get_dev_by_id()
277 dev = bus_find_device(&pci_bus_type, dev_start, (void *)id, in pci_get_dev_by_id()
/linux/drivers/pnp/
A 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()
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_core.h67 int (*dev_start)(struct peak_usb_device *dev); member
A Dpcan_usb_fd.c1106 .dev_start = pcan_usb_fd_start,
1180 .dev_start = pcan_usb_fd_start,
1254 .dev_start = pcan_usb_fd_start,
1328 .dev_start = pcan_usb_fd_start,
A Dpcan_usb_core.c528 if (dev->adapter->dev_start) { in peak_usb_start()
529 err = dev->adapter->dev_start(dev); in peak_usb_start()
A Dpcan_usb.c1021 .dev_start = pcan_usb_start,
A Dpcan_usb_pro.c1081 .dev_start = pcan_usb_pro_start,
/linux/drivers/visorbus/
A 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()

Completed in 51 milliseconds