Home
last modified time | relevance | path

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

/fs/f2fs/
Dcompress.c51 int (*init_compress_ctx)(struct compress_ctx *cc);
52 void (*destroy_compress_ctx)(struct compress_ctx *cc);
53 int (*compress_pages)(struct compress_ctx *cc);
59 static unsigned int offset_in_cluster(struct compress_ctx *cc, pgoff_t index) in offset_in_cluster() argument
61 return index & (cc->cluster_size - 1); in offset_in_cluster()
64 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index) in cluster_idx() argument
66 return index >> cc->log_cluster_size; in cluster_idx()
69 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc) in start_idx_of_cluster() argument
71 return cc->cluster_idx << cc->log_cluster_size; in start_idx_of_cluster()
98 static void f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock) in f2fs_drop_rpages() argument
[all …]
Ddata.c2133 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret, in f2fs_read_multi_pages() argument
2138 struct inode *inode = cc->inode; in f2fs_read_multi_pages()
2141 unsigned int start_idx = cc->cluster_idx << cc->log_cluster_size; in f2fs_read_multi_pages()
2150 f2fs_bug_on(sbi, f2fs_cluster_is_empty(cc)); in f2fs_read_multi_pages()
2156 for (i = 0; i < cc->cluster_size; i++) { in f2fs_read_multi_pages()
2157 struct page *page = cc->rpages[i]; in f2fs_read_multi_pages()
2171 cc->rpages[i] = NULL; in f2fs_read_multi_pages()
2172 cc->nr_rpages--; in f2fs_read_multi_pages()
2176 if (f2fs_cluster_is_empty(cc)) in f2fs_read_multi_pages()
2193 for (i = 1; i < cc->cluster_size; i++) { in f2fs_read_multi_pages()
[all …]
Df2fs.h4220 bool f2fs_cluster_is_empty(struct compress_ctx *cc);
4221 bool f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index);
4222 bool f2fs_all_cluster_page_loaded(struct compress_ctx *cc, struct pagevec *pvec,
4225 void f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page);
4226 int f2fs_write_multi_pages(struct compress_ctx *cc,
4234 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret,
4237 struct decompress_io_ctx *f2fs_alloc_dic(struct compress_ctx *cc);
4242 int f2fs_init_compress_ctx(struct compress_ctx *cc);
4243 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.h843 struct crypto_comp *cc; member
/fs/ksmbd/
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.c632 static int ovl_prep_cu_creds(struct dentry *dentry, struct ovl_cu_creds *cc) in ovl_prep_cu_creds() argument
636 cc->old = cc->new = NULL; in ovl_prep_cu_creds()
637 err = security_inode_copy_up(dentry, &cc->new); in ovl_prep_cu_creds()
641 if (cc->new) in ovl_prep_cu_creds()
642 cc->old = override_creds(cc->new); in ovl_prep_cu_creds()
647 static void ovl_revert_cu_creds(struct ovl_cu_creds *cc) in ovl_revert_cu_creds() argument
649 if (cc->new) { in ovl_revert_cu_creds()
650 revert_creds(cc->old); in ovl_revert_cu_creds()
651 put_cred(cc->new); in ovl_revert_cu_creds()
664 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/cifs/
Dsmb2pdu.c2014 parse_query_id_ctxt(struct create_context *cc, struct smb2_file_all_info *buf) in parse_query_id_ctxt() argument
2016 struct create_on_disk_id *pdisk_id = (struct create_on_disk_id *)cc; in parse_query_id_ctxt()
2024 parse_posix_ctxt(struct create_context *cc, struct smb2_file_all_info *info, in parse_posix_ctxt() argument
2028 u8 *beg = (u8 *)cc + le16_to_cpu(cc->DataOffset); in parse_posix_ctxt()
2029 u8 *end = beg + le32_to_cpu(cc->DataLength); in parse_posix_ctxt()
2066 struct create_context *cc; in smb2_parse_contexts() local
2079 cc = (struct create_context *)data_offset; in smb2_parse_contexts()
2086 name = le16_to_cpu(cc->NameOffset) + (char *)cc; in smb2_parse_contexts()
2087 if (le16_to_cpu(cc->NameLength) == 4 && in smb2_parse_contexts()
2089 *oplock = server->ops->parse_lease_buf(cc, epoch, in smb2_parse_contexts()
[all …]