Searched refs:pcount (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/lib/
H A Dpercpu_counter.c67 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); for_each_possible_cpu() local
68 *pcount = 0; for_each_possible_cpu()
107 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); for_each_online_cpu() local
108 ret += *pcount; for_each_online_cpu()
182 s32 *pcount; percpu_counter_hotcpu_callback() local
186 pcount = per_cpu_ptr(fbc->counters, cpu); percpu_counter_hotcpu_callback()
187 fbc->count += *pcount; percpu_counter_hotcpu_callback()
188 *pcount = 0; percpu_counter_hotcpu_callback()
/linux-4.1.27/fs/isofs/
H A Dcompress.c40 * to one zisofs block. Store the data in the @pages array with @pcount
44 loff_t block_end, int pcount, zisofs_uncompress_block()
70 for ( i = 0 ; i < pcount ; i++ ) { zisofs_uncompress_block()
77 return ((loff_t)pcount) << PAGE_CACHE_SHIFT; zisofs_uncompress_block()
118 while (curpage < pcount && curbh < haveblocks && zisofs_uncompress_block()
199 static int zisofs_fill_pages(struct inode *inode, int full_page, int pcount, zisofs_fill_pages() argument
242 while (cstart_block < cend_block && pcount > 0) { zisofs_fill_pages()
261 pcount, pages, poffset, &err); zisofs_fill_pages()
264 pcount -= poffset >> PAGE_CACHE_SHIFT; zisofs_fill_pages()
302 int i, pcount, full_page; zisofs_readpage() local
325 pcount = min_t(int, zisofs_pages_per_cblock, zisofs_readpage()
330 pcount = 1; zisofs_readpage()
334 for (i = 0; i < pcount; i++, index++) { zisofs_readpage()
343 err = zisofs_fill_pages(inode, full_page, pcount, pages); zisofs_readpage()
346 for (i = 0; i < pcount; i++) { zisofs_readpage()
43 zisofs_uncompress_block(struct inode *inode, loff_t block_start, loff_t block_end, int pcount, struct page **pages, unsigned poffset, int *errp) zisofs_uncompress_block() argument
/linux-4.1.27/fs/proc/
H A Dpage.c32 u64 pcount; kpagecount_read() local
45 pcount = 0; kpagecount_read()
47 pcount = page_mapcount(ppage); kpagecount_read()
49 if (put_user(pcount, out)) { kpagecount_read()
H A Dbase.c315 task->sched_info.pcount); proc_pid_schedstat()
/linux-4.1.27/crypto/
H A Dtcrypt.c544 int bcount, pcount; test_hash_jiffies() local
555 for (pcount = 0; pcount < blen; pcount += plen) { test_hash_jiffies()
619 int i, pcount; test_hash_cycles() local
632 for (pcount = 0; pcount < blen; pcount += plen) { test_hash_cycles()
651 for (pcount = 0; pcount < blen; pcount += plen) { test_hash_cycles()
803 int bcount, pcount; test_ahash_jiffies() local
814 for (pcount = 0; pcount < blen; pcount += plen) { test_ahash_jiffies()
873 int i, pcount, ret; test_ahash_cycles() local
883 for (pcount = 0; pcount < blen; pcount += plen) { test_ahash_cycles()
902 for (pcount = 0; pcount < blen; pcount += plen) { test_ahash_cycles()
/linux-4.1.27/kernel/sched/
H A Dstats.c38 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); show_schedstat()
H A Dstats.h12 rq->rq_sched_info.pcount++; rq_sched_info_arrive()
89 t->sched_info.pcount++; sched_info_arrive()
/linux-4.1.27/fs/ocfs2/
H A Dquota_global.c176 u64 pblock = 0, pcount = 0; ocfs2_quota_read() local
185 if (!pcount) { ocfs2_quota_read()
187 &pcount, NULL); ocfs2_quota_read()
193 pcount--; ocfs2_quota_read()
225 u64 pblock, pcount; ocfs2_quota_write() local
250 err = ocfs2_extent_map_get_blocks(gqinode, blk, &pblock, &pcount, NULL); ocfs2_quota_write()
344 u64 pcount; ocfs2_global_read_info() local
371 &pcount, NULL); ocfs2_global_read_info()
H A Dquota_local.c1228 u64 pcount; ocfs2_create_local_dquot() local
1247 &pcount, ocfs2_create_local_dquot()
/linux-4.1.27/kernel/
H A Ddelayacct.c105 t1 = tsk->sched_info.pcount; __delayacct_add_tsk()
/linux-4.1.27/net/ipv4/
H A Dtcp_input.c1195 int dup_sack, int pcount, tcp_sacktag_one()
1222 tp->lost_out -= pcount; tcp_sacktag_one()
1223 tp->retrans_out -= pcount; tcp_sacktag_one()
1248 tp->lost_out -= pcount; tcp_sacktag_one()
1254 tp->sacked_out += pcount; tcp_sacktag_one()
1256 fack_count += pcount; tcp_sacktag_one()
1261 tp->lost_cnt_hint += pcount; tcp_sacktag_one()
1273 tp->retrans_out -= pcount; tcp_sacktag_one()
1284 unsigned int pcount, int shifted, int mss, tcp_shifted_skb()
1292 BUG_ON(!pcount); tcp_shifted_skb()
1301 start_seq, end_seq, dup_sack, pcount, tcp_shifted_skb()
1305 tp->lost_cnt_hint += pcount; tcp_shifted_skb()
1310 tcp_skb_pcount_add(prev, pcount); tcp_shifted_skb()
1311 BUG_ON(tcp_skb_pcount(skb) < pcount); tcp_shifted_skb()
1312 tcp_skb_pcount_add(skb, -pcount); tcp_shifted_skb()
1388 int pcount = 0; tcp_shift_skb_data() local
1418 pcount = tcp_skb_pcount(skb); tcp_shift_skb_data()
1456 /* MSS boundaries should be honoured or else pcount will tcp_shift_skb_data()
1469 pcount = 1; tcp_shift_skb_data()
1473 pcount = len / mss; tcp_shift_skb_data()
1474 len = pcount * mss; tcp_shift_skb_data()
1484 if (!tcp_shifted_skb(sk, skb, state, pcount, len, mss, dup_sack)) tcp_shift_skb_data()
1502 pcount += tcp_skb_pcount(skb); tcp_shift_skb_data()
1507 state->fack_count += pcount; tcp_shift_skb_data()
1192 tcp_sacktag_one(struct sock *sk, struct tcp_sacktag_state *state, u8 sacked, u32 start_seq, u32 end_seq, int dup_sack, int pcount, const struct skb_mstamp *xmit_time) tcp_sacktag_one() argument
1282 tcp_shifted_skb(struct sock *sk, struct sk_buff *skb, struct tcp_sacktag_state *state, unsigned int pcount, int shifted, int mss, bool dup_sack) tcp_shifted_skb() argument
H A Dtcp_output.c2239 int pcount; tcp_send_loss_probe() local
2260 pcount = tcp_skb_pcount(skb); tcp_send_loss_probe()
2261 if (WARN_ON(!pcount)) tcp_send_loss_probe()
2264 if ((pcount > 1) && (skb->len > (pcount - 1) * mss)) { tcp_send_loss_probe()
2265 if (unlikely(tcp_fragment(sk, skb, (pcount - 1) * mss, mss, tcp_send_loss_probe()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_mbox.c1769 uint32_t pagen, pcount; lpfc_sli4_config() local
1796 pcount = (SLI4_PAGE_ALIGN(length))/SLI4_PAGE_SIZE; lpfc_sli4_config()
1797 pcount = (pcount > LPFC_SLI4_MBX_SGE_MAX_PAGES) ? lpfc_sli4_config()
1798 LPFC_SLI4_MBX_SGE_MAX_PAGES : pcount; lpfc_sli4_config()
1808 for (pagen = 0, alloc_len = 0; pagen < pcount; pagen++) { lpfc_sli4_config()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_receiver.c3172 int pcount = (device->state.role == R_PRIMARY) __must_hold() local
3176 switch (pcount) { __must_hold()
3190 pcount, (hg < 0) ? "peer" : "this"); __must_hold()
/linux-4.1.27/include/linux/
H A Dsched.h835 unsigned long pcount; /* # of times run on this cpu */ member in struct:sched_info

Completed in 430 milliseconds