Home
last modified time | relevance | path

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

/linux-6.15/fs/isofs/
H A 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()
268 pcount, pages, poffset, &err); in zisofs_fill_pages()
271 pcount -= poffset >> PAGE_SHIFT; in zisofs_fill_pages()
307 int i, pcount, full_page; in zisofs_read_folio() local
329 pcount = min_t(int, zisofs_pages_per_cblock, in zisofs_read_folio()
334 pcount = 1; in zisofs_read_folio()
344 for (i = 0; i < pcount; i++, index++) { in zisofs_read_folio()
[all …]
/linux-6.15/lib/
H A Dpercpu_counter.c67 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); in percpu_counter_set() local
68 *pcount = 0; in percpu_counter_set()
180 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); in __percpu_counter_sum() local
181 ret += *pcount; in __percpu_counter_sum()
275 s32 *pcount; in percpu_counter_cpu_dead() local
278 pcount = per_cpu_ptr(fbc->counters, cpu); in percpu_counter_cpu_dead()
279 fbc->count += *pcount; in percpu_counter_cpu_dead()
280 *pcount = 0; in percpu_counter_cpu_dead()
368 s32 *pcount; in __percpu_counter_limited_add() local
372 pcount = per_cpu_ptr(fbc->counters, cpu); in __percpu_counter_limited_add()
[all …]
/linux-6.15/arch/s390/kvm/
H A Dpci.c232 int rc = 0, gisc, npages, pcount = 0; in kvm_s390_pci_aif_enable() local
259 pcount++; in kvm_s390_pci_aif_enable()
275 pcount++; in kvm_s390_pci_aif_enable()
279 if (account_mem(pcount)) in kvm_s390_pci_aif_enable()
341 int rc, pcount = 0; in kvm_s390_pci_aif_disable() local
389 pcount++; in kvm_s390_pci_aif_disable()
393 pcount++; in kvm_s390_pci_aif_disable()
395 if (pcount > 0) in kvm_s390_pci_aif_disable()
396 unaccount_mem(pcount); in kvm_s390_pci_aif_disable()
/linux-6.15/kernel/bpf/
H A Dmap_iter.c200 s64 *pcount; in bpf_map_sum_elem_count() local
208 pcount = per_cpu_ptr(map->elem_count, cpu); in bpf_map_sum_elem_count()
209 ret += READ_ONCE(*pcount); in bpf_map_sum_elem_count()
H A Dhashtab.c102 struct percpu_counter pcount; member
542 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc()
578 percpu_counter_destroy(&htab->pcount); in htab_map_alloc()
889 return __percpu_counter_compare(&htab->pcount, htab->map.max_entries, in is_map_full()
899 percpu_counter_add_batch(&htab->pcount, 1, PERCPU_COUNTER_BATCH); in inc_elem_count()
909 percpu_counter_add_batch(&htab->pcount, -1, PERCPU_COUNTER_BATCH); in dec_elem_count()
1553 percpu_counter_destroy(&htab->pcount); in htab_map_free()
2243 percpu_counter_sum(&htab->pcount) : in htab_map_mem_usage()
H A Dcgroup.c1729 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl() argument
1754 if (write && *buf && *pcount) { in __cgroup_bpf_run_filter_sysctl()
1759 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl()
1779 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl()
/linux-6.15/drivers/net/ethernet/cavium/liquidio/
H A 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.15/fs/ocfs2/
H A 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()
H A Dquota_local.c1225 u64 pcount; in ocfs2_create_local_dquot() local
1244 &pcount, in ocfs2_create_local_dquot()
/linux-6.15/include/linux/
H A Ddfl.h94 void *dfh_find_param(struct dfl_device *dfl_dev, int param_id, size_t *pcount);
H A Dtcp.h612 int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
H A Dbpf-cgroup.h143 char **buf, size_t *pcount, loff_t *ppos,
H A Dsched.h418 unsigned long pcount; member
/linux-6.15/kernel/sched/
H A Dstats.h17 rq->rq_sched_info.pcount++; in rq_sched_info_arrive()
275 t->sched_info.pcount++; in sched_info_arrive()
H A Dstats.c131 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); in show_schedstat()
/linux-6.15/drivers/hwmon/
H A Dhp-wmi-sensors.c1316 u8 icount, u8 pcount, bool is_new) in hp_wmi_debugfs_init() argument
1384 if (!pcount) in hp_wmi_debugfs_init()
1389 for (i = 0; i < pcount; i++, pevents++) { in hp_wmi_debugfs_init()
2010 u8 pcount; in hp_wmi_sensors_init() local
2014 err = init_platform_events(dev, &pevents, &pcount); in hp_wmi_sensors_init()
2024 hp_wmi_debugfs_init(dev, info, pevents, icount, pcount, is_new); in hp_wmi_sensors_init()
2029 has_events = find_event_attributes(state, pevents, pcount); in hp_wmi_sensors_init()
/linux-6.15/net/ipv4/
H A Dtcp_input.c1399 int dup_sack, int pcount, in tcp_sacktag_one() argument
1428 tp->lost_out -= pcount; in tcp_sacktag_one()
1450 tp->lost_out -= pcount; in tcp_sacktag_one()
1456 tp->sacked_out += pcount; in tcp_sacktag_one()
1472 tp->retrans_out -= pcount; in tcp_sacktag_one()
1491 BUG_ON(!pcount); in tcp_shifted_skb()
1578 int pcount, int shiftlen) in tcp_skb_shift() argument
1603 int pcount = 0; in tcp_shift_skb_data() local
1684 pcount = 1; in tcp_shift_skb_data()
1688 pcount = len / mss; in tcp_shift_skb_data()
[all …]
H A Dtcp_output.c2951 int pcount; in tcp_send_loss_probe() local
2961 pcount = tp->packets_out; in tcp_send_loss_probe()
2963 if (tp->packets_out > pcount) in tcp_send_loss_probe()
2977 pcount = tcp_skb_pcount(skb); in tcp_send_loss_probe()
2978 if (WARN_ON(!pcount)) in tcp_send_loss_probe()
2981 if ((pcount > 1) && (skb->len > (pcount - 1) * mss)) { in tcp_send_loss_probe()
2983 (pcount - 1) * mss, mss, in tcp_send_loss_probe()
/linux-6.15/crypto/
H A Dtcrypt.c944 int bcount, pcount; in test_ahash_jiffies() local
955 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_jiffies()
1014 int i, pcount, ret; in test_ahash_cycles() local
1024 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
1043 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Duser_sdma.c288 u8 pcount = initial_pkt_count; in hfi1_user_sdma_process_request() local
472 if (pcount > req->info.npkts) in hfi1_user_sdma_process_request()
473 pcount = req->info.npkts; in hfi1_user_sdma_process_request()
535 ret = user_sdma_send_pkts(req, pcount); in hfi1_user_sdma_process_request()
/linux-6.15/drivers/scsi/lpfc/
H A Dlpfc_mbox.c1841 uint32_t pagen, pcount; in lpfc_sli4_config() local
1868 pcount = (SLI4_PAGE_ALIGN(length))/SLI4_PAGE_SIZE; in lpfc_sli4_config()
1869 pcount = (pcount > LPFC_SLI4_MBX_SGE_MAX_PAGES) ? in lpfc_sli4_config()
1870 LPFC_SLI4_MBX_SGE_MAX_PAGES : pcount; in lpfc_sli4_config()
1880 for (pagen = 0, alloc_len = 0; pagen < pcount; pagen++) { in lpfc_sli4_config()
/linux-6.15/kernel/
H A Ddelayacct.c156 t1 = tsk->sched_info.pcount; in delayacct_add_tsk()
/linux-6.15/arch/x86/kvm/
H A Dhyperv.c749 static int stimer_get_count(struct kvm_vcpu_hv_stimer *stimer, u64 *pcount) in stimer_get_count() argument
751 *pcount = stimer->count; in stimer_get_count()
/linux-6.15/drivers/block/drbd/
H A Ddrbd_receiver.c3514 int pcount = (device->state.role == R_PRIMARY) in drbd_sync_handshake() local
3518 switch (pcount) { in drbd_sync_handshake()
3532 pcount, (hg < 0) ? "peer" : "this"); in drbd_sync_handshake()
/linux-6.15/fs/proc/
H A Dbase.c520 task->sched_info.pcount); in proc_pid_schedstat()