Home
last modified time | relevance | path

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

12

/system/core/libutils/
DSharedBuffer.cpp35 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size)); in alloc() local
57 SharedBuffer* sb = alloc(mSize); in edit() local
81 SharedBuffer* sb = alloc(newSize); in editResize() local
101 SharedBuffer* sb = alloc(new_size); in reset() local
DVectorImpl.cpp90 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in editArrayImpl() local
346 SharedBuffer* sb = SharedBuffer::alloc(new_allocation_size); in setCapacity() local
371 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in release_storage() local
417 SharedBuffer* sb = cur_sb->editResize(new_alloc_size); in _grow() local
424 SharedBuffer* sb = SharedBuffer::alloc(new_alloc_size); in _grow() local
484 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _shrink() local
491 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); in _shrink() local
/system/extras/squashfs_utils/
Dsquashfs_utils.c43 const struct squashfs_super_block *sb = in squashfs_parse_sb_buffer() local
63 struct squashfs_super_block sb; in squashfs_parse_sb() local
/system/extras/ext4_utils/
Dext4_utils.c141 void read_sb(int fd, struct ext4_super_block *sb) in read_sb()
157 void write_sb(int fd, unsigned long long offset, struct ext4_super_block *sb) in write_sb()
278 struct ext4_super_block *sb = aux_info.sb; in ext4_fill_in_sb() local
401 void ext4_queue_sb(u64 start_block, struct ext4_super_block *sb) in ext4_queue_sb()
406 void ext4_parse_sb_info(struct ext4_super_block *sb) in ext4_parse_sb_info()
598 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
320 struct ext4_super_block sb; in TEST_F() local
/system/extras/pagecache/
Ddumpcache.c74 static int store_num_cached(const char* fpath, const struct stat *sb) { in store_num_cached()
107 static int scan_entry(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf) { in scan_entry()
/system/sepolicy/tools/sepolicy-analyze/
Dutils.c28 struct stat sb; in load_policy() local
Dneverallow.c442 struct stat sb; in check_neverallows_file() local
/system/core/adb/
Dadb_utils.cpp74 struct stat sb; in directory_exists() local
165 struct stat sb; in mkdirs() local
/system/extras/f2fs_utils/
Df2fs_sparseblock.c33 static void dbg_print_raw_sb_info(struct f2fs_super_block *sb) in dbg_print_raw_sb_info()
186 static int read_f2fs_sb(int fd, struct f2fs_super_block *sb) in read_f2fs_sb()
205 struct f2fs_super_block sb; in get_f2fs_filesystem_size_sec() local
259 int get_valid_checkpoint_info(int fd, struct f2fs_super_block *sb, struct f2fs_checkpoint **cp, st… in get_valid_checkpoint_info()
381 struct f2fs_super_block *sb = NULL; in generate_f2fs_info() local
/system/core/libcutils/
Dfs.c43 struct stat sb; in fs_prepare_path_impl() local
192 struct stat sb; in fs_mkdirs() local
/system/vold/
DVolumeManager.cpp98 static int writeSuperBlock(const char* name, struct asec_superblock *sb, unsigned int numImgSectors… in writeSuperBlock()
517 struct stat sb; in remountUid() local
766 struct asec_superblock sb; in createAsec() local
986 struct asec_superblock sb; in resizeAsec() local
1129 struct asec_superblock sb; in finalizeAsec() local
1194 struct asec_superblock sb; in fixupAsecPermissions() local
1577 struct stat sb; in isAsecInDirectory() local
1669 struct asec_superblock sb; in mountAsec() local
DLoop.cpp301 int Loop::lookupInfo(const char *loopDevice, struct asec_superblock *sb, unsigned long *nr_sec) { in lookupInfo()
DUtils.cpp433 struct statvfs sb; in GetFreeBytes() local
634 struct stat sb; in GetDevice() local
/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc.c138 OI_UINT sb; in computeBitneed() local
349 OI_UINT sb; in oneChannelBitAllocation() local
/system/core/base/
Dfile_test.cpp57 struct stat sb; in TEST() local
/system/core/toolbox/upstream-netbsd/bin/dd/
Ddd.c287 struct stat sb; in getfdtype() local
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dutil.c191 struct stat sb; in procfile() local
/system/sepolicy/tools/
Dsepolicy-check.c190 struct stat sb; in load_policy() local
Dcheckfc.c253 struct stat sb; in do_fc_check_and_die_on_error() local
/system/extras/libfec/
Dfec_open.cpp261 ext4_super_block sb; in get_ext4_size() local
/system/core/init/
Dproperty_service.cpp427 struct stat sb; in load_persistent_properties() local

12