Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1169 svc_get_autherr(struct svc_rqst *rqstp, __be32 *statp) in svc_get_autherr() argument
1172 return *statp; in svc_get_autherr()
1177 svc_generic_dispatch(struct svc_rqst *rqstp, __be32 *statp) in svc_generic_dispatch() argument
1189 *statp = rpc_garbage_args; in svc_generic_dispatch()
1193 *statp = procp->pc_func(rqstp); in svc_generic_dispatch()
1195 if (*statp == rpc_drop_reply || in svc_generic_dispatch()
1202 if (*statp != rpc_success) in svc_generic_dispatch()
1210 *statp = rpc_system_err; in svc_generic_dispatch()
1278 __be32 *statp; in svc_process_common() local
1374 statp = resv->iov_base +resv->iov_len; in svc_process_common()
[all …]
/Linux-v5.10/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.c781 struct kstatfs *statp) in xfs_fs_statfs() argument
793 statp->f_type = XFS_SUPER_MAGIC; in xfs_fs_statfs()
794 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
797 statp->f_fsid = u64_to_fsid(id); in xfs_fs_statfs()
804 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
806 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
810 statp->f_bfree = max_t(int64_t, fdblocks - mp->m_alloc_set_aside, 0); in xfs_fs_statfs()
811 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
813 fakeinos = XFS_FSB_TO_INO(mp, statp->f_bfree); in xfs_fs_statfs()
814 statp->f_files = min(icount + fakeinos, (uint64_t)XFS_MAXINUMBER); in xfs_fs_statfs()
[all …]
/Linux-v5.10/kernel/locking/
Dlocktorture.c681 struct lock_stress_stats *statp, bool write) in __torture_print_stats() argument
685 long max = 0, min = statp ? statp[0].n_lock_acquired : 0; in __torture_print_stats()
690 if (statp[i].n_lock_fail) in __torture_print_stats()
692 sum += statp[i].n_lock_acquired; in __torture_print_stats()
693 if (max < statp[i].n_lock_acquired) in __torture_print_stats()
694 max = statp[i].n_lock_acquired; in __torture_print_stats()
695 if (min > statp[i].n_lock_acquired) in __torture_print_stats()
696 min = statp[i].n_lock_acquired; in __torture_print_stats()
/Linux-v5.10/fs/nfsd/
Dnfscache.c504 void nfsd_cache_update(struct svc_rqst *rqstp, int cachetype, __be32 *statp) in nfsd_cache_update() argument
520 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
524 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()
533 rp->c_replstat = *statp; in nfsd_cache_update()
544 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
Dnfssvc.c1005 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument
1042 *statp = proc->pc_func(rqstp); in nfsd_dispatch()
1043 if (*statp == rpc_drop_reply || test_bit(RQ_DROPME, &rqstp->rq_flags)) in nfsd_dispatch()
1049 nfsd_cache_update(rqstp, rqstp->rq_cachetype, statp + 1); in nfsd_dispatch()
1055 *statp = rpc_garbage_args; in nfsd_dispatch()
1060 *statp = rpc_garbage_args; in nfsd_dispatch()
1072 *statp = rpc_system_err; in nfsd_dispatch()
Dnfsd.h80 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp);
/Linux-v5.10/drivers/crypto/bcm/
Dspu2.h210 int spu2_status_process(u8 *statp);
Dspu.h266 int spum_status_process(u8 *statp);
Dcipher.h399 int (*spu_status_process)(u8 *statp);
Dspu.c1116 int spum_status_process(u8 *statp) in spum_status_process() argument
1120 status = __be32_to_cpu(*(__be32 *)statp); in spum_status_process()
Dspu2.c1322 int spu2_status_process(u8 *statp) in spu2_status_process() argument
1325 u16 status = le16_to_cpu(*(__le16 *)statp); in spu2_status_process()
/Linux-v5.10/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()