Home
last modified time | relevance | path

Searched refs:pcount (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/fs/isofs/
Dcompress.c41 loff_t block_end, int pcount, in zisofs_uncompress_block() argument
67 for ( i = 0 ; i < pcount ; i++ ) { in zisofs_uncompress_block()
73 return ((loff_t)pcount) << PAGE_SHIFT; in zisofs_uncompress_block()
118 while (curpage < pcount && curbh < haveblocks && in zisofs_uncompress_block()
206 static int zisofs_fill_pages(struct inode *inode, int full_page, int pcount, in zisofs_fill_pages() argument
249 while (cstart_block < cend_block && pcount > 0) { in zisofs_fill_pages()
268 pcount, pages, poffset, &err); in zisofs_fill_pages()
271 pcount -= poffset >> PAGE_SHIFT; in zisofs_fill_pages()
308 int i, pcount, full_page; in zisofs_read_folio() local
331 pcount = min_t(int, zisofs_pages_per_cblock, in zisofs_read_folio()
[all …]
/linux-6.1.9/lib/
Dpercpu_counter.c67 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); in percpu_counter_set() local
68 *pcount = 0; in percpu_counter_set()
133 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); in __percpu_counter_sum() local
134 ret += *pcount; in __percpu_counter_sum()
204 s32 *pcount; in percpu_counter_cpu_dead() local
207 pcount = per_cpu_ptr(fbc->counters, cpu); in percpu_counter_cpu_dead()
208 fbc->count += *pcount; in percpu_counter_cpu_dead()
209 *pcount = 0; in percpu_counter_cpu_dead()
/linux-6.1.9/arch/s390/kvm/
Dpci.c233 int rc = 0, gisc, npages, pcount = 0; in kvm_s390_pci_aif_enable() local
260 pcount++; in kvm_s390_pci_aif_enable()
276 pcount++; in kvm_s390_pci_aif_enable()
280 if (account_mem(pcount)) in kvm_s390_pci_aif_enable()
342 int rc, pcount = 0; in kvm_s390_pci_aif_disable() local
390 pcount++; in kvm_s390_pci_aif_disable()
394 pcount++; in kvm_s390_pci_aif_disable()
396 if (pcount > 0) in kvm_s390_pci_aif_disable()
397 unaccount_mem(pcount); in kvm_s390_pci_aif_disable()
/linux-6.1.9/fs/proc/
Dpage.c54 u64 pcount; in kpagecount_read() local
71 pcount = 0; in kpagecount_read()
73 pcount = page_mapcount(ppage); in kpagecount_read()
75 if (put_user(pcount, out)) { in kpagecount_read()
Dbase.c484 task->sched_info.pcount); in proc_pid_schedstat()
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h537 int i, pcount = 0; in wait_for_pending_requests() local
540 pcount = atomic_read( in wait_for_pending_requests()
543 if (pcount) in wait_for_pending_requests()
549 if (pcount) in wait_for_pending_requests()
/linux-6.1.9/drivers/opp/
Dof.c586 int vcount, icount, pcount, ret, i, j; in opp_parse_supplies() local
703 pcount = of_property_count_u32_elems(opp->np, name); in opp_parse_supplies()
704 if (pcount < 0) { in opp_parse_supplies()
706 name, pcount); in opp_parse_supplies()
707 ret = pcount; in opp_parse_supplies()
711 if (pcount != supplies) { in opp_parse_supplies()
713 __func__, name, pcount, supplies); in opp_parse_supplies()
718 microwatt = kmalloc_array(pcount, sizeof(*microwatt), in opp_parse_supplies()
726 pcount); in opp_parse_supplies()
/linux-6.1.9/fs/ocfs2/
Dquota_global.c178 u64 pblock = 0, pcount = 0; in ocfs2_quota_read() local
187 if (!pcount) { in ocfs2_quota_read()
189 &pcount, NULL); in ocfs2_quota_read()
195 pcount--; in ocfs2_quota_read()
227 u64 pblock, pcount; in ocfs2_quota_write() local
252 err = ocfs2_extent_map_get_blocks(gqinode, blk, &pblock, &pcount, NULL); in ocfs2_quota_write()
345 u64 pcount; in ocfs2_global_read_info() local
373 &pcount, NULL); in ocfs2_global_read_info()
Dquota_local.c1225 u64 pcount; in ocfs2_create_local_dquot() local
1244 &pcount, in ocfs2_create_local_dquot()
/linux-6.1.9/kernel/sched/
Dstats.h17 rq->rq_sched_info.pcount++; in rq_sched_info_arrive()
250 t->sched_info.pcount++; in sched_info_arrive()
Dstats.c141 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); in show_schedstat()
/linux-6.1.9/net/ipv4/
Dtcp_input.c1348 int dup_sack, int pcount, in tcp_sacktag_one() argument
1357 tp->undo_retrans = max_t(int, 0, tp->undo_retrans - pcount); in tcp_sacktag_one()
1377 tp->lost_out -= pcount; in tcp_sacktag_one()
1378 tp->retrans_out -= pcount; in tcp_sacktag_one()
1399 tp->lost_out -= pcount; in tcp_sacktag_one()
1405 tp->sacked_out += pcount; in tcp_sacktag_one()
1407 state->sack_delivered += pcount; in tcp_sacktag_one()
1412 tp->lost_cnt_hint += pcount; in tcp_sacktag_one()
1421 tp->retrans_out -= pcount; in tcp_sacktag_one()
1433 unsigned int pcount, int shifted, int mss, in tcp_shifted_skb() argument
[all …]
Dtcp_output.c2807 int pcount; in tcp_send_loss_probe() local
2817 pcount = tp->packets_out; in tcp_send_loss_probe()
2819 if (tp->packets_out > pcount) in tcp_send_loss_probe()
2835 pcount = tcp_skb_pcount(skb); in tcp_send_loss_probe()
2836 if (WARN_ON(!pcount)) in tcp_send_loss_probe()
2839 if ((pcount > 1) && (skb->len > (pcount - 1) * mss)) { in tcp_send_loss_probe()
2841 (pcount - 1) * mss, mss, in tcp_send_loss_probe()
/linux-6.1.9/crypto/
Dtcrypt.c740 int bcount, pcount; in test_ahash_jiffies() local
751 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_jiffies()
810 int i, pcount, ret; in test_ahash_cycles() local
820 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
839 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
/linux-6.1.9/kernel/bpf/
Dhashtab.c100 struct percpu_counter pcount; member
552 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc()
588 percpu_counter_destroy(&htab->pcount); in htab_map_alloc()
887 return __percpu_counter_compare(&htab->pcount, htab->map.max_entries, in is_map_full()
895 percpu_counter_add_batch(&htab->pcount, 1, PERCPU_COUNTER_BATCH); in inc_elem_count()
903 percpu_counter_add_batch(&htab->pcount, -1, PERCPU_COUNTER_BATCH); in dec_elem_count()
1530 percpu_counter_destroy(&htab->pcount); in htab_map_free()
Dcgroup.c1683 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl() argument
1708 if (write && *buf && *pcount) { in __cgroup_bpf_run_filter_sysctl()
1713 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl()
1733 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl()
/linux-6.1.9/kernel/
Ddelayacct.c151 t1 = tsk->sched_info.pcount; in delayacct_add_tsk()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Duser_sdma.c312 u8 pcount = initial_pkt_count; in hfi1_user_sdma_process_request() local
496 if (pcount > req->info.npkts) in hfi1_user_sdma_process_request()
497 pcount = req->info.npkts; in hfi1_user_sdma_process_request()
559 ret = user_sdma_send_pkts(req, pcount); in hfi1_user_sdma_process_request()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_mbox.c1846 uint32_t pagen, pcount; in lpfc_sli4_config() local
1873 pcount = (SLI4_PAGE_ALIGN(length))/SLI4_PAGE_SIZE; in lpfc_sli4_config()
1874 pcount = (pcount > LPFC_SLI4_MBX_SGE_MAX_PAGES) ? in lpfc_sli4_config()
1875 LPFC_SLI4_MBX_SGE_MAX_PAGES : pcount; in lpfc_sli4_config()
1885 for (pagen = 0, alloc_len = 0; pagen < pcount; pagen++) { in lpfc_sli4_config()
/linux-6.1.9/include/linux/
Dtcp.h549 int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
Dbpf-cgroup.h136 char **buf, size_t *pcount, loff_t *ppos,
Dsched.h377 unsigned long pcount; member
/linux-6.1.9/arch/x86/kvm/
Dhyperv.c725 static int stimer_get_count(struct kvm_vcpu_hv_stimer *stimer, u64 *pcount) in stimer_get_count() argument
727 *pcount = stimer->count; in stimer_get_count()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_receiver.c3499 int pcount = (device->state.role == R_PRIMARY) in drbd_sync_handshake() local
3503 switch (pcount) { in drbd_sync_handshake()
3517 pcount, (hg < 0) ? "peer" : "this"); in drbd_sync_handshake()