Home
last modified time | relevance | path

Searched refs:epos (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/fs/udf/
Dtruncate.c25 static void extent_trunc(struct inode *inode, struct extent_position *epos, in extent_trunc() argument
46 udf_write_aext(inode, epos, &neloc, nelen, 0); in extent_trunc()
65 struct extent_position epos = {}; in udf_truncate_tail_extent() local
90 ret = udf_next_aext(inode, &epos, &eloc, &elen, &netype, 1); in udf_truncate_tail_extent()
105 epos.offset -= adsize; in udf_truncate_tail_extent()
106 extent_trunc(inode, &epos, &eloc, etype, elen, nelen); in udf_truncate_tail_extent()
107 epos.offset += adsize; in udf_truncate_tail_extent()
108 if (udf_next_aext(inode, &epos, &eloc, &elen, in udf_truncate_tail_extent()
120 brelse(epos.bh); in udf_truncate_tail_extent()
125 struct extent_position epos = {}; in udf_discard_prealloc() local
[all …]
Dinode.c75 brelse(iinfo->cached_extent.epos.bh); in __udf_clear_extent_cache()
102 memcpy(pos, &iinfo->cached_extent.epos, in udf_read_extent_cache()
123 memcpy(&iinfo->cached_extent.epos, pos, sizeof(*pos)); in udf_update_extent_cache()
127 iinfo->cached_extent.epos.offset -= sizeof(struct short_ad); in udf_update_extent_cache()
130 iinfo->cached_extent.epos.offset -= sizeof(struct long_ad); in udf_update_extent_cache()
418 struct extent_position epos = {}; in udf_map_block() local
422 ret = inode_bmap(inode, map->lblk, &epos, &eloc, &elen, &offset, in udf_map_block()
434 brelse(epos.bh); in udf_map_block()
644 struct extent_position epos; in udf_extend_file() local
671 err = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset, &etype); in udf_extend_file()
[all …]
Dballoc.c370 struct extent_position oepos, epos; in udf_table_free_blocks() local
382 epos.offset = oepos.offset = sizeof(struct unallocSpaceEntry); in udf_table_free_blocks()
384 epos.block = oepos.block = iinfo->i_location; in udf_table_free_blocks()
385 epos.bh = oepos.bh = NULL; in udf_table_free_blocks()
388 ret = udf_next_aext(table, &epos, &eloc, &elen, &etype, 1); in udf_table_free_blocks()
432 if (epos.bh != oepos.bh) { in udf_table_free_blocks()
433 oepos.block = epos.block; in udf_table_free_blocks()
435 get_bh(epos.bh); in udf_table_free_blocks()
436 oepos.bh = epos.bh; in udf_table_free_blocks()
439 oepos.offset = epos.offset; in udf_table_free_blocks()
[all …]
Dnamei.c138 struct extent_position epos; in udf_expand_dir_adinicb() local
185 epos.bh = NULL; in udf_expand_dir_adinicb()
186 epos.block = iinfo->i_location; in udf_expand_dir_adinicb()
187 epos.offset = udf_file_entry_alloc_offset(inode); in udf_expand_dir_adinicb()
188 ret = udf_add_aext(inode, &epos, &eloc, inode->i_size, 0); in udf_expand_dir_adinicb()
189 brelse(epos.bh); in udf_expand_dir_adinicb()
572 struct extent_position epos = {}; in udf_symlink() local
609 epos.block = iinfo->i_location; in udf_symlink()
610 epos.offset = udf_file_entry_alloc_offset(inode); in udf_symlink()
611 epos.bh = NULL; in udf_symlink()
[all …]
Dudfdecl.h95 struct extent_position epos; /* Position after the above extent */ member
165 struct extent_position *epos);
166 extern int __udf_add_aext(struct inode *inode, struct extent_position *epos,
173 extern int udf_next_aext(struct inode *inode, struct extent_position *epos,
176 extern int udf_current_aext(struct inode *inode, struct extent_position *epos,
Ddirectory.c177 err = udf_next_aext(iter->dir, &iter->epos, &iter->eloc, in udf_fiiter_advance_blk()
255 iter->epos.bh = NULL; in udf_fiiter_init()
269 err = inode_bmap(dir, iter->pos >> dir->i_blkbits, &iter->epos, in udf_fiiter_init()
450 iter->epos.offset -= sizeof(struct short_ad); in udf_fiiter_update_elen()
452 iter->epos.offset -= sizeof(struct long_ad); in udf_fiiter_update_elen()
453 udf_write_aext(iter->dir, &iter->epos, &iter->eloc, iter->elen, 1); in udf_fiiter_update_elen()
482 err = inode_bmap(iter->dir, block, &iter->epos, &iter->eloc, &iter->elen, in udf_fiiter_append_blk()
Dpartition.c283 struct extent_position epos = {}; in udf_try_read_meta() local
288 err = inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset, &etype); in udf_try_read_meta()
299 brelse(epos.bh); in udf_try_read_meta()
Dudf_i.h13 struct extent_position epos; member
Dsuper.c2484 struct extent_position epos; in udf_count_free_table() local
2488 epos.block = UDF_I(table)->i_location; in udf_count_free_table()
2489 epos.offset = sizeof(struct unallocSpaceEntry); in udf_count_free_table()
2490 epos.bh = NULL; in udf_count_free_table()
2492 while (udf_next_aext(table, &epos, &eloc, &elen, &etype, 1) > 0) in udf_count_free_table()
2495 brelse(epos.bh); in udf_count_free_table()
/linux-6.12.1/drivers/vfio/pci/
Dvfio_pci_config.c1379 static int vfio_ext_cap_len(struct vfio_pci_core_device *vdev, u16 ecap, u16 epos) in vfio_ext_cap_len() argument
1388 ret = pci_read_config_dword(pdev, epos + PCI_VSEC_HDR, &dword); in vfio_ext_cap_len()
1396 return vfio_vc_cap_len(vdev, epos); in vfio_ext_cap_len()
1398 ret = pci_read_config_byte(pdev, epos + PCI_ACS_CAP, &byte); in vfio_ext_cap_len()
1406 epos + PCI_ACS_EGRESS_BITS, in vfio_ext_cap_len()
1417 ret = pci_read_config_byte(pdev, epos + PCI_REBAR_CTRL, &byte); in vfio_ext_cap_len()
1426 ret = pci_read_config_byte(pdev, epos + PCI_DPA_CAP, &byte); in vfio_ext_cap_len()
1433 ret = pci_read_config_dword(pdev, epos + PCI_TPH_CAP, &dword); in vfio_ext_cap_len()
1446 ret = pci_read_config_dword(pdev, epos + PCI_DVSEC_HEADER1, &dword); in vfio_ext_cap_len()
1452 __func__, ecap, epos); in vfio_ext_cap_len()
[all …]
/linux-6.12.1/lib/
Dbootconfig.c935 int __init xbc_init(const char *data, size_t size, const char **emsg, int *epos) in xbc_init() argument
939 if (epos) in xbc_init()
940 *epos = -1; in xbc_init()
978 if (epos) in xbc_init()
979 *epos = xbc_err_pos; in xbc_init()
/linux-6.12.1/include/linux/
Dbootconfig.h285 int __init xbc_init(const char *buf, size_t size, const char **emsg, int *epos);
/linux-6.12.1/Documentation/devicetree/bindings/arm/omap/
Domap.txt93 compatible = "ti,am43x-epos-evm", "ti,am43", "ti,am438x"
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
DMakefile124 am43x-epos-evm.dtb \
Dam43x-epos-evm.dts18 compatible = "ti,am43x-epos-evm","ti,am438x","ti,am43";
/linux-6.12.1/block/
Dsed-opal.c574 const u8 *epos = dev->resp, *cpos = dev->resp; in opal_discovery0_end() local
596 epos += hlen; /* end of buffer */ in opal_discovery0_end()
599 while (cpos < epos && supported) { in opal_discovery0_end()
/linux-6.12.1/fs/ext4/
Dextents.c4485 loff_t epos; in ext4_alloc_file_blocks() local
4536 epos = (loff_t)map.m_lblk << inode->i_blkbits; in ext4_alloc_file_blocks()
4539 if (epos > new_size) in ext4_alloc_file_blocks()
4540 epos = new_size; in ext4_alloc_file_blocks()
4541 if (ext4_update_inode_size(inode, epos) & 0x1) in ext4_alloc_file_blocks()