Home
last modified time | relevance | path

Searched refs:blk (Results 176 – 200 of 487) sorted by relevance

12345678910>>...20

/openbmc/linux/arch/mips/alchemy/common/
H A Dvss.c18 #define VSS_ADDR(blk) (KSEG1ADDR(AU1300_VSS_PHYS_ADDR) + (blk * 0x0c)) argument
/openbmc/linux/fs/ext4/
H A Dblock_validity.c353 unsigned int blk; in ext4_check_blockref() local
361 blk = le32_to_cpu(*bref++); in ext4_check_blockref()
362 if (blk && in ext4_check_blockref()
363 unlikely(!ext4_inode_block_valid(inode, blk, 1))) { in ext4_check_blockref()
364 ext4_error_inode(inode, function, line, blk, in ext4_check_blockref()
H A Dorphan.c196 int blk, off; in ext4_orphan_file_del() local
202 blk = EXT4_I(inode)->i_orphan_idx / inodes_per_ob; in ext4_orphan_file_del()
204 if (WARN_ON_ONCE(blk >= oi->of_blocks)) in ext4_orphan_file_del()
208 oi->of_binfo[blk].ob_bh, EXT4_JTR_ORPHAN_FILE); in ext4_orphan_file_del()
212 bdata = (__le32 *)(oi->of_binfo[blk].ob_bh->b_data); in ext4_orphan_file_del()
214 atomic_inc(&oi->of_binfo[blk].ob_free_entries); in ext4_orphan_file_del()
215 ret = ext4_handle_dirty_metadata(handle, NULL, oi->of_binfo[blk].ob_bh); in ext4_orphan_file_del()
/openbmc/linux/Documentation/block/
H A Dinline-encryption.rst132 blk-crypto-fallback
146 handle en/decryption of the bio using blk-crypto-fallback.
155 For decryption, blk-crypto-fallback "wraps" the bio's completion callback
158 successfully, blk-crypto-fallback restores the bio's original completion
161 Afterwards, blk-crypto-fallback completes the bio.
163 In both cases, the bios that blk-crypto-fallback submits no longer have an
174 makes sense for blk-crypto-fallback.
177 blk-crypto-fallback is used, the ciphertext written to disk (and hence the
182 blk-crypto-fallback is optional and is controlled by the
272 pass a clone of that request to another request_queue, blk-crypto will
[all …]
H A Dblk-mq.rst4 Multi-Queue Block IO Queueing Mechanism (blk-mq)
36 to different CPUs) wanted to perform block IO. Instead of this, the blk-mq API
45 for instance), blk-mq takes action: it will store and manage IO requests to
49 blk-mq has two group of queues: software staging queues and hardware dispatch
59 resources to accept more requests, blk-mq will places requests on a temporary
142 - `Linux Block IO: Introducing Multi-queue SSD Access on Multi-core Systems <http://kernel.dk/blk-m…
151 .. kernel-doc:: include/linux/blk-mq.h
153 .. kernel-doc:: block/blk-mq.c
/openbmc/qemu/block/
H A Dvmdk.c2343 if (blk == NULL) { in vmdk_create_extent()
2352 if (blk) { in vmdk_create_extent()
2354 *pbb = blk; in vmdk_create_extent()
2357 blk = NULL; in vmdk_create_extent()
2534 if (!blk) { in vmdk_co_do_create()
2642 if (blk) { in vmdk_co_do_create()
2697 return blk; in vmdk_co_create_opts_cb()
2815 BlockBackend *blk; in vmdk_co_create_cb() local
2844 if (!blk) { in vmdk_co_create_cb()
2854 blk = NULL; in vmdk_co_create_cb()
[all …]
/openbmc/qemu/hw/sd/
H A Dsd.c139 BlockBackend *blk; member
830 if (sd->blk) { in sd_reset()
853 sd->wp_switch = sd->blk ? !blk_is_writable(sd->blk) : false; in sd_reset()
869 return sd->blk && blk_is_inserted(sd->blk); in sd_get_inserted()
1038 qemu_set_irq(readonly, sd->blk ? !blk_is_writable(sd->blk) : 0); in sd_set_cb()
1039 qemu_set_irq(insert, sd->blk ? blk_is_inserted(sd->blk) : 0); in sd_set_cb()
1046 if (!sd->blk || blk_pread(sd->blk, addr, len, sd->data, 0) < 0) { in sd_blk_read()
2202 if (!sd->blk || !blk_is_inserted(sd->blk) || !sd->enable) { in sd_do_command()
2353 if (!sd->blk || !blk_is_inserted(sd->blk) || !sd->enable) in sd_write_byte()
2485 if (!sd->blk || !blk_is_inserted(sd->blk) || !sd->enable) in sd_read_byte()
[all …]
/openbmc/linux/arch/arm64/crypto/
H A DMakefile56 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_BLK) += aes-ce-blk.o
57 aes-ce-blk-y := aes-glue-ce.o aes-ce.o
59 obj-$(CONFIG_CRYPTO_AES_ARM64_NEON_BLK) += aes-neon-blk.o
60 aes-neon-blk-y := aes-glue-neon.o aes-neon.o
/openbmc/linux/fs/freevxfs/
H A Dvxfs_super.c125 unsigned blk, __fs32 magic) in vxfs_try_sb_magic() argument
132 bp = sb_bread(sbp, blk); in vxfs_try_sb_magic()
138 blk); in vxfs_try_sb_magic()
149 rsbp->vs_magic, blk); in vxfs_try_sb_magic()
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dpearl_pcie.c908 int blk, const u8 *pblk, const u8 *fw) in qtnf_ep_fw_send() argument
930 hdr->seqnum = cpu_to_le32(blk); in qtnf_ep_fw_send()
932 if (blk) in qtnf_ep_fw_send()
961 int blk = 0; in qtnf_ep_fw_load() local
966 while (blk < blk_count) { in qtnf_ep_fw_load()
976 if (!((blk + 1) & QTN_PCIE_FW_DLMASK) || in qtnf_ep_fw_load()
977 (blk == (blk_count - 1))) { in qtnf_ep_fw_load()
992 if (blk == (blk_count - 1)) { in qtnf_ep_fw_load()
995 blk -= last_round; in qtnf_ep_fw_load()
999 blk -= QTN_PCIE_FW_DLMASK; in qtnf_ep_fw_load()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D18253 -device virtio-blk,drive=drive0
59 -device virtio-blk,drive=drive0 2>&1 | _filter_testdir 2>&1 |
/openbmc/qemu/hw/core/
H A Dqdev-properties-system.c96 BlockBackend *blk; in set_drive_helper() local
112 blk = *ptr; in set_drive_helper()
113 ctx = blk_get_aio_context(blk); in set_drive_helper()
124 blk_replace_bs(blk, bs, errp); in set_drive_helper()
134 blk = blk_by_name(str); in set_drive_helper()
135 if (!blk) { in set_drive_helper()
150 ret = blk_insert_bs(blk, bs, errp); in set_drive_helper()
156 if (!blk) { in set_drive_helper()
161 if (blk_attach_dev(blk, dev) < 0) { in set_drive_helper()
176 *ptr = blk; in set_drive_helper()
[all …]
/openbmc/linux/Documentation/core-api/
H A Dkernel-api.rst315 .. kernel-doc:: block/blk-core.c
318 .. kernel-doc:: block/blk-core.c
321 .. kernel-doc:: block/blk-map.c
324 .. kernel-doc:: block/blk-sysfs.c
327 .. kernel-doc:: block/blk-settings.c
330 .. kernel-doc:: block/blk-flush.c
333 .. kernel-doc:: block/blk-lib.c
336 .. kernel-doc:: block/blk-integrity.c
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dnxp,imx8-isi.yaml42 fsl,blk-ctrl:
68 - fsl,blk-ctrl
125 fsl,blk-ctrl = <&disp_blk_ctrl>;
154 fsl,blk-ctrl = <&media_blk_ctrl>;
/openbmc/qemu/ui/
H A Dspice-display.c193 int y, yoff1, yoff2, x, xoff, blk, bw; in qemu_spice_create_update() local
202 for (blk = 0; blk < blocks; blk++) { in qemu_spice_create_update()
203 dirty_top[blk] = -1; in qemu_spice_create_update()
213 blk = x / blksize; in qemu_spice_create_update()
218 if (dirty_top[blk] != -1) { in qemu_spice_create_update()
226 dirty_top[blk] = -1; in qemu_spice_create_update()
230 dirty_top[blk] = y; in qemu_spice_create_update()
237 blk = x / blksize; in qemu_spice_create_update()
239 if (dirty_top[blk] != -1) { in qemu_spice_create_update()
241 .top = dirty_top[blk], in qemu_spice_create_update()
[all …]
/openbmc/u-boot/drivers/fastboot/
H A Dfb_nand.c106 lbaint_t blk, lbaint_t blkcnt, const void *buffer) in fb_nand_sparse_write() argument
113 blk * info->blksz, in fb_nand_sparse_write()
130 lbaint_t blk, lbaint_t blkcnt) in fb_nand_sparse_reserve() argument
/openbmc/qemu/hw/arm/
H A Dfby35.c43 BlockBackend *blk = blk_by_legacy_dinfo(dinfo); in fby35_bmc_write_boot_rom() local
51 size = blk_getlength(blk); in fby35_bmc_write_boot_rom()
62 if (blk_pread(blk, 0, rom_size, storage, 0) < 0) { in fby35_bmc_write_boot_rom()
/openbmc/u-boot/drivers/ata/
H A Ddwc_ahsata.c998 struct udevice *blk; in dwc_ahsata_scan() local
1006 device_find_first_child(dev, &blk); in dwc_ahsata_scan()
1007 if (!blk) { in dwc_ahsata_scan()
1009 IF_TYPE_SATA, -1, 512, 0, &blk); in dwc_ahsata_scan()
1016 desc = dev_get_uclass_platdata(blk); in dwc_ahsata_scan()
1045 static ulong dwc_ahsata_read(struct udevice *blk, lbaint_t blknr, in dwc_ahsata_read() argument
1048 struct blk_desc *desc = dev_get_uclass_platdata(blk); in dwc_ahsata_read()
1049 struct udevice *dev = dev_get_parent(blk); in dwc_ahsata_read()
1056 static ulong dwc_ahsata_write(struct udevice *blk, lbaint_t blknr, in dwc_ahsata_write() argument
1059 struct blk_desc *desc = dev_get_uclass_platdata(blk); in dwc_ahsata_write()
[all …]
/openbmc/linux/include/linux/
H A Df2fs_fs.h29 #define F2FS_BLK_TO_BYTES(blk) ((blk) << F2FS_BLKSIZE_BITS) argument
30 #define F2FS_BLK_END_BYTES(blk) (F2FS_BLK_TO_BYTES(blk + 1) - 1) argument
236 __le32 blk; /* start block address of the extent */ member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_flow.h389 ice_flow_add_prof(struct ice_hw *hw, enum ice_block blk, enum ice_flow_dir dir,
392 int ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id);
394 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id,
397 int ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk, u64 entry_h);
/openbmc/linux/sound/soc/codecs/
H A Dtas2781-comlib.c330 struct tasdev_blk *blk; in tasdev_dsp_prog_blk_remove() local
342 blk = &(tas_dt->dev_blks[i]); in tasdev_dsp_prog_blk_remove()
343 kfree(blk->data); in tasdev_dsp_prog_blk_remove()
361 struct tasdev_blk *blk; in tasdev_dsp_cfg_blk_remove() local
371 blk = &(tas_dt->dev_blks[i]); in tasdev_dsp_cfg_blk_remove()
372 kfree(blk->data); in tasdev_dsp_cfg_blk_remove()
/openbmc/linux/drivers/base/regmap/
H A Dregcache-rbtree.c272 u8 *blk; in regcache_rbtree_insert_to_block() local
278 blk = krealloc(rbnode->block, in regcache_rbtree_insert_to_block()
281 if (!blk) in regcache_rbtree_insert_to_block()
284 rbnode->block = blk; in regcache_rbtree_insert_to_block()
302 memmove(blk + offset * map->cache_word_size, in regcache_rbtree_insert_to_block()
303 blk, rbnode->blklen * map->cache_word_size); in regcache_rbtree_insert_to_block()
/openbmc/qemu/docs/tools/
H A Dqemu-storage-daemon.rst77 …--export [type=]vhost-user-blk,id=<id>,node-name=<node-name>,addr.type=unix,addr.path=<socket-path…
78 …--export [type=]vhost-user-blk,id=<id>,node-name=<node-name>,addr.type=fd,addr.str=<fd>[,writable=…
80 …--export [type=]vduse-blk,id=<id>,node-name=<node-name>,name=<vduse-name>[,writable=on|off][,num-q…
92 The ``vhost-user-blk`` export type takes a vhost-user socket address on which
114 The ``vduse-blk`` export type takes a ``name`` (must be unique across the host)
229 type=vhost-user-blk,addr.type=fd,addr.str=<fd>`` options.
238 Export a qcow2 image file ``disk.qcow2`` as a vhost-user-blk device over UNIX
239 domain socket ``vhost-user-blk.sock``::
244 …--export type=vhost-user-blk,id=export,addr.type=unix,addr.path=vhost-user-blk.sock,node-name=qcow2
/openbmc/qemu/qapi/
H A Dblock-export.json124 # A vhost-user-blk block export.
193 # A vduse-blk block export.
329 # @vhost-user-blk: vhost-user-blk export (since 5.2)
333 # @vduse-blk: vduse-blk export (since 7.1)
339 { 'name': 'vhost-user-blk',
342 { 'name': 'vduse-blk', 'if': 'CONFIG_VDUSE_BLK_EXPORT' } ] }
388 'vhost-user-blk': { 'type': 'BlockExportOptionsVhostUserBlk',
392 'vduse-blk': { 'type': 'BlockExportOptionsVduseBlk',
/openbmc/qemu/
H A Dqemu-nbd.c533 BlockBackend *blk; in main() local
1108 blk = blk_new_open(NULL, NULL, options, flags, &local_err); in main()
1114 blk = blk_new_open(opts.srcpath, NULL, options, flags, &local_err); in main()
1117 if (!blk) { in main()
1122 bs = blk_bs(blk); in main()
1132 blk_remove_bs(blk); in main()
1133 blk_insert_bs(blk, bs, &error_fatal); in main()
1137 blk_set_enable_write_cache(blk, !writethrough); in main()
1218 blk_unref(blk); in main()

12345678910>>...20