/linux-4.19.296/fs/ |
D | stat.c | 33 void generic_fillattr(struct inode *inode, struct kstat *stat) in generic_fillattr() argument 35 stat->dev = inode->i_sb->s_dev; in generic_fillattr() 36 stat->ino = inode->i_ino; in generic_fillattr() 37 stat->mode = inode->i_mode; in generic_fillattr() 38 stat->nlink = inode->i_nlink; in generic_fillattr() 39 stat->uid = inode->i_uid; in generic_fillattr() 40 stat->gid = inode->i_gid; in generic_fillattr() 41 stat->rdev = inode->i_rdev; in generic_fillattr() 42 stat->size = i_size_read(inode); in generic_fillattr() 43 stat->atime = inode->i_atime; in generic_fillattr() [all …]
|
/linux-4.19.296/fs/nfs/ |
D | iostat.h | 27 enum nfs_stat_eventcounters stat) in nfs_inc_server_stats() argument 29 this_cpu_inc(server->io_stats->events[stat]); in nfs_inc_server_stats() 33 enum nfs_stat_eventcounters stat) in nfs_inc_stats() argument 35 nfs_inc_server_stats(NFS_SERVER(inode), stat); in nfs_inc_stats() 39 enum nfs_stat_bytecounters stat, in nfs_add_server_stats() argument 42 this_cpu_add(server->io_stats->bytes[stat], addend); in nfs_add_server_stats() 46 enum nfs_stat_bytecounters stat, in nfs_add_stats() argument 49 nfs_add_server_stats(NFS_SERVER(inode), stat, addend); in nfs_add_stats() 54 enum nfs_stat_fscachecounters stat, in nfs_add_fscache_stats() argument 57 this_cpu_add(NFS_SERVER(inode)->io_stats->fscache[stat], addend); in nfs_add_fscache_stats() [all …]
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-designware-slave.c | 106 u32 stat; in i2c_dw_read_clear_intrbits_slave() local 120 stat = dw_readl(dev, DW_IC_INTR_STAT); in i2c_dw_read_clear_intrbits_slave() 129 if (stat & DW_IC_INTR_TX_ABRT) in i2c_dw_read_clear_intrbits_slave() 131 if (stat & DW_IC_INTR_RX_UNDER) in i2c_dw_read_clear_intrbits_slave() 133 if (stat & DW_IC_INTR_RX_OVER) in i2c_dw_read_clear_intrbits_slave() 135 if (stat & DW_IC_INTR_TX_OVER) in i2c_dw_read_clear_intrbits_slave() 137 if (stat & DW_IC_INTR_RX_DONE) in i2c_dw_read_clear_intrbits_slave() 139 if (stat & DW_IC_INTR_ACTIVITY) in i2c_dw_read_clear_intrbits_slave() 141 if (stat & DW_IC_INTR_STOP_DET) in i2c_dw_read_clear_intrbits_slave() 143 if (stat & DW_IC_INTR_START_DET) in i2c_dw_read_clear_intrbits_slave() [all …]
|
D | i2c-designware-master.c | 515 u32 stat; in i2c_dw_read_clear_intrbits() local 529 stat = dw_readl(dev, DW_IC_INTR_STAT); in i2c_dw_read_clear_intrbits() 538 if (stat & DW_IC_INTR_RX_UNDER) in i2c_dw_read_clear_intrbits() 540 if (stat & DW_IC_INTR_RX_OVER) in i2c_dw_read_clear_intrbits() 542 if (stat & DW_IC_INTR_TX_OVER) in i2c_dw_read_clear_intrbits() 544 if (stat & DW_IC_INTR_RD_REQ) in i2c_dw_read_clear_intrbits() 546 if (stat & DW_IC_INTR_TX_ABRT) { in i2c_dw_read_clear_intrbits() 554 if (stat & DW_IC_INTR_RX_DONE) in i2c_dw_read_clear_intrbits() 556 if (stat & DW_IC_INTR_ACTIVITY) in i2c_dw_read_clear_intrbits() 558 if (stat & DW_IC_INTR_STOP_DET) in i2c_dw_read_clear_intrbits() [all …]
|
D | i2c-omap.c | 555 u16 stat, systest; in omap_i2c_wait_for_bb_valid() local 562 stat = omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG); in omap_i2c_wait_for_bb_valid() 568 if (stat & (OMAP_I2C_STAT_BB | OMAP_I2C_STAT_BF)) in omap_i2c_wait_for_bb_valid() 831 omap_i2c_ack_stat(struct omap_i2c_dev *omap, u16 stat) in omap_i2c_ack_stat() argument 833 omap_i2c_write_reg(omap, OMAP_I2C_STAT_REG, stat); in omap_i2c_ack_stat() 836 static inline void i2c_omap_errata_i207(struct omap_i2c_dev *omap, u16 stat) in i2c_omap_errata_i207() argument 845 if (stat & OMAP_I2C_STAT_RDR) { in i2c_omap_errata_i207() 933 u16 stat; in errata_omap3_i462() local 936 stat = omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG); in errata_omap3_i462() 937 if (stat & OMAP_I2C_STAT_XUDF) in errata_omap3_i462() [all …]
|
/linux-4.19.296/block/ |
D | blk-stat.c | 20 void blk_rq_stat_init(struct blk_rq_stat *stat) in blk_rq_stat_init() argument 22 stat->min = -1ULL; in blk_rq_stat_init() 23 stat->max = stat->nr_samples = stat->mean = 0; in blk_rq_stat_init() 24 stat->batch = 0; in blk_rq_stat_init() 42 void blk_rq_stat_add(struct blk_rq_stat *stat, u64 value) in blk_rq_stat_add() argument 44 stat->min = min(stat->min, value); in blk_rq_stat_add() 45 stat->max = max(stat->max, value); in blk_rq_stat_add() 46 stat->batch += value; in blk_rq_stat_add() 47 stat->nr_samples++; in blk_rq_stat_add() 54 struct blk_rq_stat *stat; in blk_stat_add() local [all …]
|
/linux-4.19.296/drivers/media/common/siano/ |
D | smsdvb-main.c | 147 c->strength.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready() 148 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in smsdvb_stats_not_ready() 161 c->post_bit_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 162 c->post_bit_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 163 c->block_error.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 164 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 251 c->strength.stat[0].uvalue = p->in_band_power * 1000; in smsdvb_update_per_slices() 254 c->cnr.stat[0].svalue = p->snr * 1000; in smsdvb_update_per_slices() 261 client->last_per = c->block_error.stat[0].uvalue; in smsdvb_update_per_slices() 262 c->block_error.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() [all …]
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | mxl5xx.c | 160 int stat; in read_register_unlocked() local 167 stat = i2cwrite(state, data, in read_register_unlocked() 169 if (stat) in read_register_unlocked() 171 if (!stat) in read_register_unlocked() 172 stat = i2cread(state, (u8 *) val, in read_register_unlocked() 175 if (stat) in read_register_unlocked() 177 return stat; in read_register_unlocked() 185 int stat; in send_command() local 206 stat = i2cwrite(state, buf, size); in send_command() 208 return stat; in send_command() [all …]
|
D | mb86a20s.c | 335 return c->strength.stat[0].uvalue; in mb86a20s_read_signal_strength() 338 c->strength.stat[0].uvalue = 0; in mb86a20s_read_signal_strength() 376 c->strength.stat[0].uvalue = rf; in mb86a20s_read_signal_strength() 1423 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mb86a20s_get_main_CNR() 1424 c->cnr.stat[0].svalue = cnr; in mb86a20s_get_main_CNR() 1467 c->cnr.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_get_blk_error_layer_CNR() 1511 c->cnr.stat[1 + layer].scale = FE_SCALE_DECIBEL; in mb86a20s_get_blk_error_layer_CNR() 1512 c->cnr.stat[1 + layer].svalue = cnr; in mb86a20s_get_blk_error_layer_CNR() 1563 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in mb86a20s_stats_not_ready() 1564 c->strength.stat[0].uvalue = 0; in mb86a20s_stats_not_ready() [all …]
|
D | mn88473.c | 333 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in mn88473_read_status() 334 c->strength.stat[0].uvalue = utmp1; in mn88473_read_status() 336 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status() 357 c->cnr.stat[0].svalue = stmp; in mn88473_read_status() 358 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status() 391 c->cnr.stat[0].svalue = stmp; in mn88473_read_status() 392 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status() 413 c->cnr.stat[0].svalue = stmp; in mn88473_read_status() 414 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88473_read_status() 416 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status() [all …]
|
D | lgdt330x.c | 300 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init() 302 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init() 304 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init() 690 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 691 p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 692 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 704 p->cnr.stat[0].scale = FE_SCALE_DECIBEL; in lgdt3302_read_status() 705 p->cnr.stat[0].svalue = (((u64)state->snr) * 1000) >> 24; in lgdt3302_read_status() 707 p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 717 p->block_error.stat[0].uvalue += state->ucblocks; in lgdt3302_read_status() [all …]
|
D | stv6111.c | 427 int stat = 0; in set_bandwidth() local 439 stat = fe->ops.i2c_gate_ctrl(fe, 1); in set_bandwidth() 440 if (!stat) { in set_bandwidth() 444 if (fe->ops.i2c_gate_ctrl && !stat) in set_bandwidth() 446 return stat; in set_bandwidth() 524 int stat = 0; in set_params() local 533 stat = fe->ops.i2c_gate_ctrl(fe, 1); in set_params() 534 if (!stat) in set_params() 536 if (fe->ops.i2c_gate_ctrl && !stat) in set_params() 583 int stat = 0; in get_rf_strength() local [all …]
|
D | mn88443x.c | 286 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88443x_s_read_status() 295 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in mn88443x_s_read_status() 296 c->strength.stat[0].uvalue = agc; in mn88443x_s_read_status() 300 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88443x_s_read_status() 334 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in mn88443x_s_read_status() 335 c->cnr.stat[0].uvalue = cnr; in mn88443x_s_read_status() 340 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88443x_s_read_status() 341 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88443x_s_read_status() 355 c->post_bit_error.stat[0].scale = FE_SCALE_COUNTER; in mn88443x_s_read_status() 356 c->post_bit_error.stat[0].uvalue = bit_err; in mn88443x_s_read_status() [all …]
|
D | rtl2830.c | 131 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 133 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 135 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 137 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_init() 433 c->strength.stat[0].scale = FE_SCALE_RELATIVE; in rtl2830_read_status() 434 c->strength.stat[0].uvalue = utmp; in rtl2830_read_status() 436 c->strength.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_read_status() 475 c->cnr.stat[0].scale = FE_SCALE_DECIBEL; in rtl2830_read_status() 476 c->cnr.stat[0].svalue = stmp; in rtl2830_read_status() 478 c->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in rtl2830_read_status() [all …]
|
/linux-4.19.296/drivers/irqchip/ |
D | irq-bcm2835.c | 207 u32 stat = readl_relaxed(intc.pending[bank]); in armctrl_translate_bank() local 209 return MAKE_HWIRQ(bank, ffs(stat) - 1); in armctrl_translate_bank() 212 static u32 armctrl_translate_shortcut(int bank, u32 stat) in armctrl_translate_shortcut() argument 214 return MAKE_HWIRQ(bank, shortcuts[ffs(stat >> SHORTCUT_SHIFT) - 1]); in armctrl_translate_shortcut() 219 u32 stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK; in get_next_armctrl_hwirq() local 221 if (stat == 0) in get_next_armctrl_hwirq() 223 else if (stat & BANK0_HWIRQ_MASK) in get_next_armctrl_hwirq() 224 return MAKE_HWIRQ(0, ffs(stat & BANK0_HWIRQ_MASK) - 1); in get_next_armctrl_hwirq() 225 else if (stat & SHORTCUT1_MASK) in get_next_armctrl_hwirq() 226 return armctrl_translate_shortcut(1, stat & SHORTCUT1_MASK); in get_next_armctrl_hwirq() [all …]
|
D | irq-orion.c | 41 u32 stat = readl_relaxed(gc->reg_base + ORION_IRQ_CAUSE) & in orion_handle_irq() local 43 while (stat) { in orion_handle_irq() 44 u32 hwirq = __fls(stat); in orion_handle_irq() 47 stat &= ~(1 << hwirq); in orion_handle_irq() 114 u32 stat = readl_relaxed(gc->reg_base + ORION_BRIDGE_IRQ_CAUSE) & in orion_bridge_irq_handler() local 117 while (stat) { in orion_bridge_irq_handler() 118 u32 hwirq = __fls(stat); in orion_bridge_irq_handler() 121 stat &= ~(1 << hwirq); in orion_bridge_irq_handler()
|
/linux-4.19.296/fs/nfsd/ |
D | nfsxdr.c | 130 struct kstat *stat) in encode_fattr() argument 137 type = (stat->mode & S_IFMT); in encode_fattr() 140 *p++ = htonl((u32) stat->mode); in encode_fattr() 141 *p++ = htonl((u32) stat->nlink); in encode_fattr() 142 *p++ = htonl((u32) from_kuid(&init_user_ns, stat->uid)); in encode_fattr() 143 *p++ = htonl((u32) from_kgid(&init_user_ns, stat->gid)); in encode_fattr() 145 if (S_ISLNK(type) && stat->size > NFS_MAXPATHLEN) { in encode_fattr() 148 *p++ = htonl((u32) stat->size); in encode_fattr() 150 *p++ = htonl((u32) stat->blksize); in encode_fattr() 152 *p++ = htonl(new_encode_dev(stat->rdev)); in encode_fattr() [all …]
|
/linux-4.19.296/fs/9p/ |
D | vfs_inode_dotl.c | 473 v9fs_vfs_getattr_dotl(const struct path *path, struct kstat *stat, in v9fs_vfs_getattr_dotl() argument 484 generic_fillattr(d_inode(dentry), stat); in v9fs_vfs_getattr_dotl() 500 generic_fillattr(d_inode(dentry), stat); in v9fs_vfs_getattr_dotl() 502 stat->blksize = st->st_blksize; in v9fs_vfs_getattr_dotl() 615 v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode, in v9fs_stat2inode_dotl() argument 621 if ((stat->st_result_mask & P9_STATS_BASIC) == P9_STATS_BASIC) { in v9fs_stat2inode_dotl() 622 inode->i_atime.tv_sec = stat->st_atime_sec; in v9fs_stat2inode_dotl() 623 inode->i_atime.tv_nsec = stat->st_atime_nsec; in v9fs_stat2inode_dotl() 624 inode->i_mtime.tv_sec = stat->st_mtime_sec; in v9fs_stat2inode_dotl() 625 inode->i_mtime.tv_nsec = stat->st_mtime_nsec; in v9fs_stat2inode_dotl() [all …]
|
/linux-4.19.296/fs/xfs/ |
D | xfs_itable.c | 34 int *stat) /* BULKSTAT_RV_... */ in xfs_bulkstat_one_int() argument 42 *stat = BULKSTAT_RV_NOTHING; in xfs_bulkstat_one_int() 121 *stat = BULKSTAT_RV_DIDONE; in xfs_bulkstat_one_int() 152 int *stat) /* BULKSTAT_RV_... */ in xfs_bulkstat_one() argument 155 xfs_bulkstat_one_fmt, ubused, stat); in xfs_bulkstat_one() 203 int stat; in xfs_bulkstat_grab_ichunk() local 207 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &stat); in xfs_bulkstat_grab_ichunk() 210 if (!stat) { in xfs_bulkstat_grab_ichunk() 216 error = xfs_inobt_get_rec(cur, irec, &stat); in xfs_bulkstat_grab_ichunk() 219 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, stat == 1); in xfs_bulkstat_grab_ichunk() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | wbt.h | 17 TP_PROTO(struct backing_dev_info *bdi, struct blk_rq_stat *stat), 19 TP_ARGS(bdi, stat), 38 __entry->rmean = stat[0].mean; 39 __entry->rmin = stat[0].min; 40 __entry->rmax = stat[0].max; 41 __entry->rnr_samples = stat[0].nr_samples; 42 __entry->wmean = stat[1].mean; 43 __entry->wmin = stat[1].min; 44 __entry->wmax = stat[1].max; 45 __entry->wnr_samples = stat[1].nr_samples;
|
/linux-4.19.296/fs/overlayfs/ |
D | copy_up.c | 184 static int ovl_set_size(struct dentry *upperdentry, struct kstat *stat) in ovl_set_size() argument 188 .ia_size = stat->size, in ovl_set_size() 194 static int ovl_set_timestamps(struct dentry *upperdentry, struct kstat *stat) in ovl_set_timestamps() argument 199 .ia_atime = stat->atime, in ovl_set_timestamps() 200 .ia_mtime = stat->mtime, in ovl_set_timestamps() 206 int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat) in ovl_set_attr() argument 210 if (!S_ISLNK(stat->mode)) { in ovl_set_attr() 213 .ia_mode = stat->mode, in ovl_set_attr() 220 .ia_uid = stat->uid, in ovl_set_attr() 221 .ia_gid = stat->gid, in ovl_set_attr() [all …]
|
/linux-4.19.296/drivers/bluetooth/ |
D | btqcomsmd.c | 44 hdev->stat.err_rx++; in btqcomsmd_recv() 59 btq->hdev->stat.byte_rx += count; in btqcomsmd_acl_callback() 68 btq->hdev->stat.byte_rx += count; in btqcomsmd_cmd_callback() 81 hdev->stat.err_tx++; in btqcomsmd_send() 84 hdev->stat.acl_tx++; in btqcomsmd_send() 85 hdev->stat.byte_tx += skb->len; in btqcomsmd_send() 90 hdev->stat.err_tx++; in btqcomsmd_send() 93 hdev->stat.cmd_tx++; in btqcomsmd_send() 94 hdev->stat.byte_tx += skb->len; in btqcomsmd_send()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_refcount.h | 10 xfs_agblock_t bno, int *stat); 12 xfs_agblock_t bno, int *stat); 14 xfs_agblock_t bno, int *stat); 16 struct xfs_refcount_irec *irec, int *stat); 77 struct xfs_refcount_irec *irec, int *stat);
|
/linux-4.19.296/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_top.c | 1049 c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1050 c->pre_bit_error.stat[0].uvalue = 0; in cxd2880_set_frontend() 1052 c->pre_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1053 c->pre_bit_count.stat[0].uvalue = 0; in cxd2880_set_frontend() 1055 c->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1056 c->post_bit_error.stat[0].uvalue = 0; in cxd2880_set_frontend() 1058 c->post_bit_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1059 c->post_bit_count.stat[0].uvalue = 0; in cxd2880_set_frontend() 1061 c->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1062 c->block_error.stat[0].uvalue = 0; in cxd2880_set_frontend() [all …]
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-ds3232.c | 65 int control, stat; in ds3232_check_rtc_status() local 67 ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); in ds3232_check_rtc_status() 71 if (stat & DS3232_REG_SR_OSF) in ds3232_check_rtc_status() 76 stat &= ~(DS3232_REG_SR_OSF | DS3232_REG_SR_A1F | DS3232_REG_SR_A2F); in ds3232_check_rtc_status() 78 ret = regmap_write(ds3232->regmap, DS3232_REG_SR, stat); in ds3232_check_rtc_status() 184 int control, stat; in ds3232_read_alarm() local 188 ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); in ds3232_read_alarm() 204 alarm->pending = !!(stat & DS3232_REG_SR_A1F); in ds3232_read_alarm() 218 int control, stat; in ds3232_set_alarm() local 240 ret = regmap_read(ds3232->regmap, DS3232_REG_SR, &stat); in ds3232_set_alarm() [all …]
|