Home
last modified time | relevance | path

Searched refs:statp (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.15/fs/xfs/
Dxfs_qm_bhv.c21 struct kstatfs *statp, in xfs_fill_statvfs_from_dquot() argument
29 if (limit && statp->f_blocks > limit) { in xfs_fill_statvfs_from_dquot()
30 statp->f_blocks = limit; in xfs_fill_statvfs_from_dquot()
31 statp->f_bfree = statp->f_bavail = in xfs_fill_statvfs_from_dquot()
32 (statp->f_blocks > dqp->q_blk.reserved) ? in xfs_fill_statvfs_from_dquot()
33 (statp->f_blocks - dqp->q_blk.reserved) : 0; in xfs_fill_statvfs_from_dquot()
39 if (limit && statp->f_files > limit) { in xfs_fill_statvfs_from_dquot()
40 statp->f_files = limit; in xfs_fill_statvfs_from_dquot()
41 statp->f_ffree = in xfs_fill_statvfs_from_dquot()
42 (statp->f_files > dqp->q_ino.reserved) ? in xfs_fill_statvfs_from_dquot()
[all …]
Dxfs_super.c776 struct kstatfs *statp) in xfs_fs_statfs() argument
791 statp->f_type = XFS_SUPER_MAGIC; in xfs_fs_statfs()
792 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
795 statp->f_fsid = u64_to_fsid(id); in xfs_fs_statfs()
802 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
804 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
808 statp->f_bfree = max_t(int64_t, fdblocks - mp->m_alloc_set_aside, 0); in xfs_fs_statfs()
809 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
811 fakeinos = XFS_FSB_TO_INO(mp, statp->f_bfree); in xfs_fs_statfs()
812 statp->f_files = min(icount + fakeinos, (uint64_t)XFS_MAXINUMBER); in xfs_fs_statfs()
[all …]
/Linux-v5.15/net/sunrpc/
Dstats.c38 const struct rpc_stat *statp = seq->private; in rpc_proc_show() local
39 const struct rpc_program *prog = statp->program; in rpc_proc_show()
44 statp->netcnt, in rpc_proc_show()
45 statp->netudpcnt, in rpc_proc_show()
46 statp->nettcpcnt, in rpc_proc_show()
47 statp->nettcpconn); in rpc_proc_show()
50 statp->rpccnt, in rpc_proc_show()
51 statp->rpcretrans, in rpc_proc_show()
52 statp->rpcauthrefresh); in rpc_proc_show()
82 void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp) in svc_seq_show() argument
[all …]
Dsvc.c1190 svc_generic_dispatch(struct svc_rqst *rqstp, __be32 *statp) in svc_generic_dispatch() argument
1202 *statp = rpc_garbage_args; in svc_generic_dispatch()
1206 *statp = procp->pc_func(rqstp); in svc_generic_dispatch()
1208 if (*statp == rpc_drop_reply || in svc_generic_dispatch()
1215 if (*statp != rpc_success) in svc_generic_dispatch()
1223 *statp = rpc_system_err; in svc_generic_dispatch()
1291 __be32 *statp; in svc_process_common() local
1385 statp = resv->iov_base +resv->iov_len; in svc_process_common()
1396 if (!svc_generic_dispatch(rqstp, statp)) in svc_process_common()
1398 if (*statp == rpc_garbage_args) in svc_process_common()
[all …]
/Linux-v5.15/fs/lockd/
Dsvc.c780 static int nlmsvc_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nlmsvc_dispatch() argument
790 *statp = procp->pc_func(rqstp); in nlmsvc_dispatch()
791 if (*statp == rpc_drop_reply) in nlmsvc_dispatch()
793 if (*statp != rpc_success) in nlmsvc_dispatch()
803 *statp = rpc_garbage_args; in nlmsvc_dispatch()
807 *statp = rpc_system_err; in nlmsvc_dispatch()
/Linux-v5.15/fs/nfsd/
Dnfscache.c521 void nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) in nfsd_cache_update() argument
537 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
541 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()
550 rp->c_replstat = *statp; in nfsd_cache_update()
561 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
Dnfssvc.c1004 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument
1037 *statp = proc->pc_func(rqstp); in nfsd_dispatch()
1038 if (*statp == rpc_drop_reply || test_bit(RQ_DROPME, &rqstp->rq_flags)) in nfsd_dispatch()
1044 nfsd_cache_update(rqstp, rqstp->rq_cachetype, statp + 1); in nfsd_dispatch()
1050 *statp = rpc_garbage_args; in nfsd_dispatch()
1061 *statp = rpc_system_err; in nfsd_dispatch()
Dnfsd.h88 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);
/Linux-v5.15/kernel/locking/
Dlocktorture.c739 struct lock_stress_stats *statp, bool write) in __torture_print_stats() argument
744 long max = 0, min = statp ? data_race(statp[0].n_lock_acquired) : 0; in __torture_print_stats()
749 if (data_race(statp[i].n_lock_fail)) in __torture_print_stats()
751 cur = data_race(statp[i].n_lock_acquired); in __torture_print_stats()
/Linux-v5.15/drivers/crypto/bcm/
Dspu2.h210 int spu2_status_process(u8 *statp);
Dspu.h267 int spum_status_process(u8 *statp);
Dcipher.h400 int (*spu_status_process)(u8 *statp);
Dspu.c1114 int spum_status_process(u8 *statp) in spum_status_process() argument
1118 status = __be32_to_cpu(*(__be32 *)statp); in spum_status_process()
Dspu2.c1325 int spu2_status_process(u8 *statp) in spu2_status_process() argument
1328 u16 status = le16_to_cpu(*(__le16 *)statp); in spu2_status_process()
/Linux-v5.15/drivers/usb/gadget/udc/
Dnet2280.c670 u32 __iomem *statp; in out_flush() local
673 statp = &ep->regs->ep_stat; in out_flush()
675 tmp = readl(statp); in out_flush()
684 statp); in out_flush()
685 writel(BIT(FIFO_FLUSH), statp); in out_flush()
688 tmp = readl(statp); in out_flush()
695 handshake(statp, BIT(USB_OUT_PING_NAK_SENT), in out_flush()
/Linux-v5.15/fs/nfs/
Dcallback_xdr.c987 nfs_callback_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfs_callback_dispatch() argument
994 *statp = procp->pc_func(rqstp); in nfs_callback_dispatch()
/Linux-v5.15/drivers/net/ethernet/amazon/ena/
Dena_netdev.c81 static void ena_increase_stat(u64 *statp, u64 cnt, in ena_increase_stat() argument
85 (*statp) += cnt; in ena_increase_stat()