Searched refs:fs (Results 1 - 25 of 25) sorted by relevance

/system/extras/fatblock/
H A Dfs.h23 struct fs { struct
44 int fs_alloc_extent(struct fs *fs, struct extent *extent,
46 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, struct extent *last,
48 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out);
49 void fs_set_rootdir_start(struct fs *fs, cluster_t rootdir_start);
50 void fs_update_free_clusters(struct fs *f
[all...]
H A Dfs.c23 #include "fs.h"
28 static void fs_add_extent(struct fs *fs, struct extent *extent, argument
31 assert(fs);
38 extent->next = fs->extents;
39 fs->extents = extent;
42 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, argument
52 assert(fs);
56 e = last ? last->next : fs
102 fs_set_fat(struct fs *fs, cluster_t cluster, fat_entry_t entry) argument
109 fs_alloc_extent(struct fs *fs, struct extent *extent, offset_t len, int type, cluster_t *first_cluster_out) argument
156 fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out) argument
249 fs_set_rootdir_start(struct fs *fs, cluster_t rootdir_start) argument
256 fs_update_free_clusters(struct fs *fs) argument
[all...]
H A Dfatblock.h65 struct fs;
67 int import_tree(struct fs *fs, char *path);
68 int fs_read(struct fs *fs, char *buf, offset_t start, offset_t len);
H A Dread.c25 #include "fs.h"
134 static int extent_read(struct fs *fs, struct extent *e, char *buf, argument
137 assert(fs);
143 return buffer_read((char*)&fs->boot, sizeof(fs->boot), buf,
146 return buffer_read((char*)&fs->info, sizeof(fs->info), buf,
149 return buffer_read((char*)fs->fat, fs
161 fs_read(struct fs *fs, char *buf, offset_t start, offset_t len) argument
[all...]
H A Dfatblock.c26 #include "fs.h"
29 static struct fs fs; variable in typeref:struct:fs
33 static int fs_import(struct fs *fs, argument
39 ret = fs_init(fs, cluster_size, data_size, total_size_out);
43 ret = import_tree(fs, ".");
57 result = fs_read(&fs, buf, offset, length);
173 ret = fs_import(&fs, 32768, 1048576LL * mb, &total_size);
H A Dimport.c29 #include "fs.h"
95 static int import_file(struct fs *fs, char *path, struct imported *out) argument
131 ret = fs_alloc_extent(fs, &f->extent,
193 static int import_dir(struct fs *fs, char *path, int is_root, argument
267 import_file(fs, ch_path, &item->imp);
271 import_dir(fs, ch_path, 0, &item->imp);
295 ret = fs_alloc_extent(fs, &d->extent, d->size, EXTENT_TYPE_DIR, &out->first_cluster);
352 int import_tree(struct fs *f argument
[all...]
H A DAndroid.mk20 LOCAL_SRC_FILES := fat.c fatblock.c fs.c import.c read.c utils.c fdpool.c
/system/core/toolbox/cp/
H A Dutils.c69 set_utimes(const char *file, struct stat *fs) argument
74 tv[0].tv_sec = fs->st_atime;
76 tv[1].tv_sec = fs->st_mtime;
84 TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec);
85 TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec);
115 struct stat to_stat, *fs; local
126 fs = entp->fts_statp;
164 fs->st_mode & ~(S_ISUID | S_ISGID));
173 fs->st_mode & ~(S_ISUID | S_ISGID));
201 if (fs
381 setfile(struct stat *fs, int fd) argument
[all...]
/system/core/libpixelflinger/codeflinger/
H A Dblending.cpp72 int fs = component==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; local
74 if (fs==GGL_SRC_ALPHA_SATURATE && component==GGLFormat::ALPHA)
75 fs = GGL_ONE;
76 const int blending = blending_codes(fs, fd);
101 (fs==GGL_DST_COLOR && fd==GGL_ONE_MINUS_DST_COLOR) ||
102 (fs==GGL_SRC_COLOR && fd==GGL_ONE_MINUS_SRC_COLOR) ||
103 (fs==GGL_DST_ALPHA && fd==GGL_ONE_MINUS_DST_ALPHA) ||
104 (fs==GGL_SRC_ALPHA && fd==GGL_ONE_MINUS_SRC_ALPHA);
107 (fs==GGL_ONE_MINUS_DST_COLOR && fd==GGL_DST_COLOR) ||
108 (fs
[all...]
H A Dmips_opcode.h75 unsigned fs: 5; member in struct:__anon425::__anon429
109 unsigned fs: 5; member in struct:__anon425::__anon433
H A DGGLAssembler.cpp160 int fs = i==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; local
162 if (fs==GGL_SRC_ALPHA_SATURATE && i==GGLFormat::ALPHA)
163 fs = GGL_ONE;
177 info.blend = (fs != int(GGL_ONE)) || (fd > int(GGL_ZERO));
492 int fs = component==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; local
494 if (fs==GGL_SRC_ALPHA_SATURATE && component==GGLFormat::ALPHA) {
495 fs = GGL_ONE;
499 const int blending = blending_codes(fs, fd);
502 const int need_blending = (fs != int(GGL_ONE)) || (fd > int(GGL_ZERO));
H A Dmips_disassem.c454 i.FRType.fd, i.FRType.fs, i.FRType.ft);
H A DGGLAssembler.h521 static int blending_codes(int fs, int fd);
/system/extras/ext4_utils/
H A Dwipe.c22 #include <linux/fs.h>
H A Dmake_ext4fs_main.c22 #include <linux/fs.h>
H A Dext4_utils.c38 #include <linux/fs.h>
/system/vold/
H A DExt4.cpp34 #include <linux/fs.h>
H A DFat.cpp34 #include <linux/fs.h>
51 SLOGW("Skipping fs checks\n");
H A DVolume.cpp31 #include <linux/fs.h>
/system/core/libcutils/
H A Dfs.c19 #include <cutils/fs.h>
H A DAndroid.mk78 fs.c \
/system/extras/tests/directiotest/
H A Ddirectiotest.c42 #include <linux/fs.h>
/system/core/gpttool/
H A Dgpttool.c26 #include <linux/fs.h>
/system/core/libdiskconfig/
H A Ddiskconfig.c29 #include <linux/fs.h>
/system/core/toolbox/
H A Dnewfs_msdos.c42 #include <linux/fs.h>

Completed in 141 milliseconds