/drivers/md/ |
H A D | dm-bio-prison.h | 10 #include "persistent-data/dm-block-manager.h" /* FIXME: for dm_block_t */ 30 dm_block_t block; member in struct:dm_cell_key 96 * new mapping could free the old block that the read bios are mapped to.
|
H A D | dm-thin-metadata.h | 10 #include "persistent-data/dm-block-manager.h" 136 dm_block_t block; member in struct:dm_thin_lookup_result 142 * -EWOULDBLOCK iff @can_block is set and would block. 146 int dm_thin_find_block(struct dm_thin_device *td, dm_block_t block, 150 * Obtain an unused block. 155 * Insert or remove block. 157 int dm_thin_insert_block(struct dm_thin_device *td, dm_block_t block, 160 int dm_thin_remove_block(struct dm_thin_device *td, dm_block_t block); 199 * Flicks the underlying block manager into read only mode, so you know
|
/drivers/gpu/drm/nouveau/core/include/core/ |
H A D | notify.h | 10 int block; member in struct:nvkm_notify
|
/drivers/mtd/ |
H A D | mtdblock_ro.c | 30 unsigned long block, char *buf) 34 if (mtd_read(dev->mtd, (block * 512), 512, &retlen, buf)) 40 unsigned long block, char *buf) 44 if (mtd_write(dev->mtd, (block * 512), 512, &retlen, buf)) 99 MODULE_DESCRIPTION("Simple read-only block device emulation access to MTD devices"); 29 mtdblock_readsect(struct mtd_blktrans_dev *dev, unsigned long block, char *buf) argument 39 mtdblock_writesect(struct mtd_blktrans_dev *dev, unsigned long block, char *buf) argument
|
/drivers/s390/block/ |
H A D | dasd_genhd.c | 29 int dasd_gendisk_alloc(struct dasd_block *block) argument 36 base = block->base; 76 gdp->queue = block->request_queue; 77 block->gdp = gdp; 78 set_capacity(block->gdp, 0); 79 add_disk(block->gdp); 86 void dasd_gendisk_free(struct dasd_block *block) argument 88 if (block->gdp) { 89 del_gendisk(block->gdp); 90 block 99 dasd_scan_partitions(struct dasd_block *block) argument 129 dasd_destroy_partitions(struct dasd_block *block) argument [all...] |
H A D | dasd_proc.c | 38 struct dasd_block *block; local 44 if (device->block) 45 block = device->block; 58 if (block->gdp) 60 MAJOR(disk_devt(block->gdp)), 61 MINOR(disk_devt(block->gdp))); 65 if (block->gdp) 66 seq_printf(m, " is %-8s", block->gdp->disk_name); 89 if (dasd_check_blocksize(block [all...] |
/drivers/misc/ |
H A D | atmel_tclib.c | 36 * atmel_tc_alloc - allocate a specified TC block 37 * @block: which block to allocate 39 * Caller allocates a block. If it is available, a pointer to a 43 struct atmel_tc *atmel_tc_alloc(unsigned block) argument 53 if ((tc->pdev->dev.of_node && tc->id == block) || 54 (tc->pdev->id == block)) { 67 * atmel_tc_free - release a specified TC block 68 * @tc: Timer/counter block that was returned by atmel_tc_alloc()
|
H A D | sram.c | 64 struct sram_reserve *rblocks, *block; local 93 * We need an additional block to mark the end of the memory region 103 block = &rblocks[0]; 117 "reserved block %s outside the sram area\n", 123 block->start = child_res.start - res->start; 124 block->size = resource_size(&child_res); 125 list_add_tail(&block->list, &reserve_list); 127 dev_dbg(&pdev->dev, "found reserved block 0x%x-0x%x\n", 128 block->start, 129 block [all...] |
/drivers/misc/cb710/ |
H A D | debug.c | 25 static inline int allow_reg_read(unsigned block, unsigned offset, unsigned bits) argument 29 return ((allow[block] >> offset) & mask) == mask;
|
/drivers/net/wireless/ath/wil6210/ |
H A D | ioctl.c | 50 wil_err(wil, "Requested block does not fit into memory: " 105 void *block; local 128 block = kmalloc(io.size, GFP_USER); 129 if (!block) 135 wil_memcpy_fromio_32(block, a, io.size); 136 wil_hex_dump_ioctl("Read ", block, io.size); 137 if (copy_to_user(io.block, block, io.size)) { 143 if (copy_from_user(block, io.block, i [all...] |
/drivers/gpu/drm/udl/ |
H A D | udl_connector.c | 24 u8 *block; local 28 block = kmalloc(EDID_LENGTH, GFP_KERNEL); 29 if (block == NULL) 45 block[i] = rbuf[1]; 49 return block; 52 kfree(block); 70 * We only read the main block, but if the monitor reports extension
|
/drivers/gpu/drm/nouveau/core/core/ |
H A D | mm.c | 238 nouveau_mm_init(struct nouveau_mm *mm, u32 offset, u32 length, u32 block) argument 255 BUG_ON(block != mm->block_size); 259 mm->block_size = block;
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_irq_kms.c | 431 * @block: afmt block whose interrupt you want to enable 433 * Enables the afmt change interrupt for a specific afmt block (all asics). 435 void radeon_irq_kms_enable_afmt(struct radeon_device *rdev, int block) argument 443 rdev->irq.afmt[block] = true; 453 * @block: afmt block whose interrupt you want to disable 455 * Disables the afmt change interrupt for a specific afmt block (all asics). 457 void radeon_irq_kms_disable_afmt(struct radeon_device *rdev, int block) argument 465 rdev->irq.afmt[block] [all...] |
H A D | radeon_mem.c | 45 /* Maybe cut off the start of an existing block */ 62 /* Maybe cut off the end of an existing block */ 79 /* Our block is in the middle */ 224 struct mem_block *block, **heap; local 241 block = alloc_block(*heap, alloc->size, alloc->alignment, file_priv); 243 if (!block) 246 if (copy_to_user(alloc->region_offset, &block->start, 259 struct mem_block *block, **heap; local 270 block = find_block(*heap, memfree->region_offset); 271 if (!block) [all...] |
/drivers/gpu/drm/ttm/ |
H A D | ttm_lock.c | 98 bool block = true; local 110 block = false; 113 block = false; 117 return !block;
|
/drivers/md/persistent-data/ |
H A D | dm-btree-spine.c | 176 struct dm_block *block; local 179 block = s->nodes[s->count - 1]; 181 return dm_block_data(block);
|
/drivers/mtd/onenand/ |
H A D | onenand_bbt.c | 27 * Check for a pattern at the given place. Used to search bad block 28 * tables and good / bad block identifiers. Same as check_pattern, but 47 * create_bbt - [GENERIC] Create a bad block table by scanning the device 50 * @param bd descriptor for the good/bad block search pattern 54 * Create a bad block table by scanning the device 55 * for the given good/bad block identify pattern 98 /* If it is a initial bad block, just ignore it */ 106 "initial bad block\n", i >> 1); 125 * onenand_memory_bbt - [GENERIC] create a memory based bad block table 127 * @param bd descriptor for the good/bad block searc 149 int block; local [all...] |
/drivers/net/wireless/cw1200/ |
H A D | fwio.c | 56 int ret, block, num_blocks; local 177 for (block = 0; block < num_blocks; block++) { 204 /* calculate the block size */ 215 /* send the block to sram */ 221 pr_err("Can't write firmware block @ %d!\n",
|
/drivers/base/regmap/ |
H A D | regcache.c | 595 static int regcache_sync_block_single(struct regmap *map, void *block, argument 609 val = regcache_get_val(map, block, i); 661 static int regcache_sync_block_raw(struct regmap *map, void *block, argument 683 val = regcache_get_val(map, block, i); 696 data = regcache_get_val_addr(map, block, i); 705 int regcache_sync_block(struct regmap *map, void *block, argument 711 return regcache_sync_block_raw(map, block, cache_present, 714 return regcache_sync_block_single(map, block, cache_present,
|
/drivers/crypto/nx/ |
H A D | nx-aes-ccm.c | 120 static int set_msg_len(u8 *block, unsigned int msglen, int csize) argument 124 memset(block, 0, csize); 125 block += csize; 133 memcpy(block - csize, (u8 *)&data + 4 - csize, csize); 563 /* tell the block cipher walk routines that this is a stream cipher by
|
/drivers/edac/ |
H A D | edac_device.c | 82 unsigned instance, block, attr; local 90 * (instance,block,attrib) from the start of an allocated structure. 91 * We want the alignment of each item (instance,block,attrib) 104 * which will become the start of the block array 174 /* Initialize every block in each instance */ 175 for (block = 0; block < nr_blocks; block++) { 176 blk = &blk_p[block]; 179 "%s%d", edac_block_name, block 628 struct edac_device_block *block = NULL; local 674 struct edac_device_block *block = NULL; local [all...] |
/drivers/gpio/ |
H A D | gpio-sch311x.c | 43 struct sch311x_gpio_block { /* one GPIO block runtime data */ 48 spinlock_t lock; /* lock for this GPIO block */ 145 struct sch311x_gpio_block *block = to_sch311x_gpio_block(chip); local 147 if (block->config_regs[offset] == 0) /* GPIO is not available */ 150 if (!request_region(block->runtime_reg + block->config_regs[offset], 153 block->runtime_reg + block->config_regs[offset]); 161 struct sch311x_gpio_block *block = to_sch311x_gpio_block(chip); local 163 if (block 171 struct sch311x_gpio_block *block = to_sch311x_gpio_block(chip); local 181 __sch311x_gpio_set(struct sch311x_gpio_block *block, unsigned offset, int value) argument 195 struct sch311x_gpio_block *block = to_sch311x_gpio_block(chip); local 204 struct sch311x_gpio_block *block = to_sch311x_gpio_block(chip); local 217 struct sch311x_gpio_block *block = to_sch311x_gpio_block(chip); local 234 struct sch311x_gpio_block *block; local [all...] |
H A D | gpio-ts5500.c | 106 * TS-5500 DIO1 block 135 * TS-5500 DIO2 block 162 * TS-5500 LCD port used as DIO block 273 const struct ts5500_dio *block = priv->pinout; local 274 const struct ts5500_dio line = block[offset]; 324 enum ts5500_blocks block = platform_get_device_id(pdev)->driver_data; local 361 switch (block) {
|
/drivers/gpu/drm/nouveau/core/subdev/vm/ |
H A D | base.c | 358 u64 mm_offset, u32 block, struct nouveau_vm **pvm) 381 block >> 12); 357 nouveau_vm_create(struct nouveau_vmmgr *vmm, u64 offset, u64 length, u64 mm_offset, u32 block, struct nouveau_vm **pvm) argument
|
H A D | nv50.c | 84 u32 block, target; local 103 block = 1 << (i + 3); 104 if (cnt >= block && !(pte & (block - 1))) 109 phys += block << (vma->node->type - 3); 110 cnt -= block; 114 delta += block << (vma->node->type - 3); 117 while (block) { 121 block -= 8; 197 u32 block local [all...] |