Home
last modified time | relevance | path

Searched refs:block_len (Results 1 – 8 of 8) sorted by relevance

/system/extras/ext4_utils/
Dindirect.c167 struct block_allocation *alloc, u32 *block_len) in inode_attach_direct_blocks() argument
169 int len = min(*block_len, EXT4_NDIR_BLOCKS); in inode_attach_direct_blocks()
181 *block_len -= len; in inode_attach_direct_blocks()
190 struct block_allocation *alloc, u32 *block_len) in inode_attach_indirect_blocks() argument
192 int len = min(*block_len, aux_info.blocks_per_ind); in inode_attach_indirect_blocks()
213 *block_len -= len; in inode_attach_indirect_blocks()
222 struct block_allocation *alloc, u32 *block_len) in inode_attach_dindirect_blocks() argument
224 int len = min(*block_len, aux_info.blocks_per_dind); in inode_attach_dindirect_blocks()
245 *block_len -= len; in inode_attach_dindirect_blocks()
254 struct block_allocation *alloc, u32 *block_len) in inode_attach_tindirect_blocks() argument
[all …]
Dextent.c77 u32 block_len = DIV_ROUND_UP(len, info.block_size), prealloc_block_len; in do_inode_allocate_extents() local
85 alloc = allocate_blocks(block_len + 1); in do_inode_allocate_extents()
87 error("Failed to allocate %d blocks\n", block_len + 1); in do_inode_allocate_extents()
92 if (block_len + 1 > prealloc_block_len) { in do_inode_allocate_extents()
93 alloc = allocate_blocks(block_len + 1 - prealloc_block_len); in do_inode_allocate_extents()
96 block_len + 1 - prealloc_block_len); in do_inode_allocate_extents()
182 block_len += 1; in do_inode_allocate_extents()
184 blocks = (u64)block_len * info.block_size / 512; in do_inode_allocate_extents()
/system/bt/bta/av/
Dbta_av_sbc.c460 if (peer_cie.block_len & p_pref->block_len) in bta_av_sbc_cfg_for_cap()
462 peer_cie.block_len = p_pref->block_len; in bta_av_sbc_cfg_for_cap()
466 … APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: block_len(0x%02X) not supported", p_pref->block_len); in bta_av_sbc_cfg_for_cap()
538 APPL_TRACE_DEBUG(" BLOCK_LEN peer: 0%x, capability 0%x", cfg_cie.block_len, p_cap->block_len); in bta_av_sbc_cfg_matches_cap()
555 else if ((cfg_cie.block_len & p_cap->block_len) == 0) in bta_av_sbc_cfg_matches_cap()
619 else if ((cfg_cie.block_len & p_cap->block_len) == 0) in bta_av_sbc_cfg_in_cap()
/system/bt/stack/a2dp/
Da2d_sbc.c59 (p_ie->block_len & ~A2D_SBC_IE_BLOCKS_MSK) || in A2D_BldSbcInfo()
81 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_mthd; in A2D_BldSbcInfo()
127 p_ie->block_len = *p_info & A2D_SBC_IE_BLOCKS_MSK; in A2D_ParsSbcInfo()
147 if (A2D_BitsSet(p_ie->block_len) != A2D_SET_ONE_BIT) in A2D_ParsSbcInfo()
/system/bt/stack/include/
Da2d_sbc.h81 UINT8 block_len; /* Block length */ member
/system/bt/btif/co/
Dbta_av_co.c420 if (src_cap.block_len & A2D_SBC_IE_BLOCKS_16) in bta_av_build_src_cfg()
421 pref_cap.block_len = A2D_SBC_IE_BLOCKS_16; in bta_av_build_src_cfg()
422 else if (src_cap.block_len & A2D_SBC_IE_BLOCKS_12) in bta_av_build_src_cfg()
423 pref_cap.block_len = A2D_SBC_IE_BLOCKS_12; in bta_av_build_src_cfg()
424 else if (src_cap.block_len & A2D_SBC_IE_BLOCKS_8) in bta_av_build_src_cfg()
425 pref_cap.block_len = A2D_SBC_IE_BLOCKS_8; in bta_av_build_src_cfg()
426 else if (src_cap.block_len & A2D_SBC_IE_BLOCKS_4) in bta_av_build_src_cfg()
427 pref_cap.block_len = A2D_SBC_IE_BLOCKS_4; in bta_av_build_src_cfg()
/system/core/libsparse/
Dbacked_block.c194 unsigned int block_len; in merge_bb() local
209 block_len = a->len / bbl->block_size; /* rounds down */ in merge_bb()
210 if (a->block + block_len != b->block) { in merge_bb()
/system/bt/btif/src/
Dbtif_media_task.c803 msg.NumOfBlocks = codec_block_tbl[sbc_config.block_len >> 5]; in btif_a2dp_encoder_init()
2325 switch (sbc_cie.block_len) in btif_media_task_aa_handle_decoder_reset()
2328 APPL_TRACE_DEBUG("\tblock_len:%d (4)", sbc_cie.block_len); in btif_media_task_aa_handle_decoder_reset()
2332 APPL_TRACE_DEBUG("\tblock_len:%d (8)", sbc_cie.block_len); in btif_media_task_aa_handle_decoder_reset()
2336 APPL_TRACE_DEBUG("\tblock_len:%d (12)", sbc_cie.block_len); in btif_media_task_aa_handle_decoder_reset()
2340 APPL_TRACE_DEBUG("\tblock_len:%d (16)", sbc_cie.block_len); in btif_media_task_aa_handle_decoder_reset()
3198 if (sbc_cie.block_len == A2D_SBC_IE_BLOCKS_4) in dump_codec_info()
3199 { APPL_TRACE_DEBUG("\tblock_len:%d (4)", sbc_cie.block_len);} in dump_codec_info()
3200 else if (sbc_cie.block_len == A2D_SBC_IE_BLOCKS_8) in dump_codec_info()
3201 { APPL_TRACE_DEBUG("\tblock_len:%d (8)", sbc_cie.block_len);} in dump_codec_info()
[all …]