Home
last modified time | relevance | path

Searched refs:eloc (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/fs/udf/
H A Dtruncate.c26 struct kernel_lb_addr *eloc, int8_t etype, uint32_t elen, in extent_trunc() argument
37 udf_free_blocks(inode->i_sb, inode, eloc, 0, in extent_trunc()
41 neloc = *eloc; in extent_trunc()
52 udf_free_blocks(inode->i_sb, inode, eloc, in extent_trunc()
66 struct kernel_lb_addr eloc; in udf_truncate_tail_extent() local
90 ret = udf_next_aext(inode, &epos, &eloc, &elen, &netype, 1); in udf_truncate_tail_extent()
102 (unsigned)eloc.logicalBlockNum, in udf_truncate_tail_extent()
106 extent_trunc(inode, &epos, &eloc, etype, elen, nelen); in udf_truncate_tail_extent()
108 if (udf_next_aext(inode, &epos, &eloc, &elen, in udf_truncate_tail_extent()
127 struct kernel_lb_addr eloc; in udf_discard_prealloc() local
[all …]
H A Dballoc.c386 struct kernel_lb_addr eloc; in udf_table_free_blocks() local
405 ret = udf_next_aext(table, &epos, &eloc, &elen, &etype, 1); in udf_table_free_blocks()
410 if (((eloc.logicalBlockNum + in udf_table_free_blocks()
427 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
428 } else if (eloc.logicalBlockNum == (end + 1)) { in udf_table_free_blocks()
435 eloc.logicalBlockNum -= tmp; in udf_table_free_blocks()
439 eloc.logicalBlockNum = start; in udf_table_free_blocks()
446 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
476 eloc.logicalBlockNum = start; in udf_table_free_blocks()
489 udf_setup_indirect_aext(table, eloc.logicalBlockNum, in udf_table_free_blocks()
[all …]
H A Dinode.c419 struct kernel_lb_addr eloc; in udf_map_block() local
426 ret = inode_bmap(inode, map->lblk, &epos, &eloc, &elen, &offset, in udf_map_block()
431 map->pblk = udf_get_lb_pblock(inode->i_sb, &eloc, in udf_map_block()
649 struct kernel_lb_addr eloc; in udf_extend_file() local
675 err = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset, &etype); in udf_extend_file()
727 struct kernel_lb_addr eloc, tmpeloc; in inode_getblk() local
768 ret = udf_next_aext(inode, &next_epos, &eloc, &elen, &etype, 1); in inode_getblk()
779 laarr[c].extLocation = eloc; in inode_getblk()
782 pgoal = eloc.logicalBlockNum + in inode_getblk()
813 udf_write_aext(inode, &cur_epos, &eloc, elen, 1); in inode_getblk()
[all …]
H A Dudfdecl.h91 struct kernel_lb_addr eloc; /* Start of extent containing 'pos' */ member
161 struct extent_position *pos, struct kernel_lb_addr *eloc,
167 struct kernel_lb_addr *eloc, uint32_t elen, int inc);
174 struct kernel_lb_addr *eloc, uint32_t *elen,
177 struct kernel_lb_addr *eloc, uint32_t *elen,
H A Dnamei.c139 struct kernel_lb_addr eloc; in udf_expand_dir_adinicb() local
183 eloc.logicalBlockNum = *block; in udf_expand_dir_adinicb()
184 eloc.partitionReferenceNum = in udf_expand_dir_adinicb()
190 ret = udf_add_aext(inode, &epos, &eloc, inode->i_size, 0); in udf_expand_dir_adinicb()
194 udf_free_blocks(inode->i_sb, inode, &eloc, 0, 1); in udf_expand_dir_adinicb()
278 block = iter->eloc.logicalBlockNum + in udf_fiiter_add_entry()
296 block = iter->eloc.logicalBlockNum + in udf_fiiter_add_entry()
606 struct kernel_lb_addr eloc; in udf_symlink() local
617 eloc.logicalBlockNum = block; in udf_symlink()
618 eloc.partitionReferenceNum = in udf_symlink()
[all …]
H A Ddirectory.c139 blk = udf_get_lb_pblock(iter->dir->i_sb, &iter->eloc, in udf_readahead_dir()
159 blk = udf_get_lb_pblock(iter->dir->i_sb, &iter->eloc, iter->loffset); in udf_fiiter_bread_blk()
177 err = udf_next_aext(iter->dir, &iter->epos, &iter->eloc, in udf_fiiter_advance_blk()
270 &iter->eloc, &iter->elen, &iter->loffset, &etype); in udf_fiiter_init()
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()
H A Dpartition.c280 struct kernel_lb_addr eloc; in udf_try_read_meta() local
288 err = inode_bmap(inode, block, &epos, &eloc, &elen, &ext_offset, &etype); in udf_try_read_meta()
294 phyblock = udf_get_pblock(sb, eloc.logicalBlockNum, in udf_try_read_meta()
H A Dsuper.c2455 struct kernel_lb_addr eloc; in udf_count_free_table() local
2464 while (udf_next_aext(table, &epos, &eloc, &elen, &etype, 1) > 0) in udf_count_free_table()
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Denum-attributes.c137 int eloc; in hp_populate_enumeration_elements_from_package() local
140 for (elem = 1, eloc = 1; elem < enum_obj_count; elem++, eloc++) { in hp_populate_enumeration_elements_from_package()
142 if (eloc == ENUM_ELEM_CNT) in hp_populate_enumeration_elements_from_package()
164 if (expected_enum_types[eloc] != enum_obj[elem].type) { in hp_populate_enumeration_elements_from_package()
166 expected_enum_types[eloc], elem, enum_obj[elem].type); in hp_populate_enumeration_elements_from_package()
172 switch (eloc) { in hp_populate_enumeration_elements_from_package()
207 eloc++; in hp_populate_enumeration_elements_from_package()
256 eloc++; in hp_populate_enumeration_elements_from_package()
H A Dorder-list-attributes.c141 int eloc; in hp_populate_ordered_list_elements_from_package() local
151 for (elem = 1, eloc = 1; eloc < ORD_ELEM_CNT; elem++, eloc++) { in hp_populate_ordered_list_elements_from_package()
172 if (expected_order_types[eloc] != order_obj[elem].type) { in hp_populate_ordered_list_elements_from_package()
174 expected_order_types[eloc], elem, order_obj[elem].type); in hp_populate_ordered_list_elements_from_package()
180 switch (eloc) { in hp_populate_ordered_list_elements_from_package()
217 eloc++; in hp_populate_ordered_list_elements_from_package()
258 eloc++; in hp_populate_ordered_list_elements_from_package()
H A Dstring-attributes.c139 int eloc; in hp_populate_string_elements_from_package() local
146 for (elem = 1, eloc = 1; elem < string_obj_count; elem++, eloc++) { in hp_populate_string_elements_from_package()
148 if (eloc == STR_ELEM_CNT) in hp_populate_string_elements_from_package()
171 if (expected_string_types[eloc] != string_obj[elem].type) { in hp_populate_string_elements_from_package()
173 expected_string_types[eloc], elem, string_obj[elem].type); in hp_populate_string_elements_from_package()
179 switch (eloc) { in hp_populate_string_elements_from_package()
215 eloc++; in hp_populate_string_elements_from_package()
H A Dint-attributes.c149 int eloc; in hp_populate_integer_elements_from_package() local
156 for (elem = 1, eloc = 1; elem < integer_obj_count; elem++, eloc++) { in hp_populate_integer_elements_from_package()
158 if (eloc == INT_ELEM_CNT) in hp_populate_integer_elements_from_package()
179 if (expected_integer_types[eloc] != integer_obj[elem].type) { in hp_populate_integer_elements_from_package()
181 expected_integer_types[eloc], elem, integer_obj[elem].type); in hp_populate_integer_elements_from_package()
186 switch (eloc) { in hp_populate_integer_elements_from_package()
225 eloc++; in hp_populate_integer_elements_from_package()
H A Dpasswdobj-attributes.c233 int eloc; in hp_populate_password_elements_from_package() local
240 for (elem = 1, eloc = 1; elem < password_obj_count; elem++, eloc++) { in hp_populate_password_elements_from_package()
242 if (eloc == PSWD_ELEM_CNT) in hp_populate_password_elements_from_package()
264 if (expected_password_types[eloc] != password_obj[elem].type) { in hp_populate_password_elements_from_package()
266 expected_password_types[eloc], elem, password_obj[elem].type); in hp_populate_password_elements_from_package()
272 switch (eloc) { in hp_populate_password_elements_from_package()
305 eloc++; in hp_populate_password_elements_from_package()
352 eloc++; in hp_populate_password_elements_from_package()