Home
last modified time | relevance | path

Searched defs:sb (Results 1 – 25 of 32) sorted by relevance

12

/system/core/libutils/
DSharedBuffer.cpp37 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size)); in alloc() local
58 SharedBuffer* sb = alloc(mSize); in edit() local
82 SharedBuffer* sb = alloc(newSize); in editResize() local
102 SharedBuffer* sb = alloc(new_size); in reset() local
DVectorImpl.cpp89 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in editArrayImpl() local
342 SharedBuffer* sb = SharedBuffer::alloc(new_allocation_size); in setCapacity() local
367 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in release_storage() local
413 SharedBuffer* sb = cur_sb->editResize(new_alloc_size); in _grow() local
420 SharedBuffer* sb = SharedBuffer::alloc(new_alloc_size); in _grow() local
480 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _shrink() local
487 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); in _shrink() local
DBasicHashtable.cpp84 SharedBuffer* sb = SharedBuffer::bufferFromData(mBuckets); in clear() local
247 SharedBuffer* sb = SharedBuffer::alloc(bytes); in allocateBuckets() local
259 SharedBuffer* sb = SharedBuffer::bufferFromData(buckets); in releaseBuckets() local
/system/extras/ext4_utils/
Dext4_utils.c99 void read_sb(int fd, struct ext4_super_block *sb) in read_sb()
115 void write_sb(int fd, unsigned long long offset, struct ext4_super_block *sb) in write_sb()
194 struct ext4_super_block *sb = aux_info.sb; in ext4_fill_in_sb() local
312 void ext4_parse_sb_info(struct ext4_super_block *sb) in ext4_parse_sb_info()
504 struct ext4_super_block sb; in read_ext() local
Dext4_sb.c21 int ext4_parse_sb(struct ext4_super_block *sb, struct fs_info *info) in ext4_parse_sb()
Dext4.h362 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & EXT4_MOUNT_##opt) argument
453 #define EXT4_SB(sb) (sb) argument
471 #define EXT4_HAS_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask… argument
472 #define EXT4_HAS_RO_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le3… argument
473 #define EXT4_HAS_INCOMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(… argument
474 #define EXT4_SET_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) argument
475 #define EXT4_SET_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32… argument
476 #define EXT4_SET_INCOMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(m… argument
477 #define EXT4_CLEAR_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(ma… argument
478 #define EXT4_CLEAR_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_l… argument
[all …]
Dext4fixup.c120 struct ext4_super_block sb; in set_fs_fixup_state() local
267 struct ext4_super_block sb; in update_superblocks_and_bg_desc() local
/system/extras/tests/fstest/
Drecovery_test.cpp80 bool getSuperBlock(const int blk_fd, struct ext4_super_block* sb) { in getSuperBlock()
101 struct ext4_super_block sb; in setSbErrorBit() local
131 struct ext4_super_block sb; in corruptGdtFreeBlock() local
315 struct ext4_super_block sb; in TEST_F() local
/system/core/toolbox/upstream-netbsd/bin/ln/
Dln.c73 struct stat sb; in main() local
155 struct stat sb; in linkit() local
/system/core/toolbox/
Dload_policy.c14 struct stat sb; in load_policy_main() local
Dinsmod.c17 struct stat sb; in read_file() local
Ddynarray.c91 const char *sb = *(const char **)b; in strlist_compare_strings() local
/system/core/libcutils/
Dfs.c42 struct stat sb; in fs_prepare_dir() local
156 struct stat sb; in fs_mkdirs() local
Ddir_hash.c42 struct stat sb; in get_file_hash() local
176 struct stat sb; in recurse() local
/system/core/toolbox/upstream-netbsd/bin/mv/
Dmv.c81 struct stat sb; in main() local
156 struct stat sb; in do_move() local
/system/extras/f2fs_utils/
Df2fs_sparseblock.c30 static void dbg_print_raw_sb_info(struct f2fs_super_block *sb) in dbg_print_raw_sb_info()
183 static int read_f2fs_sb(int fd, struct f2fs_super_block *sb) in read_f2fs_sb()
202 struct f2fs_super_block sb; in get_f2fs_filesystem_size_sec() local
256 int get_valid_checkpoint_info(int fd, struct f2fs_super_block *sb, struct f2fs_checkpoint **cp, st… in get_valid_checkpoint_info()
378 struct f2fs_super_block *sb = NULL; in generate_f2fs_info() local
/system/vold/
Dfstrim.c64 struct stat sb; in do_fstrim_filesystems() local
DVolumeManager.cpp62 static int writeSuperBlock(const char* name, struct asec_superblock *sb, unsigned int numImgSectors… in writeSuperBlock()
392 struct asec_superblock sb; in createAsec() local
617 struct asec_superblock sb; in resizeAsec() local
760 struct asec_superblock sb; in finalizeAsec() local
823 struct asec_superblock sb; in fixupAsecPermissions() local
1302 struct asec_superblock sb; in mountAsec() local
DLoop.cpp280 int Loop::lookupInfo(const char *loopDevice, struct asec_superblock *sb, unsigned int *nr_sec) { in lookupInfo()
/system/core/toolbox/upstream-netbsd/bin/rm/
Drm.c285 struct stat sb; in rm_file() local
403 struct stat sb, sb2; in rm_overwrite() local
/system/core/adb/
Ddisable_verity_service.c51 struct ext4_super_block sb; in get_target_device_size() local
/system/core/toolbox/upstream-netbsd/bin/dd/
Ddd.c287 struct stat sb; in getfdtype() local
/system/core/toolbox/upstream-netbsd/bin/cp/
Dutils.c132 struct stat sb; in copy_file() local
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dutil.c191 struct stat sb; in procfile() local
/system/core/fs_mgr/
Dfs_mgr_verity.c122 struct ext4_super_block sb; in get_target_device_size() local

12