Home
last modified time | relevance | path

Searched +defs:block +defs:buffer (Results 1 – 25 of 76) sorted by relevance

1234

/linux-6.14.4/drivers/iio/buffer/
Dindustrialio-buffer-dma.c99 struct iio_dma_buffer_block *block = container_of(kref, in iio_buffer_block_release() local
116 static void iio_buffer_block_get(struct iio_dma_buffer_block *block) in iio_buffer_block_get()
121 static void iio_buffer_block_put(struct iio_dma_buffer_block *block) in iio_buffer_block_put()
135 struct iio_dma_buffer_block *block, *_block; in iio_dma_buffer_cleanup_worker() local
149 struct iio_dma_buffer_block *block; in iio_buffer_block_release_atomic() local
164 static void iio_buffer_block_put_atomic(struct iio_dma_buffer_block *block) in iio_buffer_block_put_atomic()
177 struct iio_dma_buffer_block *block; in iio_dma_buffer_alloc_block() local
207 static void _iio_dma_buffer_block_done(struct iio_dma_buffer_block *block) in _iio_dma_buffer_block_done()
232 void iio_dma_buffer_block_done(struct iio_dma_buffer_block *block) in iio_dma_buffer_block_done()
266 struct iio_dma_buffer_block *block, *_block; in iio_dma_buffer_block_list_abort() local
[all …]
Dindustrialio-buffer-dmaengine.c43 struct iio_buffer *buffer) in iio_buffer_to_dmaengine_buffer()
51 struct iio_dma_buffer_block *block = data; in iio_dmaengine_buffer_block_done() local
62 struct iio_dma_buffer_block *block) in iio_dmaengine_buffer_submit_block()
192 struct iio_buffer *buffer = to_iio_dev_attr(attr)->buffer; in iio_dmaengine_buffer_get_length_align() local
279 void iio_dmaengine_buffer_free(struct iio_buffer *buffer) in iio_dmaengine_buffer_free()
311 struct iio_buffer *buffer; in iio_dmaengine_buffer_setup_ext() local
332 static void __devm_iio_dmaengine_buffer_free(void *buffer) in __devm_iio_dmaengine_buffer_free()
354 struct iio_buffer *buffer; in devm_iio_dmaengine_buffer_setup_ext() local
/linux-6.14.4/drivers/mtd/
Dsm_ftl.c192 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset()
207 int *zone, int *block, int *boffset) in sm_break_offset()
217 static int sm_correct_sector(uint8_t *buffer, struct sm_oob *oob) in sm_correct_sector()
238 int zone, int block, int boffset, in sm_read_sector()
239 uint8_t *buffer, struct sm_oob *oob) in sm_read_sector()
323 int zone, int block, int boffset, in sm_write_sector()
324 uint8_t *buffer, struct sm_oob *oob) in sm_write_sector()
370 int zone, int block, int lba, in sm_write_block()
436 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad()
464 static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block, in sm_erase_block()
[all …]
Dinftlcore.c242 int block, silly; in INFTL_foldchain() local
460 static inline u16 INFTL_findwriteunit(struct INFTLrecord *inftl, unsigned block) in INFTL_findwriteunit()
632 int block, silly; in INFTL_trydeletechain() local
746 static int INFTL_deleteblock(struct INFTLrecord *inftl, unsigned block) in INFTL_deleteblock()
805 static int inftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block, in inftl_writeblock()
806 char *buffer) in inftl_writeblock()
853 static int inftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block, in inftl_readblock()
854 char *buffer) in inftl_readblock()
Dnftlcore.c238 int block; in NFTL_foldchain() local
522 static inline u16 NFTL_findwriteunit(struct NFTLrecord *nftl, unsigned block) in NFTL_findwriteunit()
673 static int nftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block, in nftl_writeblock()
674 char *buffer) in nftl_writeblock()
700 static int nftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block, in nftl_readblock()
701 char *buffer) in nftl_readblock()
Dftl.c748 static int ftl_read(partition_t *part, caddr_t buffer, in ftl_read()
862 static int ftl_write(partition_t *part, caddr_t buffer, in ftl_write()
958 unsigned long block, char *buf) in ftl_readsect()
964 unsigned long block, char *buf) in ftl_writesect()
/linux-6.14.4/fs/squashfs/
Dcache.c53 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get()
297 int squashfs_copy_data(void *buffer, struct squashfs_cache_entry *entry, in squashfs_copy_data()
335 int squashfs_read_metadata(struct super_block *sb, void *buffer, in squashfs_read_metadata()
336 u64 *block, int *offset, int length) in squashfs_read_metadata()
410 void *squashfs_read_table(struct super_block *sb, u64 block, int length) in squashfs_read_table()
414 void *table, *buffer, **data; in squashfs_read_table() local
Dfile.c165 long long block = 0; in read_indexes() local
327 static int read_blocklist(struct inode *inode, int index, u64 *block) in read_blocklist()
366 struct squashfs_cache_entry *buffer, size_t offset, in squashfs_fill_page()
384 struct squashfs_cache_entry *buffer, size_t bytes, in squashfs_copy_cache()
430 struct squashfs_cache_entry *buffer = squashfs_get_fragment(inode->i_sb, in squashfs_readpage_fragment() local
473 u64 block = 0; in squashfs_read_folio() local
500 struct squashfs_cache_entry *buffer = squashfs_get_fragment(inode->i_sb, in squashfs_readahead_fragment() local
589 u64 block = 0; in squashfs_readahead() local
Dfile_cache.c21 int squashfs_readpage_block(struct folio *folio, u64 block, int bsize, int expected) in squashfs_readpage_block()
24 struct squashfs_cache_entry *buffer = squashfs_get_datablock(i->i_sb, in squashfs_readpage_block() local
/linux-6.14.4/drivers/edac/
Dedac_device_sysfs.c118 struct attribute *attr, char *buffer) in edac_dev_ctl_info_show()
131 const char *buffer, size_t count) in edac_dev_ctl_info_store()
347 struct attribute *attr, char *buffer) in edac_dev_instance_show()
360 const char *buffer, size_t count) in edac_dev_instance_store()
418 struct edac_device_block *block = to_block(kobj); in block_ue_count_show() local
426 struct edac_device_block *block = to_block(kobj); in block_ce_count_show() local
434 struct edac_device_block *block; in edac_device_ctrl_block_release() local
450 struct attribute *attr, char *buffer) in edac_dev_block_show()
496 struct edac_device_block *block) in edac_device_create_block()
565 struct edac_device_block *block) in edac_device_delete_block()
/linux-6.14.4/sound/isa/gus/
Dgus_mem.c28 snd_gf1_mem_xalloc(struct snd_gf1_mem *alloc, struct snd_gf1_mem_block *block, in snd_gf1_mem_xalloc()
70 int snd_gf1_mem_xfree(struct snd_gf1_mem * alloc, struct snd_gf1_mem_block * block) in snd_gf1_mem_xfree()
103 struct snd_gf1_mem_block *block; in snd_gf1_mem_look() local
116 struct snd_gf1_mem_block *block; in snd_gf1_mem_share() local
129 struct snd_gf1_mem_block * block, in snd_gf1_mem_find()
184 struct snd_gf1_mem_block block, *nblock; in snd_gf1_mem_alloc() local
216 struct snd_gf1_mem_block *block; in snd_gf1_mem_free() local
232 struct snd_gf1_mem_block block; in snd_gf1_mem_init() local
261 struct snd_gf1_mem_block *block, *nblock; in snd_gf1_mem_done() local
275 struct snd_info_buffer *buffer) in snd_gf1_mem_info_read()
[all …]
/linux-6.14.4/drivers/md/dm-vdo/
Derrors.c99 struct error_block *block; in get_error_info() local
143 char *buffer = buf; in uds_string_error() local
180 char *buffer = buf; in uds_string_error_name() local
275 struct error_block *block; in uds_register_error_block() local
Dencodings.c204 static void encode_version_number(u8 *buffer, size_t *offset, in encode_version_number()
213 void vdo_encode_header(u8 *buffer, size_t *offset, const struct header *header) in vdo_encode_header()
221 static void decode_version_number(u8 *buffer, size_t *offset, in decode_version_number()
231 void vdo_decode_header(u8 *buffer, size_t *offset, struct header *header) in vdo_decode_header()
248 static void decode_volume_geometry(u8 *buffer, size_t *offset, in decode_volume_geometry()
299 int __must_check vdo_parse_geometry_block(u8 *block, struct volume_geometry *geometry) in vdo_parse_geometry_block()
335 struct block_map_page *vdo_format_block_map_page(void *buffer, nonce_t nonce, in vdo_format_block_map_page()
366 static int decode_block_map_state_2_0(u8 *buffer, size_t *offset, in decode_block_map_state_2_0()
415 static void encode_block_map_state_2_0(u8 *buffer, size_t *offset, in encode_block_map_state_2_0()
468 static void encode_recovery_journal_state_7_0(u8 *buffer, size_t *offset, in encode_recovery_journal_state_7_0()
[all …]
/linux-6.14.4/fs/pstore/
Dram_core.c125 struct persistent_ram_buffer *buffer = prz->buffer; in persistent_ram_update_ecc() local
127 uint8_t *block; in persistent_ram_update_ecc() local
150 struct persistent_ram_buffer *buffer = prz->buffer; in persistent_ram_update_header_ecc() local
161 struct persistent_ram_buffer *buffer = prz->buffer; in persistent_ram_ecc_old() local
162 uint8_t *block; in persistent_ram_ecc_old() local
192 struct persistent_ram_buffer *buffer = prz->buffer; in persistent_ram_init_ecc() local
277 struct persistent_ram_buffer *buffer = prz->buffer; in persistent_ram_update() local
285 struct persistent_ram_buffer *buffer = prz->buffer; in persistent_ram_update_user() local
294 struct persistent_ram_buffer *buffer = prz->buffer; in persistent_ram_save_old() local
/linux-6.14.4/crypto/
Dwp512.c40 u8 buffer[WP512_BLOCK_SIZE]; member
785 u64 block[8]; /* mu(buffer) */ in wp512_process_buffer() local
788 const __be64 *buffer = (const __be64 *)wctx->buffer; in wp512_process_buffer() local
1013 u8 *buffer = wctx->buffer; in wp512_update() local
1069 u8 *buffer = wctx->buffer; in wp512_final() local
/linux-6.14.4/fs/bfs/
Ddir.c35 int block; in bfs_readdir() local
273 int block, sblock, eblock, off, pos; in bfs_add_entry() local
310 const char *buffer) in bfs_namecmp()
321 unsigned long block = 0, offset = 0; in bfs_find_entry() local
/linux-6.14.4/block/partitions/
Dldm.c619 static int ldm_relative(const u8 *buffer, int buflen, int base, int offset) in ldm_relative()
655 static u64 ldm_get_vnum (const u8 *block) in ldm_get_vnum()
690 static int ldm_get_vstr (const u8 *block, u8 *buffer, int buflen) in ldm_get_vstr()
718 static bool ldm_parse_cmp3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_cmp3()
768 static int ldm_parse_dgr3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr3()
809 static bool ldm_parse_dgr4 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr4()
847 static bool ldm_parse_dsk3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dsk3()
886 static bool ldm_parse_dsk4 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dsk4()
919 static bool ldm_parse_prt3(const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_prt3()
993 static bool ldm_parse_vol5(const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_vol5()
/linux-6.14.4/fs/gfs2/
Drgrp.c146 const u8 *buffer; in gfs2_testbit() local
277 static int gfs2_rbm_from_block(struct gfs2_rbm *rbm, u64 block) in gfs2_rbm_from_block()
382 u64 block; in gfs2_free_extlen() local
435 static u32 gfs2_bitcount(struct gfs2_rgrpd *rgd, const u8 *buffer, in gfs2_bitcount()
1151 const u8 *buffer = NULL; in count_unlinked() local
1624 static u64 gfs2_next_unreserved_block(struct gfs2_rgrpd *rgd, u64 block, in gfs2_next_unreserved_block()
1680 u64 block = gfs2_rbm_to_block(rbm); in gfs2_reservation_check_and_update() local
1745 u8 *buffer; in gfs2_rbm_find() local
1844 u64 block; in try_rgrp_unlink() local
2232 u64 block; in gfs2_alloc_extent() local
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/
Ddm_services.h165 #define get_reg_field_value_soc15(reg_value, block, reg_num, reg_name, reg_field)\ argument
171 #define set_reg_field_value_soc15(reg_value, value, block, reg_num, reg_name, reg_field)\ argument
257 #define dm_log_to_buffer(buffer, size, fmt, args)\ argument
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c549 char __user *buffer, in rvu_dbg_lmtst_map_table_display()
639 static void get_lf_str_list(const struct rvu_block *block, int pcifunc, in get_lf_str_list()
676 struct rvu_block block; in get_max_column_width() local
708 char __user *buffer, in rvu_dbg_rsrc_attach_status()
714 struct rvu_block block; in rvu_dbg_rsrc_attach_status() local
868 struct rvu_block *block; in rvu_dbg_is_valid_lf() local
962 const char __user *buffer, size_t count, in rvu_dbg_qsize_write()
1014 const char __user *buffer, in rvu_dbg_npa_qsize_write()
1261 const char __user *buffer, int *npalf, in parse_cmd_buffer_ctx()
1299 const char __user *buffer, in rvu_dbg_npa_ctx_write()
[all …]
/linux-6.14.4/drivers/s390/block/
Ddasd.c149 struct dasd_block *block; in dasd_alloc_block() local
174 void dasd_free_block(struct dasd_block *block) in dasd_free_block()
226 struct dasd_block *block = device->block; in dasd_state_known_to_basic() local
310 struct dasd_block *block = device->block; in dasd_state_basic_to_ready() local
388 struct dasd_block *block = device->block; in dasd_state_ready_to_basic() local
654 static void dasd_profile_start(struct dasd_block *block, in dasd_profile_start()
766 static void dasd_profile_end(struct dasd_block *block, in dasd_profile_end()
902 char *buffer; in dasd_get_user_string() local
923 char *buffer, *str; in dasd_stats_write() local
1108 #define dasd_profile_start(block, cqr, req) do {} while (0) argument
[all …]
Ddasd_proc.c34 struct dasd_block *block; in dasd_devices_show() local
258 char *buffer, *str; in dasd_stats_proc_write() local
/linux-6.14.4/drivers/char/hw_random/
Dn2-drv.c114 int block = 0, busy = 0; in n2rng_generic_read_control_v2() local
180 int block = 0, hcheck = 0; in n2rng_generic_read_data() local
227 int block = 0; in n2rng_generic_read_diag_data() local
256 int block = 0, busy = 0; in n2rng_generic_write_control() local
465 u64 *buffer, unsigned long buf_len, in n2rng_entropy_diag_read()
/linux-6.14.4/drivers/mtd/nand/onenand/
Donenand_base.c224 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address()
241 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address()
334 static loff_t flexonenand_addr(struct onenand_chip *this, int block) in flexonenand_addr()
352 loff_t onenand_addr(struct onenand_chip *this, int block) in onenand_addr()
401 int value, block, page; in onenand_command() local
759 unsigned char *buffer, int offset, size_t count) in onenand_read_bufferram()
795 unsigned char *buffer, int offset, size_t count) in onenand_sync_read_bufferram()
835 const unsigned char *buffer, int offset, size_t count) in onenand_write_bufferram()
876 int blockpage, block, page; in onenand_get_2x_blockpage() local
923 int block = onenand_block(this, addr); in onenand_check_bufferram() local
[all …]
/linux-6.14.4/drivers/acpi/acpica/
Ddbdisply.c147 char buffer[80]; in acpi_db_decode_and_display_object() local
732 u32 block = 0; in acpi_db_display_gpes() local
736 char buffer[80]; in acpi_db_display_gpes() local

1234