| /fs/fuse/ |
| A D | dev.c | 823 memset(cs, 0, sizeof(*cs)); in fuse_copy_init() 834 if (cs->write) in fuse_copy_finish() 844 cs->pg = NULL; in fuse_copy_finish() 877 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill() 981 cs->nr_segs--; in fuse_try_move_folio() 1041 cs->len = 0; in fuse_try_move_folio() 1068 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_folio() 1086 cs->nr_segs++; in fuse_ref_folio() 1087 cs->len = 0; in fuse_ref_folio() 1110 if (cs->write && cs->pipebufs && folio) { in fuse_copy_folio() [all …]
|
| A D | fuse_dev_i.h | 54 void fuse_copy_init(struct fuse_copy_state *cs, bool write, 56 int fuse_copy_args(struct fuse_copy_state *cs, unsigned int numargs, 59 int fuse_copy_out_args(struct fuse_copy_state *cs, struct fuse_args *args,
|
| A D | dev_uring.c | 580 struct fuse_copy_state cs; in fuse_uring_copy_from_ring() local 596 fuse_copy_init(&cs, false, &iter); in fuse_uring_copy_from_ring() 597 cs.is_uring = true; in fuse_uring_copy_from_ring() 598 cs.req = req; in fuse_uring_copy_from_ring() 600 return fuse_copy_out_args(&cs, args, ring_in_out.payload_sz); in fuse_uring_copy_from_ring() 609 struct fuse_copy_state cs; in fuse_uring_args_to_ring() local 626 fuse_copy_init(&cs, true, &iter); in fuse_uring_args_to_ring() 627 cs.is_uring = true; in fuse_uring_args_to_ring() 628 cs.req = req; in fuse_uring_args_to_ring() 649 err = fuse_copy_args(&cs, num_args, args->in_pages, in fuse_uring_args_to_ring() [all …]
|
| /fs/xfs/scrub/ |
| A D | stats.c | 92 struct xchk_stats *cs, in xchk_stats_format() argument 135 struct xchk_stats *cs) in xchk_stats_estimate_bufsize() argument 168 struct xchk_stats *cs) in xchk_stats_clearall() argument 314 struct xchk_stats *cs, in xchk_stats_init() argument 329 struct xchk_stats *cs, in xchk_stats_register() argument 336 if (!cs->cs_debugfs) in xchk_stats_register() 339 debugfs_create_file("stats", 0444, cs->cs_debugfs, cs, in xchk_stats_register() 341 debugfs_create_file("clear_stats", 0200, cs->cs_debugfs, cs, in xchk_stats_register() 348 struct xchk_stats *cs) in xchk_stats_teardown() argument 393 if (!cs) in xchk_mount_stats_alloc() [all …]
|
| A D | stats.h | 26 void xchk_stats_register(struct xchk_stats *cs, struct dentry *parent); 27 void xchk_stats_unregister(struct xchk_stats *cs); 52 # define xchk_stats_register(cs, parent) ((void)0) argument 53 # define xchk_stats_unregister(cs) ((void)0) argument
|
| /fs/fat/ |
| A D | fat_test.c | 28 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/ |
| A D | inode.c | 217 s64 cs, nsec = timespec64_to_ns(ts); in adfs_unix2adfs_time() local 223 cs = div_s64(nsec, 10000000); in adfs_unix2adfs_time() 225 cs = clamp_t(s64, cs, 0, 0xffffffffff); in adfs_unix2adfs_time() 228 ADFS_I(inode)->loadaddr |= (cs >> 32) & 0xff; in adfs_unix2adfs_time() 229 ADFS_I(inode)->execaddr = cs; in adfs_unix2adfs_time()
|
| /fs/ubifs/ |
| A 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()
|
| A D | sb.c | 82 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/ |
| A D | super.c | 146 __be32 cs, *ui; in module_exit() local 163 cs = *ui--; in module_exit() 164 csum += be32_to_cpu(cs); in module_exit()
|
| /fs/ocfs2/cluster/ |
| A D | heartbeat.c | 518 unsigned int cs = *current_slot; in o2hb_setup_one_bio() local 534 bio->bi_iter.bi_sector = (reg->hr_start_block + cs) << (bits - 9); in o2hb_setup_one_bio() 538 vec_start = (cs << bits) % PAGE_SIZE; in o2hb_setup_one_bio() 539 while(cs < max_slots) { in o2hb_setup_one_bio() 540 current_page = cs / spp; in o2hb_setup_one_bio() 544 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio() 552 cs += vec_len / (PAGE_SIZE/spp); in o2hb_setup_one_bio() 557 *current_slot = cs; in o2hb_setup_one_bio()
|
| /fs/coda/ |
| A D | Kconfig | 19 home page <http://www.coda.cs.cmu.edu/>.
|
| /fs/ |
| A D | dcache.c | 264 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument 269 a = read_word_at_a_time(cs); in dentry_string_cmp() 275 cs += sizeof(unsigned long); in dentry_string_cmp() 287 static inline int dentry_string_cmp(const unsigned char *cs, const unsigned char *ct, unsigned tcou… in dentry_string_cmp() argument 290 if (*cs != *ct) in dentry_string_cmp() 292 cs++; in dentry_string_cmp() 319 const unsigned char *cs = READ_ONCE(dentry->d_name.name); in dentry_cmp() local 321 return dentry_string_cmp(cs, ct, tcount); in dentry_cmp()
|
| /fs/f2fs/ |
| A D | segment.c | 5366 struct curseg_info *cs = CURSEG_I(sbi, type); in do_fix_curseg_write_pointer() local 5375 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in do_fix_curseg_write_pointer() 5406 if (cs->segno == wp_segno && cs->next_blkoff == wp_blkoff && in do_fix_curseg_write_pointer() 5411 "curseg[0x%x,0x%x] wp[0x%x,0x%x]", type, cs->segno, in do_fix_curseg_write_pointer() 5412 cs->next_blkoff, wp_segno, wp_blkoff); in do_fix_curseg_write_pointer() 5416 if (cs->next_blkoff || in do_fix_curseg_write_pointer() 5417 cs->segno != GET_SEG_FROM_SEC(sbi, GET_ZONE_FROM_SEC(sbi, cs_section))) { in do_fix_curseg_write_pointer() 5418 unsigned int old_segno = cs->segno, old_blkoff = cs->next_blkoff; in do_fix_curseg_write_pointer() 5424 cs->segno, cs->next_blkoff); in do_fix_curseg_write_pointer() 5432 cs_section = GET_SEC_FROM_SEG(sbi, cs->segno); in do_fix_curseg_write_pointer() [all …]
|
| /fs/nfsd/ |
| A D | xdr4.h | 200 static inline bool nfsd4_has_session(struct nfsd4_compound_state *cs) in nfsd4_has_session() argument 202 return cs->slot != NULL; in nfsd4_has_session()
|
| A D | trace.h | 790 const struct nfsd4_create_session *cs 792 TP_ARGS(clp, cs), 807 __entry->seqid = cs->seqid; 820 const struct nfsd4_create_session *cs \ 822 TP_ARGS(clp, cs))
|
| A D | nfs4state.c | 4491 struct nfsd4_compound_state *cs = &resp->cstate; in nfsd4_sequence_done() local 4493 if (nfsd4_has_session(cs)) { in nfsd4_sequence_done() 4494 if (cs->status != nfserr_replay_cache) { in nfsd4_sequence_done() 4496 cs->slot->sl_flags &= ~NFSD4_SLOT_INUSE; in nfsd4_sequence_done() 4499 nfsd4_put_session(cs->session); in nfsd4_sequence_done() 4500 } else if (cs->clp) in nfsd4_sequence_done() 4501 put_client_renew(cs->clp); in nfsd4_sequence_done()
|