Home
last modified time | relevance | path

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

/Linux-v6.1/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.c797 struct kstatfs *statp) in xfs_fs_statfs() argument
815 statp->f_type = XFS_SUPER_MAGIC; in xfs_fs_statfs()
816 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
819 statp->f_fsid = u64_to_fsid(id); in xfs_fs_statfs()
826 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
828 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
832 statp->f_bfree = max_t(int64_t, 0, in xfs_fs_statfs()
834 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
836 fakeinos = XFS_FSB_TO_INO(mp, statp->f_bfree); in xfs_fs_statfs()
837 statp->f_files = min(icount + fakeinos, (uint64_t)XFS_MAXINUMBER); in xfs_fs_statfs()
[all …]
/Linux-v6.1/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.c1235 __be32 *statp; in svc_process_common() local
1329 statp = resv->iov_base +resv->iov_len; in svc_process_common()
1339 rc = process.dispatch(rqstp, statp); in svc_process_common()
1348 if (*statp != rpc_success) in svc_process_common()
1349 resv->iov_len = ((void*)statp) - resv->iov_base + 4; in svc_process_common()
/Linux-v6.1/fs/lockd/
Dsvc.c694 static int nlmsvc_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nlmsvc_dispatch() argument
702 *statp = procp->pc_func(rqstp); in nlmsvc_dispatch()
703 if (*statp == rpc_drop_reply) in nlmsvc_dispatch()
705 if (*statp != rpc_success) in nlmsvc_dispatch()
715 *statp = rpc_garbage_args; in nlmsvc_dispatch()
719 *statp = rpc_system_err; in nlmsvc_dispatch()
/Linux-v6.1/fs/nfsd/
Dnfscache.c528 void nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) in nfsd_cache_update() argument
542 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
546 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()
555 rp->c_replstat = *statp; in nfsd_cache_update()
566 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
Dnfssvc.c1027 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument
1056 *statp = proc->pc_func(rqstp); in nfsd_dispatch()
1057 if (*statp == rpc_drop_reply || test_bit(RQ_DROPME, &rqstp->rq_flags)) in nfsd_dispatch()
1063 nfsd_cache_update(rqstp, rqstp->rq_cachetype, statp + 1); in nfsd_dispatch()
1069 *statp = rpc_garbage_args; in nfsd_dispatch()
1080 *statp = rpc_system_err; in nfsd_dispatch()
Dnfsd.h90 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/fs/nfs/
Dcallback_xdr.c983 nfs_callback_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfs_callback_dispatch() argument
990 *statp = procp->pc_func(rqstp); in nfs_callback_dispatch()
/Linux-v6.1/drivers/net/ethernet/amazon/ena/
Dena_netdev.c79 static void ena_increase_stat(u64 *statp, u64 cnt, in ena_increase_stat() argument
83 (*statp) += cnt; in ena_increase_stat()