/drivers/mtd/chips/ |
D | jedec_probe.c | 272 const uint8_t dev_size; member 304 .dev_size = SIZE_4MiB, 316 .dev_size = SIZE_2MiB, 331 .dev_size = SIZE_2MiB, 346 .dev_size = SIZE_512KiB, 361 .dev_size = SIZE_512KiB, 376 .dev_size = SIZE_1MiB, 392 .dev_size = SIZE_1MiB, 409 .dev_size = SIZE_1MiB, 426 .dev_size = SIZE_1MiB, [all …]
|
/drivers/target/ |
D | target_core_file.c | 156 unsigned long long dev_size; in fd_configure_device() local 163 dev_size = (i_size_read(file->f_mapping->host) - in fd_configure_device() 168 dev_size, div_u64(dev_size, fd_dev->fd_block_size), in fd_configure_device() 813 unsigned long long dev_size; in fd_get_blocks() local 820 dev_size = i_size_read(i); in fd_get_blocks() 822 dev_size = fd_dev->fd_dev_size; in fd_get_blocks() 824 return div_u64(dev_size - dev->dev_attrib.block_size, in fd_get_blocks()
|
D | target_core_user.c | 132 uint64_t dev_size; member 2603 ret = match_u64(&args[0], &udev->dev_size); in tcmu_set_configfs_dev_params() 2650 bl += sprintf(b + bl, "Size: %llu ", udev->dev_size); in tcmu_show_configfs_dev_params() 2663 return div_u64(udev->dev_size - dev->dev_attrib.block_size, in tcmu_get_blocks() 2842 return snprintf(page, PAGE_SIZE, "%llu\n", udev->dev_size); in tcmu_dev_size_show() 2886 udev->dev_size = val; in tcmu_dev_size_store() 2889 CONFIGFS_ATTR(tcmu_, dev_size);
|
/drivers/media/usb/gspca/ |
D | gspca.h | 222 int dev_size, 227 int dev_size,
|
D | gspca.c | 1447 int dev_size, in gspca_dev_probe2() argument 1459 if (dev_size < sizeof *gspca_dev) in gspca_dev_probe2() 1460 dev_size = sizeof *gspca_dev; in gspca_dev_probe2() 1461 gspca_dev = kzalloc(dev_size, GFP_KERNEL); in gspca_dev_probe2() 1593 int dev_size, in gspca_dev_probe() argument 1610 return gspca_dev_probe2(intf, id, sd_desc, dev_size, module); in gspca_dev_probe()
|
/drivers/dma/sh/ |
D | rcar-dmac.c | 1152 size_t dev_size; in rcar_dmac_map_slave_addr() local 1157 dev_size = rchan->src.xfer_size; in rcar_dmac_map_slave_addr() 1161 dev_size = rchan->dst.xfer_size; in rcar_dmac_map_slave_addr() 1167 dev_size == map->slave.xfer_size && in rcar_dmac_map_slave_addr() 1178 map->addr = dma_map_resource(chan->device->dev, dev_addr, dev_size, in rcar_dmac_map_slave_addr() 1184 dev_size, &dev_addr); in rcar_dmac_map_slave_addr() 1189 rchan->index, dev_size, &dev_addr, &map->addr, in rcar_dmac_map_slave_addr() 1193 map->slave.xfer_size = dev_size; in rcar_dmac_map_slave_addr()
|
/drivers/dax/ |
D | bus.c | 996 resource_size_t dev_size = dev_dax_size(dev_dax); in dev_dax_resize() local 1005 if (size == dev_size) in dev_dax_resize() 1007 if (size > dev_size && size - dev_size > avail) in dev_dax_resize() 1009 if (size < dev_size) in dev_dax_resize() 1012 to_alloc = size - dev_size; in dev_dax_resize()
|
/drivers/md/ |
D | dm-table.c | 237 sector_t dev_size = bdev_nr_sectors(bdev); in device_area_is_invalid() local 241 if (!dev_size) in device_area_is_invalid() 244 if ((start >= dev_size) || (start + len > dev_size)) { in device_area_is_invalid() 249 (unsigned long long)dev_size); in device_area_is_invalid()
|
D | dm-snap.c | 1799 sector_t dev_size; in start_copy() local 1801 dev_size = get_dev_size(bdev); in start_copy() 1805 src.count = min((sector_t)s->store->chunk_size, dev_size - src.sector); in start_copy()
|
D | md.c | 2158 static sector_t super_1_choose_bm_space(sector_t dev_size) in super_1_choose_bm_space() argument 2165 if (dev_size < 64*2) in super_1_choose_bm_space() 2167 else if (dev_size - 64*2 >= 200*1024*1024*2) in super_1_choose_bm_space() 2169 else if (dev_size - 4*2 > 8*1024*1024*2) in super_1_choose_bm_space() 2196 sector_t dev_size = bdev_nr_sectors(rdev->bdev); in super_1_rdev_size_change() local 2199 sb_start = dev_size - 8*2; in super_1_rdev_size_change() 2202 bm_space = super_1_choose_bm_space(dev_size); in super_1_rdev_size_change()
|
/drivers/staging/ks7010/ |
D | ks_wlan.h | 484 int dev_size[DEVICE_STOCK_COUNT]; member
|
D | ks_hostif.c | 1578 priv->dev_size[atomic_read(&priv->rec_count)] = size; in devio_rec_ind()
|
/drivers/block/drbd/ |
D | drbd_nl.c | 3326 s->dev_size = get_capacity(device->vdisk); in device_to_statistics()
|