Searched refs:ls_num (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | lprocfs_counters.c | 57 LASSERTF(0 <= idx && idx < stats->ls_num, in lprocfs_counter_add() 58 "idx %d, ls_num %hu\n", idx, stats->ls_num); in lprocfs_counter_add() 108 LASSERTF(0 <= idx && idx < stats->ls_num, in lprocfs_counter_sub() 109 "idx %d, ls_num %hu\n", idx, stats->ls_num); in lprocfs_counter_sub()
|
D | lprocfs_status.c | 1059 for (i = 0; i < stats->ls_num; ++i) { in lprocfs_stats_alloc_one() 1092 stats->ls_num = num; in lprocfs_alloc_stats() 1098 stats->ls_num * sizeof(struct lprocfs_counter_header)); in lprocfs_alloc_stats() 1131 if (stats == NULL || stats->ls_num == 0) in lprocfs_free_stats() 1145 LIBCFS_FREE(stats->ls_cnt_header, stats->ls_num * in lprocfs_free_stats() 1164 for (j = 0; j < stats->ls_num; j++) { in lprocfs_clear_stats() 1196 return (*pos < stats->ls_num) ? pos : NULL; in lprocfs_stats_seq_start() 1328 LASSERT(coffset < stats->ls_num); \ 1433 LASSERT(coffset < stats->ls_num); \
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lprocfs_status.h | 193 unsigned short ls_num; member 469 percpusize = offsetof(struct lprocfs_percpu, lp_cntr[stats->ls_num]); in lprocfs_stats_counter_size() 473 percpusize += stats->ls_num * sizeof(__s64); in lprocfs_stats_counter_size()
|
D | obd_class.h | 371 LASSERT(coffset < (obdx)->obd_stats->ls_num); \ 380 LASSERT(coffset < (export)->exp_obd->obd_stats->ls_num); \ 398 LASSERT(coffset < (obdx)->md_stats->ls_num); \ 407 LASSERT(coffset < (export)->exp_obd->md_stats->ls_num); \
|