Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 10 of 10) sorted by relevance

/fs/fuse/
Ddev.c657 static void fuse_copy_init(struct fuse_copy_state *cs, struct fuse_conn *fc, in fuse_copy_init() argument
661 memset(cs, 0, sizeof(*cs)); in fuse_copy_init()
662 cs->fc = fc; in fuse_copy_init()
663 cs->write = write; in fuse_copy_init()
664 cs->iov = iov; in fuse_copy_init()
665 cs->nr_segs = nr_segs; in fuse_copy_init()
669 static void fuse_copy_finish(struct fuse_copy_state *cs) in fuse_copy_finish() argument
671 if (cs->currbuf) { in fuse_copy_finish()
672 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish()
674 if (!cs->write) { in fuse_copy_finish()
[all …]
/fs/ubifs/
Dlog.c357 struct ubifs_cs_node *cs; in ubifs_log_start_commit() local
367 buf = cs = kmalloc(max_len, GFP_NOFS); in ubifs_log_start_commit()
371 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit()
372 cs->cmt_no = cpu_to_le64(c->cmt_no); in ubifs_log_start_commit()
373 ubifs_prepare_node(c, cs, UBIFS_CS_NODE_SZ, 0); in ubifs_log_start_commit()
419 err = ubifs_leb_write(c, c->lhead_lnum, cs, 0, len); in ubifs_log_start_commit()
Dsb.c80 struct ubifs_cs_node *cs; in create_default_filesystem() local
328 cs = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
329 if (!cs) in create_default_filesystem()
332 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
333 err = ubifs_write_node(c, cs, UBIFS_CS_NODE_SZ, UBIFS_LOG_LNUM, 0); in create_default_filesystem()
334 kfree(cs); in create_default_filesystem()
/fs/efs/
Dsuper.c161 __be32 cs, *ui; in module_exit() local
178 cs = *ui--; in module_exit()
179 csum += be32_to_cpu(cs); in module_exit()
/fs/
Ddcache.c156 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument
161 a = *(unsigned long *)cs; in dentry_string_cmp()
167 cs += sizeof(unsigned long); in dentry_string_cmp()
179 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument
182 if (*cs != *ct) in dentry_string_cmp()
184 cs++; in dentry_string_cmp()
195 const unsigned char *cs; in dentry_cmp() local
212 cs = ACCESS_ONCE(dentry->d_name.name); in dentry_cmp()
214 return dentry_string_cmp(cs, ct, tcount); in dentry_cmp()
/fs/ocfs2/cluster/
Dheartbeat.c408 unsigned int cs = *current_slot; in o2hb_setup_one_bio() local
424 bio->bi_sector = (reg->hr_start_block + cs) << (bits - 9); in o2hb_setup_one_bio()
429 vec_start = (cs << bits) % PAGE_CACHE_SIZE; in o2hb_setup_one_bio()
430 while(cs < max_slots) { in o2hb_setup_one_bio()
431 current_page = cs / spp; in o2hb_setup_one_bio()
435 (max_slots-cs) * (PAGE_CACHE_SIZE/spp) ); in o2hb_setup_one_bio()
443 cs += vec_len / (PAGE_CACHE_SIZE/spp); in o2hb_setup_one_bio()
448 *current_slot = cs; in o2hb_setup_one_bio()
/fs/coda/
DKconfig18 home page <http://www.coda.cs.cmu.edu/>.
/fs/nfsd/
Dxdr4.h70 static inline bool nfsd4_has_session(struct nfsd4_compound_state *cs) in nfsd4_has_session() argument
72 return cs->slot != NULL; in nfsd4_has_session()
Dnfs4xdr.c3623 struct nfsd4_compound_state *cs = &resp->cstate; in nfs4svc_encode_compoundres() local
3637 if (nfsd4_has_session(cs)) { in nfs4svc_encode_compoundres()
3638 if (cs->status != nfserr_replay_cache) { in nfs4svc_encode_compoundres()
3640 cs->slot->sl_flags &= ~NFSD4_SLOT_INUSE; in nfs4svc_encode_compoundres()
3643 put_client_renew(cs->session->se_client); in nfs4svc_encode_compoundres()
3644 nfsd4_put_session(cs->session); in nfs4svc_encode_compoundres()
/fs/btrfs/
Dtree-log.c3201 u64 ds, dl, cs, cl; in copy_items() local
3210 cs = btrfs_file_extent_offset(src, extent); in copy_items()
3215 cs = 0; in copy_items()
3221 ds + cs, ds + cs + cl - 1, in copy_items()