Home
last modified time | relevance | path

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

/Linux-v5.10/fs/udf/
Dtruncate.c29 static void extent_trunc(struct inode *inode, struct extent_position *epos, in extent_trunc() argument
50 udf_write_aext(inode, epos, &neloc, nelen, 0); in extent_trunc()
69 struct extent_position epos = {}; in udf_truncate_tail_extent() local
92 while ((netype = udf_next_aext(inode, &epos, &eloc, &elen, 1)) != -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, 1) != -1) in udf_truncate_tail_extent()
118 brelse(epos.bh); in udf_truncate_tail_extent()
123 struct extent_position epos = { NULL, 0, {0, 0} }; in udf_discard_prealloc() local
[all …]
Dballoc.c368 struct extent_position oepos, epos; in udf_table_free_blocks() local
389 epos.offset = oepos.offset = sizeof(struct unallocSpaceEntry); in udf_table_free_blocks()
391 epos.block = oepos.block = iinfo->i_location; in udf_table_free_blocks()
392 epos.bh = oepos.bh = NULL; in udf_table_free_blocks()
395 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks()
435 if (epos.bh != oepos.bh) { in udf_table_free_blocks()
436 oepos.block = epos.block; in udf_table_free_blocks()
438 get_bh(epos.bh); in udf_table_free_blocks()
439 oepos.bh = epos.bh; in udf_table_free_blocks()
442 oepos.offset = epos.offset; in udf_table_free_blocks()
[all …]
Dinode.c76 brelse(iinfo->cached_extent.epos.bh); in __udf_clear_extent_cache()
103 memcpy(pos, &iinfo->cached_extent.epos, in udf_read_extent_cache()
124 memcpy(&iinfo->cached_extent.epos, pos, sizeof(*pos)); in udf_update_extent_cache()
128 iinfo->cached_extent.epos.offset -= sizeof(struct short_ad); in udf_update_extent_cache()
131 iinfo->cached_extent.epos.offset -= sizeof(struct long_ad); in udf_update_extent_cache()
334 struct extent_position epos; in udf_expand_dir_adinicb() local
407 epos.bh = NULL; in udf_expand_dir_adinicb()
408 epos.block = iinfo->i_location; in udf_expand_dir_adinicb()
409 epos.offset = udf_file_entry_alloc_offset(inode); in udf_expand_dir_adinicb()
410 udf_add_aext(inode, &epos, &eloc, inode->i_size, 0); in udf_expand_dir_adinicb()
[all …]
Dnamei.c177 struct extent_position epos = {}; in udf_find_entry() local
189 if (inode_bmap(dir, f_pos >> sb->s_blocksize_bits, &epos, in udf_find_entry()
198 epos.offset -= sizeof(struct short_ad); in udf_find_entry()
200 epos.offset -= sizeof(struct long_ad); in udf_find_entry()
218 fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, in udf_find_entry()
289 brelse(epos.bh); in udf_find_entry()
343 struct extent_position epos = {}; in udf_add_entry() local
376 if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, &epos, in udf_add_entry()
386 epos.offset -= sizeof(struct short_ad); in udf_add_entry()
388 epos.offset -= sizeof(struct long_ad); in udf_add_entry()
[all …]
Ddirectory.c24 struct extent_position *epos, in udf_fileident_read() argument
55 uint32_t lextoffset = epos->offset; in udf_fileident_read()
58 if (udf_next_aext(dir, epos, eloc, elen, 1) != in udf_fileident_read()
69 epos->offset = lextoffset; in udf_fileident_read()
114 uint32_t lextoffset = epos->offset; in udf_fileident_read()
116 if (udf_next_aext(dir, epos, eloc, elen, 1) != in udf_fileident_read()
127 epos->offset = lextoffset; in udf_fileident_read()
Ddir.c59 struct extent_position epos = { NULL, 0, {0, 0} }; in udf_readdir() local
83 &epos, &eloc, &elen, &offset) in udf_readdir()
91 epos.offset -= sizeof(struct short_ad); in udf_readdir()
94 epos.offset -= sizeof(struct long_ad); in udf_readdir()
129 fi = udf_fileident_read(dir, &nf_pos, &fibh, &cfi, &epos, &eloc, in udf_readdir()
195 brelse(epos.bh); in udf_readdir()
Dpartition.c288 struct extent_position epos = {}; in udf_try_read_meta() local
291 if (inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset) != in udf_try_read_meta()
302 brelse(epos.bh); in udf_try_read_meta()
Dudf_i.h13 struct extent_position epos; member
Dudfdecl.h161 struct extent_position *epos);
162 extern int __udf_add_aext(struct inode *inode, struct extent_position *epos,
Dsuper.c2482 struct extent_position epos; in udf_count_free_table() local
2485 epos.block = UDF_I(table)->i_location; in udf_count_free_table()
2486 epos.offset = sizeof(struct unallocSpaceEntry); in udf_count_free_table()
2487 epos.bh = NULL; in udf_count_free_table()
2489 while ((etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) in udf_count_free_table()
2492 brelse(epos.bh); in udf_count_free_table()
/Linux-v5.10/drivers/vfio/pci/
Dvfio_pci_config.c1341 static int vfio_ext_cap_len(struct vfio_pci_device *vdev, u16 ecap, u16 epos) in vfio_ext_cap_len() argument
1350 ret = pci_read_config_dword(pdev, epos + PCI_VSEC_HDR, &dword); in vfio_ext_cap_len()
1358 return vfio_vc_cap_len(vdev, epos); in vfio_ext_cap_len()
1360 ret = pci_read_config_byte(pdev, epos + PCI_ACS_CAP, &byte); in vfio_ext_cap_len()
1368 epos + PCI_ACS_EGRESS_BITS, in vfio_ext_cap_len()
1379 ret = pci_read_config_byte(pdev, epos + PCI_REBAR_CTRL, &byte); in vfio_ext_cap_len()
1388 ret = pci_read_config_byte(pdev, epos + PCI_DPA_CAP, &byte); in vfio_ext_cap_len()
1395 ret = pci_read_config_dword(pdev, epos + PCI_TPH_CAP, &dword); in vfio_ext_cap_len()
1409 __func__, ecap, epos); in vfio_ext_cap_len()
1556 u16 epos; in vfio_ecap_init() local
[all …]
/Linux-v5.10/lib/
Dbootconfig.c774 int __init xbc_init(char *buf, const char **emsg, int *epos) in xbc_init() argument
779 if (epos) in xbc_init()
780 *epos = -1; in xbc_init()
854 if (epos) in xbc_init()
855 *epos = xbc_err_pos; in xbc_init()
/Linux-v5.10/include/linux/
Dbootconfig.h222 int __init xbc_init(char *buf, const char **emsg, int *epos);
/Linux-v5.10/Documentation/devicetree/bindings/arm/omap/
Domap.txt183 compatible = "ti,am43x-epos-evm", "ti,am43", "ti,am438x"
/Linux-v5.10/block/
Dsed-opal.c433 const u8 *epos = dev->resp, *cpos = dev->resp; in opal_discovery0_end() local
446 epos += hlen; /* end of buffer */ in opal_discovery0_end()
449 while (cpos < epos && supported) { in opal_discovery0_end()
/Linux-v5.10/fs/ext4/
Dextents.c4391 loff_t epos; in ext4_alloc_file_blocks() local
4438 epos = (loff_t)map.m_lblk << inode->i_blkbits; in ext4_alloc_file_blocks()
4441 if (epos > new_size) in ext4_alloc_file_blocks()
4442 epos = new_size; in ext4_alloc_file_blocks()
4443 if (ext4_update_inode_size(inode, epos) & 0x1) in ext4_alloc_file_blocks()
/Linux-v5.10/arch/arm/boot/dts/
Dam43x-epos-evm.dts18 compatible = "ti,am43x-epos-evm","ti,am438x","ti,am43";
DMakefile838 am43x-epos-evm.dtb \