Home
last modified time | relevance | path

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

/fs/fuse/
Ddev.c715 static void fuse_copy_init(struct fuse_copy_state *cs, int write, in fuse_copy_init() argument
718 memset(cs, 0, sizeof(*cs)); in fuse_copy_init()
719 cs->write = write; in fuse_copy_init()
720 cs->iter = iter; in fuse_copy_init()
724 static void fuse_copy_finish(struct fuse_copy_state *cs) in fuse_copy_finish() argument
726 if (cs->currbuf) { in fuse_copy_finish()
727 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish()
729 if (cs->write) in fuse_copy_finish()
730 buf->len = PAGE_SIZE - cs->len; in fuse_copy_finish()
731 cs->currbuf = NULL; in fuse_copy_finish()
[all …]
/fs/ubifs/
Dlog.c362 struct ubifs_cs_node *cs; in ubifs_log_start_commit() local
372 buf = cs = kmalloc(max_len, GFP_NOFS); in ubifs_log_start_commit()
376 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit()
377 cs->cmt_no = cpu_to_le64(c->cmt_no); in ubifs_log_start_commit()
378 ubifs_prepare_node(c, cs, UBIFS_CS_NODE_SZ, 0); in ubifs_log_start_commit()
423 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
335 cs = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
336 if (!cs) in create_default_filesystem()
339 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
340 err = ubifs_write_node(c, cs, UBIFS_CS_NODE_SZ, UBIFS_LOG_LNUM, 0); in create_default_filesystem()
341 kfree(cs); in create_default_filesystem()
/fs/efs/
Dsuper.c162 __be32 cs, *ui; in module_exit() local
179 cs = *ui--; in module_exit()
180 csum += be32_to_cpu(cs); in module_exit()
/fs/ocfs2/cluster/
Dheartbeat.c539 unsigned int cs = *current_slot; in o2hb_setup_one_bio() local
555 bio->bi_iter.bi_sector = (reg->hr_start_block + cs) << (bits - 9); in o2hb_setup_one_bio()
561 vec_start = (cs << bits) % PAGE_SIZE; in o2hb_setup_one_bio()
562 while(cs < max_slots) { in o2hb_setup_one_bio()
563 current_page = cs / spp; in o2hb_setup_one_bio()
567 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio()
575 cs += vec_len / (PAGE_SIZE/spp); in o2hb_setup_one_bio()
580 *current_slot = cs; in o2hb_setup_one_bio()
/fs/coda/
DKconfig18 home page <http://www.coda.cs.cmu.edu/>.
/fs/
Ddcache.c193 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument
198 a = *(unsigned long *)cs; in dentry_string_cmp()
204 cs += sizeof(unsigned long); in dentry_string_cmp()
216 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument
219 if (*cs != *ct) in dentry_string_cmp()
221 cs++; in dentry_string_cmp()
248 const unsigned char *cs = READ_ONCE(dentry->d_name.name); in dentry_cmp() local
250 return dentry_string_cmp(cs, ct, tcount); in dentry_cmp()
/fs/nfsd/
Dxdr4.h72 static inline bool nfsd4_has_session(struct nfsd4_compound_state *cs) in nfsd4_has_session() argument
74 return cs->slot != NULL; in nfsd4_has_session()
Dnfs4state.c3212 struct nfsd4_compound_state *cs = &resp->cstate; in nfsd4_sequence_done() local
3214 if (nfsd4_has_session(cs)) { in nfsd4_sequence_done()
3215 if (cs->status != nfserr_replay_cache) { in nfsd4_sequence_done()
3217 cs->slot->sl_flags &= ~NFSD4_SLOT_INUSE; in nfsd4_sequence_done()
3220 nfsd4_put_session(cs->session); in nfsd4_sequence_done()
3221 } else if (cs->clp) in nfsd4_sequence_done()
3222 put_client_renew(cs->clp); in nfsd4_sequence_done()
/fs/btrfs/
Dtree-log.c3835 u64 ds, dl, cs, cl; in copy_items() local
3844 cs = btrfs_file_extent_offset(src, extent); in copy_items()
3849 cs = 0; in copy_items()
3855 ds + cs, ds + cs + cl - 1, in copy_items()