Home
last modified time | relevance | path

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

/openbmc/qemu/fsdev/
H A D9p-iov-marshal.c153 V9fsStat *statp = va_arg(ap, V9fsStat *); in v9fs_iov_vunmarshal() local
156 &statp->size, &statp->type, in v9fs_iov_vunmarshal()
157 &statp->dev, &statp->qid, in v9fs_iov_vunmarshal()
158 &statp->mode, &statp->atime, in v9fs_iov_vunmarshal()
159 &statp->mtime, &statp->length, in v9fs_iov_vunmarshal()
160 &statp->name, &statp->uid, in v9fs_iov_vunmarshal()
161 &statp->gid, &statp->muid, in v9fs_iov_vunmarshal()
162 &statp->extension, in v9fs_iov_vunmarshal()
163 &statp->n_uid, &statp->n_gid, in v9fs_iov_vunmarshal()
164 &statp->n_muid); in v9fs_iov_vunmarshal()
[all …]
/openbmc/linux/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
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_qm_bhv.c21 struct kstatfs *statp, in xfs_fill_statvfs_from_dquot() argument
41 statp->f_blocks = min(statp->f_blocks, limit); in xfs_fill_statvfs_from_dquot()
42 statp->f_bfree = min(statp->f_bfree, remaining); in xfs_fill_statvfs_from_dquot()
43 statp->f_bavail = min(statp->f_bavail, remaining); in xfs_fill_statvfs_from_dquot()
55 statp->f_files = min(statp->f_files, limit); in xfs_fill_statvfs_from_dquot()
56 statp->f_ffree = min(statp->f_ffree, remaining); in xfs_fill_statvfs_from_dquot()
71 struct kstatfs *statp) in xfs_qm_statvfs() argument
77 xfs_fill_statvfs_from_dquot(statp, ip, dqp); in xfs_qm_statvfs()
H A Dxfs_super.c826 struct kstatfs *statp) in xfs_fs_statfs() argument
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()
861 statp->f_bfree = max_t(int64_t, 0, in xfs_fs_statfs()
863 statp->f_bavail = statp->f_bfree; in xfs_fs_statfs()
865 fakeinos = XFS_FSB_TO_INO(mp, statp->f_bfree); in xfs_fs_statfs()
866 statp->f_files = min(icount + fakeinos, (uint64_t)XFS_MAXINUMBER); in xfs_fs_statfs()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/
H A D0001-Add-resolv_compat.h-for-musl-builds.patch50 +static inline int res_ninit(res_state statp)
53 + if (statp != &_res) {
54 + memcpy(statp, &_res, sizeof(*statp));
59 +static inline int res_nclose(res_state statp)
61 + if (!statp)
63 + if (statp != &_res) {
64 + memset(statp, 0, sizeof(*statp));
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-links.patch33 if (lp->inum == statp->st_ino && lp->devnum == statp->st_dev) {
36 lp->inum = statp->st_ino;
37 lp->devnum = statp->st_dev;
38 lp->count = statp->st_nlink - 1;
H A Drdist-6.1.5-lfs.patch61 if (statp->st_mtime != mtime) {
62 if (statp->st_mtime < mtime && IS_ON(opts, DO_YOUNGER)) {
66 if (statp->st_size != size) {
68 - (int) statp->st_size, size);
70 + statp->st_size, size);
H A Drdist-6.1.5-cleanup.patch338 struct stat *statp;
351 debugmsg(DM_CALL, "update(%s, 0x%x, 0x%x)\n", rname, opts, statp);
/openbmc/linux/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()
/openbmc/linux/fs/nfsd/
H A Dnfscache.c590 int cachetype, __be32 *statp) in nfsd_cache_update() argument
603 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base); in nfsd_cache_update()
607 if (!statp || len > (256 >> 2)) { in nfsd_cache_update()
616 rp->c_replstat = *statp; in nfsd_cache_update()
627 memcpy(cachv->iov_base, statp, bufsize); in nfsd_cache_update()
H A Dcache.h88 int cachetype, __be32 *statp);
H A Dnfssvc.c978 __be32 *statp = rqstp->rq_accept_statp; in nfsd_dispatch() local
1010 *statp = proc->pc_func(rqstp); in nfsd_dispatch()
1023 *statp = rpc_garbage_args; in nfsd_dispatch()
1034 *statp = rpc_system_err; in nfsd_dispatch()
/openbmc/linux/kernel/locking/
H A Dlocktorture.c900 struct lock_stress_stats *statp, bool write) in __torture_print_stats() argument
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()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.h414 static inline void ena_increase_stat(u64 *statp, u64 cnt, in ena_increase_stat() argument
418 (*statp) += cnt; in ena_increase_stat()
/openbmc/linux/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 Dspu.c1114 int spum_status_process(u8 *statp) in spum_status_process() argument
1118 status = __be32_to_cpu(*(__be32 *)statp); in spum_status_process()
H A 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()
/openbmc/linux/drivers/usb/gadget/udc/
H A 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()