Home
last modified time | relevance | path

Searched refs:statp (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/net/sunrpc/
H A 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
293 rpc_proc_register(struct net *net, struct rpc_stat *statp) rpc_proc_register() argument
310 svc_proc_register(struct net *net, struct svc_stat *statp, const struct proc_ops *proc_ops) svc_proc_register() argument
[all...]
H A Dsvc.c1173 svc_get_autherr(struct svc_rqst *rqstp, __be32 *statp) in svc_get_autherr() argument
1176 return *statp; in svc_get_autherr()
1181 svc_generic_dispatch(struct svc_rqst *rqstp, __be32 *statp) in svc_generic_dispatch() argument
1193 *statp = rpc_garbage_args; in svc_generic_dispatch()
1197 *statp = procp->pc_func(rqstp); in svc_generic_dispatch()
1199 if (*statp == rpc_drop_reply || in svc_generic_dispatch()
1206 if (*statp != rpc_success) in svc_generic_dispatch()
1214 *statp = rpc_system_err; in svc_generic_dispatch()
1282 __be32 *statp; in svc_process_common() local
1378 statp in svc_process_common()
[all...]
/kernel/linux/linux-6.6/net/sunrpc/
H A 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
298 rpc_proc_register(struct net *net, struct rpc_stat *statp) rpc_proc_register() argument
315 svc_proc_register(struct net *net, struct svc_stat *statp, const struct proc_ops *proc_ops) svc_proc_register() argument
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_qm_bhv.c21 struct kstatfs *statp, in xfs_fill_statvfs_from_dquot()
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 in xfs_fill_statvfs_from_dquot()
20 xfs_fill_statvfs_from_dquot( struct kstatfs *statp, struct xfs_dquot *dqp) xfs_fill_statvfs_from_dquot() argument
56 xfs_qm_statvfs( struct xfs_inode *ip, struct kstatfs *statp) xfs_qm_statvfs() argument
[all...]
H A Dxfs_super.c787 struct kstatfs *statp) in xfs_fs_statfs()
799 statp->f_type = XFS_SUPER_MAGIC; in xfs_fs_statfs()
800 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
803 statp->f_fsid = u64_to_fsid(id); in xfs_fs_statfs()
810 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
812 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
815 /* make sure statp->f_bfree does not underflow */ in xfs_fs_statfs()
816 statp->f_bfree = max_t(int64_t, fdblocks - mp->m_alloc_set_aside, 0); in xfs_fs_statfs()
817 statp->f_bavail = statp in xfs_fs_statfs()
785 xfs_fs_statfs( struct dentry *dentry, struct kstatfs *statp) xfs_fs_statfs() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_qm_bhv.c21 struct kstatfs *statp, in xfs_fill_statvfs_from_dquot()
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 in xfs_fill_statvfs_from_dquot()
20 xfs_fill_statvfs_from_dquot( struct kstatfs *statp, struct xfs_dquot *dqp) xfs_fill_statvfs_from_dquot() argument
56 xfs_qm_statvfs( struct xfs_inode *ip, struct kstatfs *statp) xfs_qm_statvfs() argument
[all...]
H A Dxfs_super.c826 struct kstatfs *statp) in xfs_fs_statfs()
844 statp->f_type = XFS_SUPER_MAGIC; in xfs_fs_statfs()
845 statp->f_namelen = MAXNAMELEN - 1; in xfs_fs_statfs()
848 statp->f_fsid = u64_to_fsid(id); in xfs_fs_statfs()
855 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
857 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
860 /* make sure statp->f_bfree does not underflow */ in xfs_fs_statfs()
861 statp->f_bfree = max_t(int64_t, 0, in xfs_fs_statfs()
863 statp->f_bavail = statp in xfs_fs_statfs()
824 xfs_fs_statfs( struct dentry *dentry, struct kstatfs *statp) xfs_fs_statfs() argument
[all...]
/kernel/linux/linux-5.10/kernel/locking/
H A Dlocktorture.c681 struct lock_stress_stats *statp, bool write) in __torture_print_stats()
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()
680 __torture_print_stats(char *page, struct lock_stress_stats *statp, bool write) __torture_print_stats() argument
/kernel/linux/linux-6.6/fs/lockd/
H A Dsvc.c645 __be32 *statp = rqstp->rq_accept_statp; in nlmsvc_dispatch() local
650 *statp = procp->pc_func(rqstp); in nlmsvc_dispatch()
651 if (*statp == rpc_drop_reply) in nlmsvc_dispatch()
653 if (*statp != rpc_success) in nlmsvc_dispatch()
662 *statp = rpc_garbage_args; in nlmsvc_dispatch()
666 *statp = rpc_system_err; in nlmsvc_dispatch()
/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfscache.c488 * @statp: Reply's status code
502 * In this case, nfsd_cache_update is called with statp == NULL.
504 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()
H A Dnfssvc.c1029 * @statp: pointer to location of accept_stat field in RPC Reply buffer
1037 int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) in nfsd_dispatch() argument
1074 *statp = proc->pc_func(rqstp); in nfsd_dispatch()
1075 if (*statp == rpc_drop_reply || test_bit(RQ_DROPME, &rqstp->rq_flags)) in nfsd_dispatch()
1081 nfsd_cache_update(rqstp, rqstp->rq_cachetype, statp + 1); in nfsd_dispatch()
1087 *statp = rpc_garbage_args; in nfsd_dispatch()
1092 *statp = rpc_garbage_args; in nfsd_dispatch()
1104 *statp = rpc_system_err; in nfsd_dispatch()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfscache.c595 * @statp: pointer to Reply's NFS status code, or NULL
609 * In this case, nfsd_cache_update is called with statp == NULL.
612 int cachetype, __be32 *statp) in nfsd_cache_update()
625 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
629 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()
638 rp->c_replstat = *statp; in nfsd_cache_update()
649 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
611 nfsd_cache_update(struct svc_rqst *rqstp, struct nfsd_cacherep *rp, int cachetype, __be32 *statp) nfsd_cache_update() argument
H A Dcache.h90 int cachetype, __be32 *statp);
H A Dnfssvc.c988 __be32 *statp = rqstp->rq_accept_statp; in nfsd_dispatch() local
1020 *statp = proc->pc_func(rqstp); in nfsd_dispatch()
1033 *statp = rpc_garbage_args; in nfsd_dispatch()
1044 *statp = rpc_system_err; in nfsd_dispatch()
/kernel/linux/linux-6.6/kernel/locking/
H A Dlocktorture.c900 struct lock_stress_stats *statp, bool write) in __torture_print_stats()
905 long max = 0, min = statp ? data_race(statp[0].n_lock_acquired) : 0; in __torture_print_stats()
910 if (data_race(statp[i].n_lock_fail)) in __torture_print_stats()
912 cur = data_race(statp[i].n_lock_acquired); in __torture_print_stats()
899 __torture_print_stats(char *page, struct lock_stress_stats *statp, bool write) __torture_print_stats() argument
/kernel/linux/linux-5.10/drivers/crypto/bcm/
H A Dspu2.h210 int spu2_status_process(u8 *statp);
H A Dspu.h266 int spum_status_process(u8 *statp);
H A Dcipher.h399 int (*spu_status_process)(u8 *statp);
H A Dspu2.c1317 * @statp: start of STATUS word
1322 int spu2_status_process(u8 *statp) in spu2_status_process() argument
1325 u16 status = le16_to_cpu(*(__le16 *)statp); in spu2_status_process()
H A Dspu.c1111 * @statp: start of STATUS word
1116 int spum_status_process(u8 *statp) in spum_status_process() argument
1120 status = __be32_to_cpu(*(__be32 *)statp); in spum_status_process()
/kernel/linux/linux-6.6/drivers/crypto/bcm/
H A Dspu2.h210 int spu2_status_process(u8 *statp);
H A Dspu.h267 int spum_status_process(u8 *statp);
H A Dcipher.h397 int (*spu_status_process)(u8 *statp);
H A Dspu2.c1320 * @statp: start of STATUS word
1325 int spu2_status_process(u8 *statp) in spu2_status_process() argument
1328 u16 status = le16_to_cpu(*(__le16 *)statp); in spu2_status_process()
H A Dspu.c1109 * @statp: start of STATUS word
1114 int spum_status_process(u8 *statp) in spum_status_process() argument
1118 status = __be32_to_cpu(*(__be32 *)statp); in spum_status_process()

Completed in 26 milliseconds

12