Searched defs:sehnd (Results 1 - 4 of 4) sorted by relevance

/system/extras/f2fs_utils/
H A Df2fs_utils.c61 const char *mountpoint, struct selabel_handle *sehnd)
60 make_f2fs_sparse_fd(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd) argument
/system/extras/ext4_utils/
H A Dmake_ext4fs_main.c83 struct selabel_handle *sehnd = NULL; local
156 sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1);
157 if (!sehnd) {
201 if (!sehnd && mountpoint) {
202 sehnd = selinux_android_file_context_handle();
204 if (!sehnd) {
264 sparse, crc, wipe, real_uuid, sehnd, verbose, fixed_time,
H A Dmake_ext4fs.c106 struct selabel_handle *sehnd)
125 if (sehnd) {
130 if (selabel_lookup(sehnd, &secontext, path, S_IFDIR) < 0) {
153 struct selabel_handle *sehnd, int verbose, time_t fixed_time)
239 if (sehnd) {
240 if (selabel_lookup(sehnd, &dentries[i].secon, dentries[i].path, stat.st_mode) < 0) {
289 if (sehnd) {
290 if (selabel_lookup(sehnd, &dentries[0].secon, dentries[0].path, dentries[0].mode) < 0)
314 inode, fs_config_func, sehnd, verbose, fixed_time);
427 const char *mountpoint, struct selabel_handle *sehnd)
105 build_default_directory_structure(const char *dir_path, struct selabel_handle *sehnd) argument
151 build_directory_structure(const char *full_path, const char *dir_path, const char *target_out_path, u32 dir_inode, fs_config_func_t fs_config_func, struct selabel_handle *sehnd, int verbose, time_t fixed_time) argument
426 make_ext4fs_sparse_fd(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd) argument
432 make_ext4fs_sparse_fd_align(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd, unsigned eraseblk, unsigned logicalblk) argument
440 make_ext4fs_sparse_fd_directory(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory) argument
447 make_ext4fs_sparse_fd_directory_align(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory, unsigned eraseblk, unsigned logicalblk) argument
461 make_ext4fs(const char *filename, long long len, const char *mountpoint, struct selabel_handle *sehnd) argument
467 make_ext4fs_directory(const char *filename, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory) argument
474 make_ext4fs_directory_align(const char *filename, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory, unsigned eraseblk, unsigned logicalblk) argument
716 make_ext4fs_internal(int fd, const char *_directory, const char *_target_out_directory, const char *_mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse, int crc, int wipe, int real_uuid, struct selabel_handle *sehnd, int verbose, time_t fixed_time, FILE* block_list_file, FILE* base_alloc_file_in, FILE* base_alloc_file_out) argument
[all...]
/system/sepolicy/tools/
H A Dcheckfc.c42 struct selabel_handle *sehnd[SEHANDLE_CNT]; member in struct:__anon2457::__anon2458
233 struct selabel_handle *sehnd = global_state.sepolicy.sehnd[i]; local
234 if (sehnd) {
235 selabel_close(sehnd);
250 global_state.sepolicy.sehnd[i] = selabel_open(backend, opts, 2);
251 if (!global_state.sepolicy.sehnd[i]) {
257 result = selabel_cmp(global_state.sepolicy.sehnd[0], global_state.sepolicy.sehnd[1]);
323 global_state.sepolicy.sehnd[
[all...]

Completed in 347 milliseconds