Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/zram/
Dzram_lib.sh10 dev_start=0
51 for i in $(seq $dev_start $dev_makeswap); do
55 for i in $(seq $dev_start $dev_mounted); do
59 for i in $(seq $dev_start $dev_end); do
65 for i in $(seq $dev_start $dev_end); do
83 dev_start=$(ls /dev/zram* | wc -w)
84 dev_end=$(($dev_start + $dev_num - 1))
87 for i in $(seq $dev_start $dev_end); do
91 echo "all zram devices (/dev/zram$dev_start~$dev_end" \
130 local i=$dev_start
[all …]
Dzram01.sh36 for i in $(seq $dev_start $dev_end); do
/linux-6.1.9/drivers/md/
Draid0.c57 (unsigned long long)conf->strip_zone[j].dev_start>>1, in dump_zones()
217 zone->dev_start = smallest->sectors; in create_strip_zones()
223 if (rdev->sectors <= zone->dev_start) { in create_strip_zones()
244 sectors = (smallest->sectors - zone->dev_start) * c; in create_strip_zones()
484 sector_t dev_start, dev_end; in raid0_handle_discard() local
488 dev_start = (first_stripe_index + 1) * in raid0_handle_discard()
491 dev_start = first_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()
493 dev_start = start_disk_offset; in raid0_handle_discard()
502 if (dev_end <= dev_start) in raid0_handle_discard()
508 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
Draid10.c1812 sector_t dev_start, dev_end; in raid10_handle_discard() local
1828 dev_start = (first_stripe_index + 1) * mddev->chunk_sectors; in raid10_handle_discard()
1830 dev_start = first_stripe_index * mddev->chunk_sectors; in raid10_handle_discard()
1832 dev_start = start_disk_offset; in raid10_handle_discard()
1857 dev_start + choose_data_offset(r10_bio, rdev), in raid10_handle_discard()
1858 dev_end - dev_start); in raid10_handle_discard()
1871 dev_start + choose_data_offset(r10_bio, rrdev), in raid10_handle_discard()
1872 dev_end - dev_start); in raid10_handle_discard()
/linux-6.1.9/drivers/pci/
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-6.1.9/drivers/pnp/
Dresource.c691 resource_size_t *dev_start, *dev_end; in pnp_range_reserved() local
695 dev_start = &pnp_res->res.start; in pnp_range_reserved()
697 if (ranged_conflict(&start, &end, dev_start, dev_end)) in pnp_range_reserved()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.h67 int (*dev_start)(struct peak_usb_device *dev); member
Dpcan_usb_fd.c1152 .dev_start = pcan_usb_fd_start,
1226 .dev_start = pcan_usb_fd_start,
1300 .dev_start = pcan_usb_fd_start,
1374 .dev_start = pcan_usb_fd_start,
Dpcan_usb_core.c526 if (dev->adapter->dev_start) { in peak_usb_start()
527 err = dev->adapter->dev_start(dev); in peak_usb_start()
Dpcan_usb.c1023 .dev_start = pcan_usb_start,
Dpcan_usb_pro.c1082 .dev_start = pcan_usb_pro_start,