/fs/fuse/ |
D | dev.c | 668 static void fuse_copy_init(struct fuse_copy_state *cs, int write, in fuse_copy_init() argument 671 memset(cs, 0, sizeof(*cs)); in fuse_copy_init() 672 cs->write = write; in fuse_copy_init() 673 cs->iter = iter; in fuse_copy_init() 677 static void fuse_copy_finish(struct fuse_copy_state *cs) in fuse_copy_finish() argument 679 if (cs->currbuf) { in fuse_copy_finish() 680 struct pipe_buffer *buf = cs->currbuf; in fuse_copy_finish() 682 if (cs->write) in fuse_copy_finish() 683 buf->len = PAGE_SIZE - cs->len; in fuse_copy_finish() 684 cs->currbuf = NULL; in fuse_copy_finish() [all …]
|
/fs/adfs/ |
D | inode.c | 212 s64 cs, nsec = timespec64_to_ns(ts); in adfs_unix2adfs_time() local 218 cs = div_s64(nsec, 10000000); in adfs_unix2adfs_time() 220 cs = clamp_t(s64, cs, 0, 0xffffffffff); in adfs_unix2adfs_time() 223 ADFS_I(inode)->loadaddr |= (cs >> 32) & 0xff; in adfs_unix2adfs_time() 224 ADFS_I(inode)->execaddr = cs; in adfs_unix2adfs_time()
|
/fs/ubifs/ |
D | log.c | 359 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()
|
D | sb.c | 79 struct ubifs_cs_node *cs; in create_default_filesystem() local 165 cs = kzalloc(ALIGN(UBIFS_CS_NODE_SZ, c->min_io_size), GFP_KERNEL); in create_default_filesystem() 167 if (!sup || !mst || !idx || !ino || !cs) { in create_default_filesystem() 317 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem() 349 err = ubifs_write_node(c, cs, UBIFS_CS_NODE_SZ, UBIFS_LOG_LNUM, 0); in create_default_filesystem() 361 kfree(cs); in create_default_filesystem()
|
/fs/efs/ |
D | super.c | 157 __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/ |
D | heartbeat.c | 515 unsigned int cs = *current_slot; in o2hb_setup_one_bio() local 531 bio->bi_iter.bi_sector = (reg->hr_start_block + cs) << (bits - 9); in o2hb_setup_one_bio() 537 vec_start = (cs << bits) % PAGE_SIZE; in o2hb_setup_one_bio() 538 while(cs < max_slots) { in o2hb_setup_one_bio() 539 current_page = cs / spp; in o2hb_setup_one_bio() 543 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio() 551 cs += vec_len / (PAGE_SIZE/spp); in o2hb_setup_one_bio() 556 *current_slot = cs; in o2hb_setup_one_bio()
|
/fs/coda/ |
D | Kconfig | 19 home page <http://www.coda.cs.cmu.edu/>.
|
/fs/ |
D | dcache.c | 194 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument 199 a = read_word_at_a_time(cs); in dentry_string_cmp() 205 cs += sizeof(unsigned long); in dentry_string_cmp() 217 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument 220 if (*cs != *ct) in dentry_string_cmp() 222 cs++; in dentry_string_cmp() 249 const unsigned char *cs = READ_ONCE(dentry->d_name.name); in dentry_cmp() local 251 return dentry_string_cmp(cs, ct, tcount); in dentry_cmp()
|
/fs/nfsd/ |
D | xdr4.h | 72 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()
|
D | nfs4state.c | 3864 struct nfsd4_compound_state *cs = &resp->cstate; in nfsd4_sequence_done() local 3866 if (nfsd4_has_session(cs)) { in nfsd4_sequence_done() 3867 if (cs->status != nfserr_replay_cache) { in nfsd4_sequence_done() 3869 cs->slot->sl_flags &= ~NFSD4_SLOT_INUSE; in nfsd4_sequence_done() 3872 nfsd4_put_session(cs->session); in nfsd4_sequence_done() 3873 } else if (cs->clp) in nfsd4_sequence_done() 3874 put_client_renew(cs->clp); in nfsd4_sequence_done()
|
/fs/f2fs/ |
D | segment.c | 4918 struct curseg_info *cs = CURSEG_I(sbi, type); in fix_curseg_write_pointer() local 4927 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer() 4953 if (cs->segno == wp_segno && cs->next_blkoff == wp_blkoff && in fix_curseg_write_pointer() 4959 type, cs->segno, cs->next_blkoff, wp_segno, wp_blkoff); in fix_curseg_write_pointer() 4962 "curseg[0x%x,0x%x]", type, cs->segno, cs->next_blkoff); in fix_curseg_write_pointer() 4971 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in fix_curseg_write_pointer() 4995 type, cs->segno, cs->next_blkoff); in fix_curseg_write_pointer()
|
/fs/btrfs/ |
D | tree-log.c | 4064 u64 ds, dl, cs, cl; in copy_items() local 4073 cs = btrfs_file_extent_offset(src, extent); in copy_items() 4078 cs = 0; in copy_items() 4084 ds + cs, ds + cs + cl - 1, in copy_items()
|