Home
last modified time | relevance | path

Searched refs:bstat (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_itable.c43 * forward, regardless of whether or not we're sending any bstat information
268 /* Convert bulkstat (v5) to bstat (v1). */
273 const struct xfs_bulkstat *bstat) in xfs_bulkstat_to_bstat()
277 bs1->bs_ino = bstat->bs_ino; in xfs_bulkstat_to_bstat()
278 bs1->bs_mode = bstat->bs_mode; in xfs_bulkstat_to_bstat()
279 bs1->bs_nlink = bstat->bs_nlink; in xfs_bulkstat_to_bstat()
280 bs1->bs_uid = bstat->bs_uid; in xfs_bulkstat_to_bstat()
281 bs1->bs_gid = bstat->bs_gid; in xfs_bulkstat_to_bstat()
282 bs1->bs_rdev = bstat->bs_rdev; in xfs_bulkstat_to_bstat()
283 bs1->bs_blksize = bstat in xfs_bulkstat_to_bstat()
270 xfs_bulkstat_to_bstat( struct xfs_mount *mp, struct xfs_bstat *bs1, const struct xfs_bulkstat *bstat) xfs_bulkstat_to_bstat() argument
[all...]
H A Dxfs_ioctl32.c125 struct xfs_bstat *bstat, in xfs_ioctl32_bstat_copyin()
128 if (get_user(bstat->bs_ino, &bstat32->bs_ino) || in xfs_ioctl32_bstat_copyin()
129 get_user(bstat->bs_mode, &bstat32->bs_mode) || in xfs_ioctl32_bstat_copyin()
130 get_user(bstat->bs_nlink, &bstat32->bs_nlink) || in xfs_ioctl32_bstat_copyin()
131 get_user(bstat->bs_uid, &bstat32->bs_uid) || in xfs_ioctl32_bstat_copyin()
132 get_user(bstat->bs_gid, &bstat32->bs_gid) || in xfs_ioctl32_bstat_copyin()
133 get_user(bstat->bs_rdev, &bstat32->bs_rdev) || in xfs_ioctl32_bstat_copyin()
134 get_user(bstat->bs_blksize, &bstat32->bs_blksize) || in xfs_ioctl32_bstat_copyin()
135 get_user(bstat->bs_size, &bstat32->bs_size) || in xfs_ioctl32_bstat_copyin()
136 xfs_ioctl32_bstime_copyin(&bstat in xfs_ioctl32_bstat_copyin()
124 xfs_ioctl32_bstat_copyin( struct xfs_bstat *bstat, struct compat_xfs_bstat __user *bstat32) xfs_ioctl32_bstat_copyin() argument
172 xfs_fsbulkstat_one_fmt_compat( struct xfs_ibulk *breq, const struct xfs_bulkstat *bstat) xfs_fsbulkstat_one_fmt_compat() argument
[all...]
H A Dxfs_itable.h50 const struct xfs_bulkstat *bstat);
55 const struct xfs_bulkstat *bstat);
H A Dxfs_ioctl.h64 const struct xfs_bulkstat *bstat);
H A Dxfs_ioctl.c713 const struct xfs_bulkstat *bstat) in xfs_fsbulkstat_one_fmt()
717 xfs_bulkstat_to_bstat(breq->mp, &bs1, bstat); in xfs_fsbulkstat_one_fmt()
817 const struct xfs_bulkstat *bstat) in xfs_bulkstat_fmt()
819 if (copy_to_user(breq->ubuffer, bstat, sizeof(struct xfs_bulkstat))) in xfs_bulkstat_fmt()
711 xfs_fsbulkstat_one_fmt( struct xfs_ibulk *breq, const struct xfs_bulkstat *bstat) xfs_fsbulkstat_one_fmt() argument
815 xfs_bulkstat_fmt( struct xfs_ibulk *breq, const struct xfs_bulkstat *bstat) xfs_bulkstat_fmt() argument
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_itable.c44 * forward, regardless of whether or not we're sending any bstat information
327 /* Convert bulkstat (v5) to bstat (v1). */
332 const struct xfs_bulkstat *bstat) in xfs_bulkstat_to_bstat()
336 bs1->bs_ino = bstat->bs_ino; in xfs_bulkstat_to_bstat()
337 bs1->bs_mode = bstat->bs_mode; in xfs_bulkstat_to_bstat()
338 bs1->bs_nlink = bstat->bs_nlink; in xfs_bulkstat_to_bstat()
339 bs1->bs_uid = bstat->bs_uid; in xfs_bulkstat_to_bstat()
340 bs1->bs_gid = bstat->bs_gid; in xfs_bulkstat_to_bstat()
341 bs1->bs_rdev = bstat->bs_rdev; in xfs_bulkstat_to_bstat()
342 bs1->bs_blksize = bstat in xfs_bulkstat_to_bstat()
329 xfs_bulkstat_to_bstat( struct xfs_mount *mp, struct xfs_bstat *bs1, const struct xfs_bulkstat *bstat) xfs_bulkstat_to_bstat() argument
[all...]
H A Dxfs_ioctl32.c111 struct xfs_bstat *bstat, in xfs_ioctl32_bstat_copyin()
114 if (get_user(bstat->bs_ino, &bstat32->bs_ino) || in xfs_ioctl32_bstat_copyin()
115 get_user(bstat->bs_mode, &bstat32->bs_mode) || in xfs_ioctl32_bstat_copyin()
116 get_user(bstat->bs_nlink, &bstat32->bs_nlink) || in xfs_ioctl32_bstat_copyin()
117 get_user(bstat->bs_uid, &bstat32->bs_uid) || in xfs_ioctl32_bstat_copyin()
118 get_user(bstat->bs_gid, &bstat32->bs_gid) || in xfs_ioctl32_bstat_copyin()
119 get_user(bstat->bs_rdev, &bstat32->bs_rdev) || in xfs_ioctl32_bstat_copyin()
120 get_user(bstat->bs_blksize, &bstat32->bs_blksize) || in xfs_ioctl32_bstat_copyin()
121 get_user(bstat->bs_size, &bstat32->bs_size) || in xfs_ioctl32_bstat_copyin()
122 xfs_ioctl32_bstime_copyin(&bstat in xfs_ioctl32_bstat_copyin()
110 xfs_ioctl32_bstat_copyin( struct xfs_bstat *bstat, struct compat_xfs_bstat __user *bstat32) xfs_ioctl32_bstat_copyin() argument
158 xfs_fsbulkstat_one_fmt_compat( struct xfs_ibulk *breq, const struct xfs_bulkstat *bstat) xfs_fsbulkstat_one_fmt_compat() argument
[all...]
H A Dxfs_itable.h54 const struct xfs_bulkstat *bstat);
59 const struct xfs_bulkstat *bstat);
H A Dxfs_ioctl.h69 const struct xfs_bulkstat *bstat);
H A Dxfs_ioctl.c635 const struct xfs_bulkstat *bstat) in xfs_fsbulkstat_one_fmt()
639 xfs_bulkstat_to_bstat(breq->mp, &bs1, bstat); in xfs_fsbulkstat_one_fmt()
741 const struct xfs_bulkstat *bstat) in xfs_bulkstat_fmt()
743 if (copy_to_user(breq->ubuffer, bstat, sizeof(struct xfs_bulkstat))) in xfs_bulkstat_fmt()
633 xfs_fsbulkstat_one_fmt( struct xfs_ibulk *breq, const struct xfs_bulkstat *bstat) xfs_fsbulkstat_one_fmt() argument
739 xfs_bulkstat_fmt( struct xfs_ibulk *breq, const struct xfs_bulkstat *bstat) xfs_bulkstat_fmt() argument
/kernel/linux/linux-6.6/kernel/cgroup/
H A Drstat.c358 delta = rstatc->bstat; in cgroup_base_stat_flush()
363 cgroup_base_stat_add(&cgrp->bstat, &delta); in cgroup_base_stat_flush()
369 delta = cgrp->bstat; in cgroup_base_stat_flush()
371 cgroup_base_stat_add(&parent->bstat, &delta); in cgroup_base_stat_flush()
407 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime()
422 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
427 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()
431 rstatc->bstat.forceidle_sum += delta_exec; in __cgroup_account_cputime_field()
447 static void root_cgroup_cputime(struct cgroup_base_stat *bstat) in root_cgroup_cputime() argument
449 struct task_cputime *cputime = &bstat in root_cgroup_cputime()
484 struct cgroup_base_stat bstat; cgroup_base_stat_cputime_show() local
[all...]
/kernel/linux/linux-5.10/kernel/cgroup/
H A Drstat.c322 cur.cputime = rstatc->bstat.cputime; in cgroup_base_stat_flush()
328 cgroup_base_stat_add(&cgrp->bstat, &delta); in cgroup_base_stat_flush()
333 delta = cgrp->bstat; in cgroup_base_stat_flush()
335 cgroup_base_stat_add(&parent->bstat, &delta); in cgroup_base_stat_flush()
363 rstatc->bstat.cputime.sum_exec_runtime += delta_exec; in __cgroup_account_cputime()
377 rstatc->bstat.cputime.utime += delta_exec; in __cgroup_account_cputime_field()
382 rstatc->bstat.cputime.stime += delta_exec; in __cgroup_account_cputime_field()
435 usage = cgrp->bstat.cputime.sum_exec_runtime; in cgroup_base_stat_cputime_show()
436 cputime_adjust(&cgrp->bstat.cputime, &cgrp->prev_cputime, in cgroup_base_stat_cputime_show()
/kernel/linux/linux-5.10/include/linux/
H A Dcgroup-defs.h307 * resource statistics on top of it - bsync, bstat and last_bstat.
311 * ->bsync protects ->bstat. These are the only fields which get
315 struct cgroup_base_stat bstat; member
458 struct cgroup_base_stat bstat; member
/kernel/linux/linux-6.6/include/linux/
H A Dcgroup-defs.h328 * resource statistics on top of it - bsync, bstat and last_bstat.
332 * ->bsync protects ->bstat. These are the only fields which get
336 struct cgroup_base_stat bstat; member
496 struct cgroup_base_stat bstat; member
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
H A Disar.h48 u8 bstat; member
H A DmISDNisar.c287 isar->bstat = 0; in load_firmware()
312 while ((!isar->bstat) && cnt) { in load_firmware()
322 isar->name, isar->bstat); in load_firmware()
581 if (!(ch->is->bstat & in isar_fill_fifo()
1055 isar->bstat |= isar->cmsb; in mISDNisar_irq()
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/
H A Disar.h48 u8 bstat; member
H A DmISDNisar.c287 isar->bstat = 0; in load_firmware()
312 while ((!isar->bstat) && cnt) { in load_firmware()
322 isar->name, isar->bstat); in load_firmware()
581 if (!(ch->is->bstat & in isar_fill_fifo()
1055 isar->bstat |= isar->cmsb; in mISDNisar_irq()
/kernel/linux/linux-5.10/drivers/atm/
H A Dfore200e.c340 fore200e->bus->write(BSTAT_COLD_START, &fore200e->cp_monitor->bstat); in fore200e_reset()
345 ok = fore200e_io_poll(fore200e, &fore200e->cp_monitor->bstat, BSTAT_SELFTEST_OK, 1000); in fore200e_reset()
2434 if (fore200e_io_poll(fore200e, &fore200e->cp_monitor->bstat, BSTAT_CP_RUNNING, 1000) == 0) { in fore200e_load_and_start_fw()
2829 fore200e->bus->read(&cp_monitor->bstat)); in fore200e_proc_read()
H A Dfore200e.h744 enum boot_status bstat; /* boot status */ member
/kernel/linux/linux-6.6/drivers/atm/
H A Dfore200e.c337 fore200e->bus->write(BSTAT_COLD_START, &fore200e->cp_monitor->bstat); in fore200e_reset()
342 ok = fore200e_io_poll(fore200e, &fore200e->cp_monitor->bstat, BSTAT_SELFTEST_OK, 1000); in fore200e_reset()
2432 if (fore200e_io_poll(fore200e, &fore200e->cp_monitor->bstat, BSTAT_CP_RUNNING, 1000) == 0) { in fore200e_load_and_start_fw()
2827 fore200e->bus->read(&cp_monitor->bstat)); in fore200e_proc_read()
H A Dfore200e.h744 enum boot_status bstat; /* boot status */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
H A Dsil-sii8620.c1980 u8 bstat = sii8620_readb(ctx, REG_SPIBURSTSTAT); in sii8620_irq_block() local
1982 if (bstat & BIT_SPIBURSTSTAT_EMSC_NORMAL_MODE) in sii8620_irq_block()
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dsil-sii8620.c1980 u8 bstat = sii8620_readb(ctx, REG_SPIBURSTSTAT); in sii8620_irq_block() local
1982 if (bstat & BIT_SPIBURSTSTAT_EMSC_NORMAL_MODE) in sii8620_irq_block()

Completed in 37 milliseconds