Home
last modified time | relevance | path

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

/linux-6.1.9/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 = {}; 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()
335 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.c179 struct extent_position epos = {}; in udf_find_entry() local
191 if (inode_bmap(dir, f_pos >> sb->s_blocksize_bits, &epos, in udf_find_entry()
200 epos.offset -= sizeof(struct short_ad); in udf_find_entry()
202 epos.offset -= sizeof(struct long_ad); in udf_find_entry()
220 fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, in udf_find_entry()
291 brelse(epos.bh); in udf_find_entry()
345 struct extent_position epos = {}; in udf_add_entry() local
378 if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, &epos, in udf_add_entry()
388 epos.offset -= sizeof(struct short_ad); in udf_add_entry()
390 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
99 &epos, &eloc, &elen, &offset) in udf_readdir()
107 epos.offset -= sizeof(struct short_ad); in udf_readdir()
110 epos.offset -= sizeof(struct long_ad); in udf_readdir()
150 fi = udf_fileident_read(dir, &nf_pos, &fibh, &cfi, &epos, &eloc, in udf_readdir()
222 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.h165 struct extent_position *epos);
166 extern int __udf_add_aext(struct inode *inode, struct extent_position *epos,
Dsuper.c2477 struct extent_position epos; in udf_count_free_table() local
2480 epos.block = UDF_I(table)->i_location; in udf_count_free_table()
2481 epos.offset = sizeof(struct unallocSpaceEntry); in udf_count_free_table()
2482 epos.bh = NULL; in udf_count_free_table()
2484 while (udf_next_aext(table, &epos, &eloc, &elen, 1) != -1) in udf_count_free_table()
2487 brelse(epos.bh); in udf_count_free_table()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_config.c1377 static int vfio_ext_cap_len(struct vfio_pci_core_device *vdev, u16 ecap, u16 epos) in vfio_ext_cap_len() argument
1386 ret = pci_read_config_dword(pdev, epos + PCI_VSEC_HDR, &dword); in vfio_ext_cap_len()
1394 return vfio_vc_cap_len(vdev, epos); in vfio_ext_cap_len()
1396 ret = pci_read_config_byte(pdev, epos + PCI_ACS_CAP, &byte); in vfio_ext_cap_len()
1404 epos + PCI_ACS_EGRESS_BITS, in vfio_ext_cap_len()
1415 ret = pci_read_config_byte(pdev, epos + PCI_REBAR_CTRL, &byte); in vfio_ext_cap_len()
1424 ret = pci_read_config_byte(pdev, epos + PCI_DPA_CAP, &byte); in vfio_ext_cap_len()
1431 ret = pci_read_config_dword(pdev, epos + PCI_TPH_CAP, &dword); in vfio_ext_cap_len()
1445 __func__, ecap, epos); in vfio_ext_cap_len()
1606 u16 epos; in vfio_ecap_init() local
[all …]
/linux-6.1.9/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-6.1.9/include/linux/
Dbootconfig.h284 int __init xbc_init(const char *buf, size_t size, const char **emsg, int *epos);
/linux-6.1.9/Documentation/devicetree/bindings/arm/omap/
Domap.txt186 compatible = "ti,am43x-epos-evm", "ti,am43", "ti,am438x"
/linux-6.1.9/block/
Dsed-opal.c464 const u8 *epos = dev->resp, *cpos = dev->resp; in opal_discovery0_end() local
477 epos += hlen; /* end of buffer */ in opal_discovery0_end()
480 while (cpos < epos && supported) { in opal_discovery0_end()
/linux-6.1.9/fs/ext4/
Dextents.c4436 loff_t epos; in ext4_alloc_file_blocks() local
4487 epos = (loff_t)map.m_lblk << inode->i_blkbits; in ext4_alloc_file_blocks()
4490 if (epos > new_size) in ext4_alloc_file_blocks()
4491 epos = new_size; in ext4_alloc_file_blocks()
4492 if (ext4_update_inode_size(inode, epos) & 0x1) in ext4_alloc_file_blocks()
/linux-6.1.9/arch/arm/boot/dts/
Dam43x-epos-evm.dts18 compatible = "ti,am43x-epos-evm","ti,am438x","ti,am43";
DMakefile976 am43x-epos-evm.dtb \