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

12

/linux-master/fs/isofs/
H A Dcompress.c37 * to one zisofs block. Store the data in the @pages array with @pcount
41 loff_t block_end, int pcount,
67 for ( i = 0 ; i < pcount ; i++ ) {
73 return ((loff_t)pcount) << PAGE_SHIFT;
118 while (curpage < pcount && curbh < haveblocks &&
206 static int zisofs_fill_pages(struct inode *inode, int full_page, int pcount, argument
249 while (cstart_block < cend_block && pcount > 0) {
268 pcount, pages, poffset, &err);
271 pcount -= poffset >> PAGE_SHIFT;
308 int i, pcount, full_pag local
40 zisofs_uncompress_block(struct inode *inode, loff_t block_start, loff_t block_end, int pcount, struct page **pages, unsigned poffset, int *errp) argument
[all...]
/linux-master/lib/
H A Dpercpu_counter.c67 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); local
68 *pcount = 0;
146 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); local
147 ret += *pcount;
241 s32 *pcount; local
244 pcount = per_cpu_ptr(fbc->counters, cpu);
245 fbc->count += *pcount;
246 *pcount = 0;
334 s32 *pcount; local
338 pcount
[all...]
/linux-master/include/linux/
H A Ddfl.h94 void *dfh_find_param(struct dfl_device *dfl_dev, int param_id, size_t *pcount);
H A Dtcp.h608 int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
H A Dbpf-cgroup.h142 char **buf, size_t *pcount, loff_t *ppos,
H A Dsched.h391 unsigned long pcount; member in struct:sched_info
/linux-master/arch/s390/kvm/
H A Dpci.c233 int rc = 0, gisc, npages, pcount = 0; local
260 pcount++;
276 pcount++;
280 if (account_mem(pcount))
342 int rc, pcount = 0; local
390 pcount++;
394 pcount++;
396 if (pcount > 0)
397 unaccount_mem(pcount);
/linux-master/fs/proc/
H A Dpage.c54 u64 pcount; local
71 pcount = 0;
73 pcount = page_mapcount(ppage);
75 if (put_user(pcount, out)) {
/linux-master/kernel/bpf/
H A Dmap_iter.c200 s64 *pcount; local
208 pcount = per_cpu_ptr(map->elem_count, cpu);
209 ret += READ_ONCE(*pcount);
H A Dhashtab.c99 * in either pcount or count
101 struct percpu_counter pcount; member in struct:bpf_htab
567 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL);
603 percpu_counter_destroy(&htab->pcount);
912 return __percpu_counter_compare(&htab->pcount, htab->map.max_entries,
922 percpu_counter_add_batch(&htab->pcount, 1, PERCPU_COUNTER_BATCH);
932 percpu_counter_add_batch(&htab->pcount, -1, PERCPU_COUNTER_BATCH);
1557 percpu_counter_destroy(&htab->pcount);
2244 percpu_counter_sum(&htab->pcount) :
H A Dcgroup.c1679 * @pcount: value-result argument: value is size of buffer pointed to by @buf,
1695 char **buf, size_t *pcount, loff_t *ppos,
1720 if (write && *buf && *pcount) {
1725 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount);
1745 *pcount = ctx.new_len;
1693 __cgroup_bpf_run_filter_sysctl(struct ctl_table_header *head, struct ctl_table *table, int write, char **buf, size_t *pcount, loff_t *ppos, enum cgroup_bpf_attach_type atype) argument
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h537 int i, pcount = 0; local
540 pcount = atomic_read(
543 if (pcount)
549 if (pcount)
/linux-master/kernel/sched/
H A Dstats.h17 rq->rq_sched_info.pcount++;
236 t->sched_info.pcount++;
H A Dstats.c141 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount);
/linux-master/fs/ocfs2/
H A Dquota_global.c178 u64 pblock = 0, pcount = 0; local
187 if (!pcount) {
189 &pcount, NULL);
195 pcount--;
227 u64 pblock, pcount; local
252 err = ocfs2_extent_map_get_blocks(gqinode, blk, &pblock, &pcount, NULL);
345 u64 pcount; local
373 &pcount, NULL);
H A Dquota_local.c1225 u64 pcount; local
1244 &pcount,
/linux-master/drivers/hwmon/
H A Dhp-wmi-sensors.c1316 u8 icount, u8 pcount, bool is_new)
1384 if (!pcount)
1389 for (i = 0; i < pcount; i++, pevents++) {
2018 u8 pcount; local
2022 err = init_platform_events(dev, &pevents, &pcount);
2032 hp_wmi_debugfs_init(dev, info, pevents, icount, pcount, is_new);
2037 has_events = find_event_attributes(state, pevents, pcount);
1314 hp_wmi_debugfs_init(struct device *dev, struct hp_wmi_info *info, struct hp_wmi_platform_events *pevents, u8 icount, u8 pcount, bool is_new) argument
/linux-master/crypto/
H A Dtcrypt.c743 int bcount, pcount; local
754 for (pcount = 0; pcount < blen; pcount += plen) {
813 int i, pcount, ret; local
823 for (pcount = 0; pcount < blen; pcount += plen) {
842 for (pcount = 0; pcount < ble
[all...]
/linux-master/net/ipv4/
H A Dtcp_input.c1381 int dup_sack, int pcount,
1390 tp->undo_retrans = max_t(int, 0, tp->undo_retrans - pcount);
1410 tp->lost_out -= pcount;
1411 tp->retrans_out -= pcount;
1432 tp->lost_out -= pcount;
1438 tp->sacked_out += pcount;
1440 state->sack_delivered += pcount;
1445 tp->lost_cnt_hint += pcount;
1454 tp->retrans_out -= pcount;
1466 unsigned int pcount, in
1378 tcp_sacktag_one(struct sock *sk, struct tcp_sacktag_state *state, u8 sacked, u32 start_seq, u32 end_seq, int dup_sack, int pcount, u64 xmit_time) argument
1463 tcp_shifted_skb(struct sock *sk, struct sk_buff *prev, struct sk_buff *skb, struct tcp_sacktag_state *state, unsigned int pcount, int shifted, int mss, bool dup_sack) argument
1559 tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount, int shiftlen) argument
1585 int pcount = 0; local
[all...]
H A Dtcp_output.c2904 int pcount; local
2914 pcount = tp->packets_out;
2916 if (tp->packets_out > pcount)
2932 pcount = tcp_skb_pcount(skb);
2933 if (WARN_ON(!pcount))
2936 if ((pcount > 1) && (skb->len > (pcount - 1) * mss)) {
2938 (pcount - 1) * mss, mss,
/linux-master/kernel/
H A Ddelayacct.c151 t1 = tsk->sched_info.pcount;
/linux-master/drivers/infiniband/hw/hfi1/
H A Duser_sdma.c288 u8 pcount = initial_pkt_count; local
472 if (pcount > req->info.npkts)
473 pcount = req->info.npkts;
535 ret = user_sdma_send_pkts(req, pcount);
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_mbox.c1841 uint32_t pagen, pcount; local
1868 pcount = (SLI4_PAGE_ALIGN(length))/SLI4_PAGE_SIZE;
1869 pcount = (pcount > LPFC_SLI4_MBX_SGE_MAX_PAGES) ?
1870 LPFC_SLI4_MBX_SGE_MAX_PAGES : pcount;
1880 for (pagen = 0, alloc_len = 0; pagen < pcount; pagen++) {
/linux-master/arch/x86/kvm/
H A Dhyperv.c749 static int stimer_get_count(struct kvm_vcpu_hv_stimer *stimer, u64 *pcount) argument
751 *pcount = stimer->count;
/linux-master/drivers/block/drbd/
H A Ddrbd_receiver.c3514 int pcount = (device->state.role == R_PRIMARY) local
3518 switch (pcount) {
3532 pcount, (hg < 0) ? "peer" : "this");

Completed in 427 milliseconds

12