Home
last modified time | relevance | path

Searched refs:bfc (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/fs/incfs/
H A Dformat.c33 void incfs_free_bfc(struct backing_file_context *bfc) in incfs_free_bfc() argument
35 if (!bfc) in incfs_free_bfc()
38 if (bfc->bc_file) in incfs_free_bfc()
39 fput(bfc->bc_file); in incfs_free_bfc()
41 mutex_destroy(&bfc->bc_mutex); in incfs_free_bfc()
42 kfree(bfc); in incfs_free_bfc()
58 static int truncate_backing_file(struct backing_file_context *bfc, in truncate_backing_file() argument
67 if (!bfc) in truncate_backing_file()
70 LOCK_REQUIRED(bfc->bc_mutex); in truncate_backing_file()
72 if (!bfc->bc_file) in truncate_backing_file()
[all …]
H A Dformat.h349 void incfs_free_bfc(struct backing_file_context *bfc);
352 int incfs_write_blockmap_to_backing_file(struct backing_file_context *bfc,
355 int incfs_write_fh_to_backing_file(struct backing_file_context *bfc,
358 int incfs_write_mapping_fh_to_backing_file(struct backing_file_context *bfc,
361 int incfs_write_data_block_to_backing_file(struct backing_file_context *bfc,
366 int incfs_write_hash_block_to_backing_file(struct backing_file_context *bfc,
373 int incfs_write_signature_to_backing_file(struct backing_file_context *bfc,
377 int incfs_write_status_to_backing_file(struct backing_file_context *bfc,
382 struct backing_file_context *bfc, struct mem_range signature,
386 int incfs_read_file_header(struct backing_file_context *bfc,
[all …]
H A Ddata_mgmt.c276 struct backing_file_context *bfc = NULL; in incfs_open_data_file() local
288 bfc = incfs_alloc_bfc(mi, bf); in incfs_open_data_file()
289 if (IS_ERR(bfc)) in incfs_open_data_file()
290 return ERR_CAST(bfc); in incfs_open_data_file()
300 df->df_backing_file_context = bfc; in incfs_open_data_file()
305 error = incfs_read_file_header(bfc, &df->df_metadata_off, &df->df_id, in incfs_open_data_file()
328 incfs_free_bfc(bfc); in incfs_open_data_file()
349 struct backing_file_context *bfc = df->df_backing_file_context; in incfs_free_data_file() local
352 if (bfc && !mutex_lock_interruptible(&bfc->bc_mutex)) { in incfs_free_data_file()
358 mutex_unlock(&bfc->bc_mutex); in incfs_free_data_file()
[all …]
H A Dverity.c79 struct backing_file_context *bfc; in incfs_end_enable_verity() local
93 bfc = df->df_backing_file_context; in incfs_end_enable_verity()
94 error = mutex_lock_interruptible(&bfc->bc_mutex); in incfs_end_enable_verity()
98 error = incfs_write_verity_signature_to_backing_file(bfc, signature, in incfs_end_enable_verity()
100 mutex_unlock(&bfc->bc_mutex); in incfs_end_enable_verity()
107 error = vfs_setxattr(bfc->bc_file->f_path.dentry, in incfs_end_enable_verity()
297 struct backing_file_context *bfc, in incfs_build_merkle_tree() argument
331 result = incfs_kread(bfc, partial_buf.data, in incfs_build_merkle_tree()
357 result = incfs_kwrite(bfc, hash.data, hash.len, in incfs_build_merkle_tree()
422 struct backing_file_context *bfc; in incfs_add_signature_record() local
[all …]
H A Dpseudo_files.c306 struct backing_file_context *bfc = NULL; in init_new_file() local
328 bfc = incfs_alloc_bfc(mi, new_file); in init_new_file()
330 if (IS_ERR(bfc)) { in init_new_file()
331 error = PTR_ERR(bfc); in init_new_file()
332 bfc = NULL; in init_new_file()
336 mutex_lock(&bfc->bc_mutex); in init_new_file()
337 error = incfs_write_fh_to_backing_file(bfc, uuid, size); in init_new_file()
360 error = incfs_write_signature_to_backing_file(bfc, in init_new_file()
371 error = incfs_write_blockmap_to_backing_file(bfc, block_count); in init_new_file()
377 if (bfc) { in init_new_file()
[all …]
H A Dvfs.c668 struct backing_file_context *bfc; in maybe_delete_incomplete_file() local
679 bfc = df->df_backing_file_context; in maybe_delete_incomplete_file()
680 if (bfc) { in maybe_delete_incomplete_file()
681 struct file *f = bfc->bc_file; in maybe_delete_incomplete_file()
/OK3568_Linux_fs/u-boot/arch/arm/mach-at91/include/mach/
H A Dat91_mc.h76 at91_bfc_t bfc; /* 0xC0 BFC User Interface */ member
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/
H A Dnonsec_virt.S118 bfc \addr, #0, #15 @ clear reserved bits
/OK3568_Linux_fs/u-boot/drivers/rknand/
H A Drk_zftl_arm_v7.S604 bfc r3, #0, #8
605 bfc r3, #17, #1
1187 bfc r2, #15, #1
1396 bfc r3, #0, #8
1397 bfc r3, #17, #1
3370 bfc r6, #3, #1
3373 bfc r6, #5, #3
7771 bfc r4, #3, #2
7796 bfc r2, #5, #3
20677 bfc r4, #5, #3
[all …]
H A Drk_ftl_arm_v7.S1050 bfc r3, #15, #1
1114 bfc r3, #0, #8
1115 bfc r3, #17, #1
2275 bfc r3, #4, #1
2391 bfc r2, #2, #1
2477 bfc r3, #2, #1
/OK3568_Linux_fs/kernel/drivers/rk_nand/
H A Drk_zftl_arm32.S898 bfc r3, #0, #8
899 bfc r3, #17, #1
1451 bfc r2, #15, #1
1648 bfc r3, #0, #8
1649 bfc r3, #17, #1
3657 bfc r2, #3, #1
3660 bfc r2, #5, #3
8399 bfc r4, #3, #2
8425 bfc r2, #5, #3
28120 bfc r2, #3, #2
H A Drk_ftl_arm_v7_thumb.S1187 bfc r3, #15, #1
1255 bfc r3, #0, #8
1256 bfc r3, #17, #1
2673 bfc r3, #4, #1
2874 bfc r2, #2, #1
2964 bfc r3, #2, #1
H A Drk_ftlv5_arm32.S1655 bfc r3, #15, #1
1717 bfc r3, #0, #8
1718 bfc r3, #17, #1
3795 bfc r3, #4, #1
3952 bfc r2, #2, #1
4032 bfc r3, #2, #1
H A Drk_ftl_arm_v7.S1123 bfc r3, #15, #1
1185 bfc r3, #0, #8
1186 bfc r3, #17, #1
2546 bfc r3, #4, #1
2741 bfc r2, #2, #1
2820 bfc r3, #2, #1