Home
last modified time | relevance | path

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

/Linux-v6.6/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
88 while ((netype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -1) { in udf_truncate_tail_extent()
101 epos.offset -= adsize; in udf_truncate_tail_extent()
102 extent_trunc(inode, &epos, &eloc, etype, elen, nelen); in udf_truncate_tail_extent()
103 epos.offset += adsize; in udf_truncate_tail_extent()
104 if (udf_next_aext(inode, &epos, &eloc, &elen, 1) != -1) in udf_truncate_tail_extent()
114 brelse(epos.bh); in udf_truncate_tail_extent()
119 struct extent_position epos = {}; in udf_discard_prealloc() local
[all …]
Dballoc.c387 struct extent_position oepos, epos; in udf_table_free_blocks() local
408 epos.offset = oepos.offset = sizeof(struct unallocSpaceEntry); in udf_table_free_blocks()
410 epos.block = oepos.block = iinfo->i_location; in udf_table_free_blocks()
411 epos.bh = oepos.bh = NULL; in udf_table_free_blocks()
414 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks()
454 if (epos.bh != oepos.bh) { in udf_table_free_blocks()
455 oepos.block = epos.block; in udf_table_free_blocks()
457 get_bh(epos.bh); in udf_table_free_blocks()
458 oepos.bh = epos.bh; in udf_table_free_blocks()
461 oepos.offset = epos.offset; in udf_table_free_blocks()
[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()
421 struct extent_position epos = {}; in udf_map_block() local
424 if (inode_bmap(inode, map->lblk, &epos, &eloc, &elen, &offset) in udf_map_block()
431 brelse(epos.bh); in udf_map_block()
636 struct extent_position epos; in udf_extend_file() local
663 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_extend_file()
[all …]
Dnamei.c140 struct extent_position epos; in udf_expand_dir_adinicb() local
187 epos.bh = NULL; in udf_expand_dir_adinicb()
188 epos.block = iinfo->i_location; in udf_expand_dir_adinicb()
189 epos.offset = udf_file_entry_alloc_offset(inode); in udf_expand_dir_adinicb()
190 ret = udf_add_aext(inode, &epos, &eloc, inode->i_size, 0); in udf_expand_dir_adinicb()
191 brelse(epos.bh); in udf_expand_dir_adinicb()
576 struct extent_position epos = {}; in udf_symlink() local
610 epos.block = iinfo->i_location; in udf_symlink()
611 epos.offset = udf_file_entry_alloc_offset(inode); in udf_symlink()
612 epos.bh = NULL; in udf_symlink()
[all …]
Ddirectory.c174 if (udf_next_aext(iter->dir, &iter->epos, &iter->eloc, &iter->elen, 1) in udf_fiiter_advance_blk()
248 iter->epos.bh = NULL; in udf_fiiter_init()
262 if (inode_bmap(dir, iter->pos >> dir->i_blkbits, &iter->epos, in udf_fiiter_init()
443 iter->epos.offset -= sizeof(struct short_ad); in udf_fiiter_update_elen()
445 iter->epos.offset -= sizeof(struct long_ad); in udf_fiiter_update_elen()
446 udf_write_aext(iter->dir, &iter->epos, &iter->eloc, iter->elen, 1); in udf_fiiter_update_elen()
474 if (inode_bmap(iter->dir, block, &iter->epos, &iter->eloc, &iter->elen, in udf_fiiter_append_blk()
Dudfdecl.h95 struct extent_position epos; /* Position after the above extent */ member
164 struct extent_position *epos);
165 extern int __udf_add_aext(struct inode *inode, struct extent_position *epos,
Dpartition.c283 struct extent_position epos = {}; in udf_try_read_meta() local
286 if (inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset) != in udf_try_read_meta()
297 brelse(epos.bh); in udf_try_read_meta()
Dudf_i.h13 struct extent_position epos; member
Dsuper.c2440 struct extent_position epos; in udf_count_free_table() local
2443 epos.block = UDF_I(table)->i_location; in udf_count_free_table()
2444 epos.offset = sizeof(struct unallocSpaceEntry); in udf_count_free_table()
2445 epos.bh = NULL; in udf_count_free_table()
2447 while (udf_next_aext(table, &epos, &eloc, &elen, 1) != -1) in udf_count_free_table()
2450 brelse(epos.bh); in udf_count_free_table()
/Linux-v6.6/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-v6.6/lib/
Dbootconfig.c933 int __init xbc_init(const char *data, size_t size, const char **emsg, int *epos) in xbc_init() argument
937 if (epos) in xbc_init()
938 *epos = -1; in xbc_init()
976 if (epos) in xbc_init()
977 *epos = xbc_err_pos; in xbc_init()
/Linux-v6.6/include/linux/
Dbootconfig.h284 int __init xbc_init(const char *buf, size_t size, const char **emsg, int *epos);
/Linux-v6.6/Documentation/devicetree/bindings/arm/omap/
Domap.txt93 compatible = "ti,am43x-epos-evm", "ti,am43", "ti,am438x"
/Linux-v6.6/arch/arm/boot/dts/ti/omap/
DMakefile122 am43x-epos-evm.dtb \
Dam43x-epos-evm.dts18 compatible = "ti,am43x-epos-evm","ti,am438x","ti,am43";
/Linux-v6.6/block/
Dsed-opal.c573 const u8 *epos = dev->resp, *cpos = dev->resp; in opal_discovery0_end() local
595 epos += hlen; /* end of buffer */ in opal_discovery0_end()
598 while (cpos < epos && supported) { in opal_discovery0_end()
/Linux-v6.6/fs/ext4/
Dextents.c4427 loff_t epos; in ext4_alloc_file_blocks() local
4478 epos = (loff_t)map.m_lblk << inode->i_blkbits; in ext4_alloc_file_blocks()
4481 if (epos > new_size) in ext4_alloc_file_blocks()
4482 epos = new_size; in ext4_alloc_file_blocks()
4483 if (ext4_update_inode_size(inode, epos) & 0x1) in ext4_alloc_file_blocks()