| /fs/xfs/scrub/ |
| A D | fscounters.c | 305 fsc->icount = 0; in xchk_fscount_aggregate_agcounts() 321 fsc->icount += pag->pagi_count; in xchk_fscount_aggregate_agcounts() 369 if (fsc->icount < fsc->icount_min || fsc->icount > fsc->icount_max || in xchk_fscount_aggregate_agcounts() 379 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts() 516 int64_t icount, ifree, fdblocks, frextents; in xchk_fscounters() local 521 icount = percpu_counter_sum(&mp->m_icount); in xchk_fscounters() 527 if (icount < 0 || ifree < 0) in xchk_fscounters() 548 if (icount < fsc->icount_min || icount > fsc->icount_max) in xchk_fscounters() 563 if (ifree > icount && ifree - icount > XCHK_FSCOUNT_MIN_VARIANCE) in xchk_fscounters() 584 if (!xchk_fscount_within_range(sc, icount, &mp->m_icount, in xchk_fscounters() [all …]
|
| A D | repair.c | 288 xfs_agino_t icount = NULLAGINO; in xrep_calc_ag_resblks() local 304 icount = pag->pagi_count; in xrep_calc_ag_resblks() 309 icount = pag->pagi_count; in xrep_calc_ag_resblks() 330 if (icount == NULLAGINO || in xrep_calc_ag_resblks() 331 !xfs_verify_agino(pag, icount)) { in xrep_calc_ag_resblks() 332 icount = pag->agino_max - pag->agino_min + 1; in xrep_calc_ag_resblks() 344 trace_xrep_calc_ag_resblks(pag, icount, aglen, freelen, usedlen); in xrep_calc_ag_resblks() 353 inobt_sz = xfs_iallocbt_calc_size(mp, icount / in xrep_calc_ag_resblks() 356 inobt_sz = xfs_iallocbt_calc_size(mp, icount / in xrep_calc_ag_resblks()
|
| A D | agheader.c | 865 xfs_agino_t icount; in xchk_agi_xref_icounts() local 872 error = xfs_ialloc_count_inodes(sc->sa.ino_cur, &icount, &freecount); in xchk_agi_xref_icounts() 875 if (be32_to_cpu(agi->agi_count) != icount || in xchk_agi_xref_icounts() 987 xfs_agino_t icount; in xchk_agi() local 1026 icount = be32_to_cpu(agi->agi_count); in xchk_agi() 1027 if (icount > last_agino - first_agino + 1 || in xchk_agi() 1028 icount < be32_to_cpu(agi->agi_freecount)) in xchk_agi()
|
| A D | ialloc_repair.c | 115 unsigned int icount; member 255 ri->icount += nr_inodes; in xrep_ibt_cluster_record() 499 unsigned int freecount = ri->icount - ri->iused; in xrep_ibt_reset_counters() 508 agi->agi_count = cpu_to_be32(ri->icount); in xrep_ibt_reset_counters()
|
| A D | fscounters.h | 11 uint64_t icount; member
|
| A D | quotacheck.h | 15 int64_t icount; member
|
| A D | fscounters_repair.c | 65 percpu_counter_set(&mp->m_icount, fsc->icount); in xrep_fscounters()
|
| A D | quotacheck_repair.c | 75 delta = (int64_t)xcdq.icount - dq->q_ino.count; in xqcheck_commit_dquot()
|
| A D | quotacheck.c | 144 xcdq.icount += inodes; in xqcheck_update_incore_counts() 571 if (xcdq.icount != dq->q_ino.count) in xqcheck_compare_dquot()
|
| A D | trace.h | 854 TP_PROTO(struct xfs_mount *mp, uint64_t icount, uint64_t ifree, 856 TP_ARGS(mp, icount, ifree, fdblocks, delalloc), 870 __entry->icount_calculated = icount; 2248 TP_PROTO(const struct xfs_perag *pag, xfs_agino_t icount, 2251 TP_ARGS(pag, icount, aglen, freelen, usedlen), 2255 __field(xfs_agino_t, icount) 2263 __entry->icount = icount; 2271 __entry->icount, 2336 __field(uint64_t, icount) 2343 __entry->icount = fsc->icount; [all …]
|
| /fs/xfs/libxfs/ |
| A D | xfs_types.c | 214 unsigned long long icount) in xfs_verify_icount() argument 219 return icount >= min && icount <= max; in xfs_verify_icount()
|
| A D | xfs_ialloc.h | 91 struct list_head *buffer_list, int icount,
|
| A D | xfs_types.h | 279 bool xfs_verify_icount(struct xfs_mount *mp, unsigned long long icount);
|
| A D | xfs_ialloc.c | 300 int icount, in xfs_ialloc_inode_init() argument 354 xfs_icreate_log(tp, agno, agbno, icount, in xfs_ialloc_inode_init() 2982 uint64_t icount; in xfs_ialloc_setup_geometry() local 3024 icount = sbp->sb_dblocks * sbp->sb_imax_pct; in xfs_ialloc_setup_geometry() 3025 do_div(icount, 100); in xfs_ialloc_setup_geometry() 3026 do_div(icount, igeo->ialloc_blks); in xfs_ialloc_setup_geometry() 3028 icount * igeo->ialloc_blks); in xfs_ialloc_setup_geometry()
|
| A D | xfs_fs.h | 441 __s32 icount; /* count of entries in buffer */ member 471 uint32_t icount; /* I: count of entries in buffer */ member
|
| /fs/xfs/ |
| A D | xfs_itable.h | 14 unsigned int icount; /* number of elements in ubuffer */ member 39 return breq->ocount == breq->icount ? -ECANCELED : 0; in xfs_ibulk_advance()
|
| A D | xfs_ioctl32.c | 250 if (get_user(bulkreq.icount, &p32->icount) || in xfs_compat_ioc_fsbulkstat() 261 if (bulkreq.icount <= 0) in xfs_compat_ioc_fsbulkstat() 268 breq.icount = bulkreq.icount; in xfs_compat_ioc_fsbulkstat() 287 breq.icount = 1; in xfs_compat_ioc_fsbulkstat()
|
| A D | xfs_ioctl.c | 106 if (bulkreq.icount <= 0) in xfs_ioc_fsbulkstat() 113 breq.icount = bulkreq.icount; in xfs_ioc_fsbulkstat() 132 breq.icount = 1; in xfs_ioc_fsbulkstat() 178 if (hdr->icount == 0 || in xfs_bulk_ireq_setup() 185 breq->icount = hdr->icount; in xfs_bulk_ireq_setup() 205 breq->icount = 1; in xfs_bulk_ireq_setup()
|
| A D | xfs_fsops.c | 332 uint64_t icount = mp->m_sb.sb_dblocks * mp->m_sb.sb_imax_pct; in xfs_growfs_data() local 333 do_div(icount, 100); in xfs_growfs_data() 334 M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount); in xfs_growfs_data()
|
| A D | xfs_itable.c | 231 ASSERT(breq->icount == 1); in xfs_bulkstat_one() 331 xfs_bulkstat_iwalk, breq->icount, &bc); in xfs_bulkstat() 457 xfs_inumbers_walk, breq->icount, &ic); in xfs_inumbers()
|
| A D | xfs_super.c | 310 uint64_t icount; in xfs_set_inode_alloc() local 312 icount = sbp->sb_dblocks * sbp->sb_imax_pct; in xfs_set_inode_alloc() 313 do_div(icount, 100); in xfs_set_inode_alloc() 314 icount += sbp->sb_agblocks - 1; in xfs_set_inode_alloc() 315 do_div(icount, sbp->sb_agblocks); in xfs_set_inode_alloc() 316 max_metadata = icount; in xfs_set_inode_alloc() 913 uint64_t icount = percpu_counter_sum(&mp->m_icount); in xfs_statfs_inodes() local 917 st->f_files = min(icount + fakeinos, (uint64_t)XFS_MAXINUMBER); in xfs_statfs_inodes() 927 st->f_ffree = max_t(int64_t, 0, st->f_files - (icount - ifree)); in xfs_statfs_inodes()
|
| A D | xfs_ioctl32.h | 66 __s32 icount; /* count of entries in buffer */ member
|
| A D | xfs_trace.h | 1339 __field(unsigned long long, icount) 1361 __entry->icount = dqp->q_ino.count; 1389 __entry->icount,
|
| /fs/ext4/ |
| A D | namei.c | 2510 unsigned int icount; in ext4_dx_add_entry() local 2539 icount = dx_get_count(entries); in ext4_dx_add_entry() 2558 unsigned icount1 = icount/2, icount2 = icount - icount1; in ext4_dx_add_entry() 2605 icount * sizeof(struct dx_entry)); in ext4_dx_add_entry()
|