Home
last modified time | relevance | path

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

/fs/f2fs/
Dcompress.c52 int (*init_compress_ctx)(struct compress_ctx *cc);
53 void (*destroy_compress_ctx)(struct compress_ctx *cc);
54 int (*compress_pages)(struct compress_ctx *cc);
61 static unsigned int offset_in_cluster(struct compress_ctx *cc, pgoff_t index) in offset_in_cluster() argument
63 return index & (cc->cluster_size - 1); in offset_in_cluster()
66 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index) in cluster_idx() argument
68 return index >> cc->log_cluster_size; in cluster_idx()
71 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc) in start_idx_of_cluster() argument
73 return cc->cluster_idx << cc->log_cluster_size; in start_idx_of_cluster()
100 static void f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock) in f2fs_drop_rpages() argument
[all …]
Ddata.c2256 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret, in f2fs_read_multi_pages() argument
2261 struct inode *inode = cc->inode; in f2fs_read_multi_pages()
2264 unsigned int start_idx = cc->cluster_idx << cc->log_cluster_size; in f2fs_read_multi_pages()
2273 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages()
2279 for (i = 0; i < cc->cluster_size; i++) { in f2fs_read_multi_pages()
2280 struct page *page = cc->rpages[i]; in f2fs_read_multi_pages()
2294 cc->rpages[i] = NULL; in f2fs_read_multi_pages()
2295 cc->nr_rpages--; in f2fs_read_multi_pages()
2299 if (f2fs_cluster_is_empty(cc)) in f2fs_read_multi_pages()
2320 for (i = 1; i < cc->cluster_size; i++) { in f2fs_read_multi_pages()
[all …]
Df2fs.h4243 bool f2fs_cluster_is_empty(struct compress_ctx *cc);
4244 bool f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index);
4245 bool f2fs_all_cluster_page_ready(struct compress_ctx *cc, struct page **pages,
4248 void f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page);
4249 int f2fs_write_multi_pages(struct compress_ctx *cc,
4257 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret,
4260 struct decompress_io_ctx *f2fs_alloc_dic(struct compress_ctx *cc);
4265 int f2fs_init_compress_ctx(struct compress_ctx *cc);
4266 void f2fs_destroy_compress_ctx(struct compress_ctx *cc, bool reuse);
/fs/fuse/
Dcuse.c117 struct cuse_conn *cc = NULL, *pos; in cuse_open() local
125 cc = pos; in cuse_open()
131 if (!cc) in cuse_open()
138 rc = fuse_do_open(&cc->fm, 0, file, 0); in cuse_open()
140 fuse_conn_put(&cc->fc); in cuse_open()
159 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); in cuse_file_ioctl() local
162 if (cc->unrestricted_ioctl) in cuse_file_ioctl()
172 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); in cuse_file_compat_ioctl() local
175 if (cc->unrestricted_ioctl) in cuse_file_compat_ioctl()
323 struct cuse_conn *cc = fc_to_cc(fc), *pos; in cuse_process_init_reply() local
[all …]
/fs/hfsplus/
Dunicode.c102 static u16 *hfsplus_compose_lookup(u16 *p, u16 cc) in hfsplus_compose_lookup() argument
108 if (!e || cc < p[s * 2] || cc > p[e * 2]) in hfsplus_compose_lookup()
112 if (cc > p[i * 2]) in hfsplus_compose_lookup()
114 else if (cc < p[i * 2]) in hfsplus_compose_lookup()
129 u16 cc, c0, c1; in hfsplus_uni2asc() local
147 cc = ce1[0]; in hfsplus_uni2asc()
149 cc = 0; in hfsplus_uni2asc()
150 if (cc) { in hfsplus_uni2asc()
152 if (cc != 0xffff) in hfsplus_uni2asc()
159 cc = (c0 - Hangul_LBase) * Hangul_VCount; in hfsplus_uni2asc()
[all …]
/fs/ubifs/
Dcompress.c116 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress()
179 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, in ubifs_decompress()
200 compr->cc = crypto_alloc_comp(compr->capi_name, 0, 0); in compr_init()
201 if (IS_ERR(compr->cc)) { in compr_init()
203 current->pid, compr->name, PTR_ERR(compr->cc)); in compr_init()
204 return PTR_ERR(compr->cc); in compr_init()
219 crypto_free_comp(compr->cc); in compr_exit()
Dubifs.h852 struct crypto_comp *cc; member
/fs/smb/server/
Doplock.h119 void create_durable_rsp_buf(char *cc);
120 void create_durable_v2_rsp_buf(char *cc, struct ksmbd_file *fp);
121 void create_mxac_rsp_buf(char *cc, int maximal_access);
122 void create_disk_id_rsp_buf(char *cc, __u64 file_id, __u64 vol_id);
123 void create_posix_rsp_buf(char *cc, struct ksmbd_file *fp);
Doplock.c1505 struct create_context *cc; in parse_lease_state() local
1509 cc = smb2_find_context_vals(req, SMB2_CREATE_REQUEST_LEASE, 4); in parse_lease_state()
1510 if (IS_ERR_OR_NULL(cc)) in parse_lease_state()
1517 if (sizeof(struct lease_context_v2) == le32_to_cpu(cc->DataLength)) { in parse_lease_state()
1518 struct create_lease_v2 *lc = (struct create_lease_v2 *)cc; in parse_lease_state()
1534 struct create_lease *lc = (struct create_lease *)cc; in parse_lease_state()
1556 struct create_context *cc; in smb2_find_context_vals() local
1567 cc = (struct create_context *)((char *)req + in smb2_find_context_vals()
1571 cc = (struct create_context *)((char *)cc + next); in smb2_find_context_vals()
1575 next = le32_to_cpu(cc->Next); in smb2_find_context_vals()
[all …]
/fs/overlayfs/
Dcopy_up.c629 static int ovl_prep_cu_creds(struct dentry *dentry, struct ovl_cu_creds *cc) in ovl_prep_cu_creds() argument
633 cc->old = cc->new = NULL; in ovl_prep_cu_creds()
634 err = security_inode_copy_up(dentry, &cc->new); in ovl_prep_cu_creds()
638 if (cc->new) in ovl_prep_cu_creds()
639 cc->old = override_creds(cc->new); in ovl_prep_cu_creds()
644 static void ovl_revert_cu_creds(struct ovl_cu_creds *cc) in ovl_revert_cu_creds() argument
646 if (cc->new) { in ovl_revert_cu_creds()
647 revert_creds(cc->old); in ovl_revert_cu_creds()
648 put_cred(cc->new); in ovl_revert_cu_creds()
663 struct ovl_cu_creds cc; in ovl_copy_up_workdir() local
[all …]
/fs/btrfs/
DMakefile11 $(call cc-option, -Wunused-but-set-variable) \
12 $(call cc-option, -Wunused-const-variable) \
13 $(call cc-option, -Wpacked-not-aligned) \
14 $(call cc-option, -Wstringop-truncation)
/fs/ntfs3/
DMakefile8 $(call cc-option,-Wunused-but-set-variable,-Wunused-const-variable) \
9 $(call cc-option,-Wold-style-declaration,-Wout-of-line-declaration)
/fs/proc/
DMakefile8 CFLAGS_task_mmu.o += $(call cc-option,-Wno-override-init,)
/fs/smb/client/
Dsmb2pdu.c2104 parse_query_id_ctxt(struct create_context *cc, struct smb2_file_all_info *buf) in parse_query_id_ctxt() argument
2106 struct create_on_disk_id *pdisk_id = (struct create_on_disk_id *)cc; in parse_query_id_ctxt()
2114 parse_posix_ctxt(struct create_context *cc, struct smb2_file_all_info *info, in parse_posix_ctxt() argument
2118 u8 *beg = (u8 *)cc + le16_to_cpu(cc->DataOffset); in parse_posix_ctxt()
2119 u8 *end = beg + le32_to_cpu(cc->DataLength); in parse_posix_ctxt()
2156 struct create_context *cc; in smb2_parse_contexts() local
2173 cc = (struct create_context *)((u8 *)rsp + off); in smb2_parse_contexts()
2179 while (rem >= sizeof(*cc)) { in smb2_parse_contexts()
2180 doff = le16_to_cpu(cc->DataOffset); in smb2_parse_contexts()
2181 dlen = le32_to_cpu(cc->DataLength); in smb2_parse_contexts()
[all …]