Home
last modified time | relevance | path

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

/fs/fuse/
Ddev.c674 static void fuse_copy_init(struct fuse_copy_state *cs, int write, in fuse_copy_init() argument
677 memset(cs, 0, sizeof(*cs)); in fuse_copy_init()
678 cs->write = write; in fuse_copy_init()
679 cs->iter = iter; in fuse_copy_init()
683 static void fuse_copy_finish(struct fuse_copy_state *cs) in fuse_copy_finish() argument
685 if (cs->currbuf) { in fuse_copy_finish()
686 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish()
688 if (cs->write) in fuse_copy_finish()
689 buf->len = PAGE_SIZE - cs->len; in fuse_copy_finish()
690 cs->currbuf = NULL; in fuse_copy_finish()
[all …]
/fs/fat/
Dfat_test.c28 u8 cs; member
38 .cs = 0,
46 .cs = 0,
54 .cs = 0,
62 .cs = 0,
70 .cs = 0,
78 .cs = 0,
86 .cs = 0,
94 .cs = 0,
102 .cs = 0,
[all …]
/fs/adfs/
Dinode.c213 s64 cs, nsec = timespec64_to_ns(ts); in adfs_unix2adfs_time() local
219 cs = div_s64(nsec, 10000000); in adfs_unix2adfs_time()
221 cs = clamp_t(s64, cs, 0, 0xffffffffff); in adfs_unix2adfs_time()
224 ADFS_I(inode)->loadaddr |= (cs >> 32) & 0xff; in adfs_unix2adfs_time()
225 ADFS_I(inode)->execaddr = cs; in adfs_unix2adfs_time()
/fs/ubifs/
Dlog.c359 struct ubifs_cs_node *cs; in ubifs_log_start_commit() local
369 buf = cs = kmalloc(max_len, GFP_NOFS); in ubifs_log_start_commit()
373 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit()
374 cs->cmt_no = cpu_to_le64(c->cmt_no); in ubifs_log_start_commit()
375 ubifs_prepare_node(c, cs, UBIFS_CS_NODE_SZ, 0); in ubifs_log_start_commit()
381 err = ubifs_shash_update(c, c->log_hash, cs, UBIFS_CS_NODE_SZ); in ubifs_log_start_commit()
434 err = ubifs_leb_write(c, c->lhead_lnum, cs, 0, len); in ubifs_log_start_commit()
Dsb.c82 struct ubifs_cs_node *cs; in create_default_filesystem() local
168 cs = kzalloc(ALIGN(UBIFS_CS_NODE_SZ, c->min_io_size), GFP_KERNEL); in create_default_filesystem()
170 if (!sup || !mst || !idx || !ino || !cs) { in create_default_filesystem()
320 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
352 err = ubifs_write_node(c, cs, UBIFS_CS_NODE_SZ, UBIFS_LOG_LNUM, 0); in create_default_filesystem()
364 kfree(cs); in create_default_filesystem()
/fs/efs/
Dsuper.c157 __be32 cs, *ui; in module_exit() local
174 cs = *ui--; in module_exit()
175 csum += be32_to_cpu(cs); in module_exit()
/fs/ocfs2/cluster/
Dheartbeat.c513 unsigned int cs = *current_slot; in o2hb_setup_one_bio() local
529 bio->bi_iter.bi_sector = (reg->hr_start_block + cs) << (bits - 9); in o2hb_setup_one_bio()
535 vec_start = (cs << bits) % PAGE_SIZE; in o2hb_setup_one_bio()
536 while(cs < max_slots) { in o2hb_setup_one_bio()
537 current_page = cs / spp; in o2hb_setup_one_bio()
541 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio()
549 cs += vec_len / (PAGE_SIZE/spp); in o2hb_setup_one_bio()
554 *current_slot = cs; in o2hb_setup_one_bio()
/fs/coda/
DKconfig19 home page <http://www.coda.cs.cmu.edu/>.
/fs/
Ddcache.c196 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument
201 a = read_word_at_a_time(cs); in dentry_string_cmp()
207 cs += sizeof(unsigned long); in dentry_string_cmp()
219 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument
222 if (*cs != *ct) in dentry_string_cmp()
224 cs++; in dentry_string_cmp()
251 const unsigned char *cs = READ_ONCE(dentry->d_name.name); in dentry_cmp() local
253 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.c3922 struct nfsd4_compound_state *cs = &resp->cstate; in nfsd4_sequence_done() local
3924 if (nfsd4_has_session(cs)) { in nfsd4_sequence_done()
3925 if (cs->status != nfserr_replay_cache) { in nfsd4_sequence_done()
3927 cs->slot->sl_flags &= ~NFSD4_SLOT_INUSE; in nfsd4_sequence_done()
3930 nfsd4_put_session(cs->session); in nfsd4_sequence_done()
3931 } else if (cs->clp) in nfsd4_sequence_done()
3932 put_client_renew(cs->clp); in nfsd4_sequence_done()
/fs/f2fs/
Dsegment.c4875 struct curseg_info *cs = CURSEG_I(sbi, type); in fix_curseg_write_pointer() local
4884 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer()
4910 if (cs->segno == wp_segno && cs->next_blkoff == wp_blkoff && in fix_curseg_write_pointer()
4916 type, cs->segno, cs->next_blkoff, wp_segno, wp_blkoff); in fix_curseg_write_pointer()
4919 "curseg[0x%x,0x%x]", type, cs->segno, cs->next_blkoff); in fix_curseg_write_pointer()
4928 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer()
4952 type, cs->segno, cs->next_blkoff); in fix_curseg_write_pointer()
/fs/btrfs/
Dtree-log.c4176 u64 ds, dl, cs, cl; in copy_items() local
4185 cs = btrfs_file_extent_offset(src, extent); in copy_items()
4190 cs = 0; in copy_items()
4196 ds + cs, ds + cs + cl - 1, in copy_items()