Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
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 …]
/openbmc/linux/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()
146 s32 *pcount = per_cpu_ptr(fbc->counters, cpu); in __percpu_counter_sum() local
147 ret += *pcount; in __percpu_counter_sum()
241 s32 *pcount; in percpu_counter_cpu_dead() local
244 pcount = per_cpu_ptr(fbc->counters, cpu); in percpu_counter_cpu_dead()
245 fbc->count += *pcount; in percpu_counter_cpu_dead()
246 *pcount = 0; in percpu_counter_cpu_dead()
/openbmc/linux/arch/s390/kvm/
H A 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()
/openbmc/u-boot/board/cavium/thunderx/
H A Datf.c182 size_t pcount; in atf_print_part_table() local
189 pcount = atf_get_pcount(); in atf_print_part_table()
191 printf("Partition count: %lu\n\n", pcount); in atf_print_part_table()
194 for (i = 0; i < pcount; i++) { in atf_print_part_table()
/openbmc/linux/fs/proc/
H A 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()
/openbmc/linux/kernel/bpf/
H A Dmap_iter.c202 s64 *pcount; in bpf_map_sum_elem_count() local
210 pcount = per_cpu_ptr(map->elem_count, cpu); in bpf_map_sum_elem_count()
211 ret += READ_ONCE(*pcount); in bpf_map_sum_elem_count()
H A Dhashtab.c100 struct percpu_counter pcount; member
569 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc()
605 percpu_counter_destroy(&htab->pcount); in htab_map_alloc()
917 return __percpu_counter_compare(&htab->pcount, htab->map.max_entries, in is_map_full()
927 percpu_counter_add_batch(&htab->pcount, 1, PERCPU_COUNTER_BATCH); in inc_elem_count()
937 percpu_counter_add_batch(&htab->pcount, -1, PERCPU_COUNTER_BATCH); in dec_elem_count()
1577 percpu_counter_destroy(&htab->pcount); in htab_map_free()
2268 percpu_counter_sum(&htab->pcount) : in htab_map_mem_usage()
H A Dcgroup.c1714 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl() argument
1739 if (write && *buf && *pcount) { in __cgroup_bpf_run_filter_sysctl()
1744 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl()
1764 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl()
/openbmc/linux/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()
/openbmc/linux/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.c1227 u64 pcount; in ocfs2_create_local_dquot() local
1246 &pcount, in ocfs2_create_local_dquot()
/openbmc/linux/include/linux/
H A Ddfl.h94 void *dfh_find_param(struct dfl_device *dfl_dev, int param_id, size_t *pcount);
H A Dtcp.h562 int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
H A Dbpf-cgroup.h137 char **buf, size_t *pcount, loff_t *ppos,
/openbmc/linux/kernel/sched/
H A Dstats.h17 rq->rq_sched_info.pcount++; in rq_sched_info_arrive()
241 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()
/openbmc/linux/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()
2020 u8 pcount; in hp_wmi_sensors_init() local
2024 err = init_platform_events(dev, &pevents, &pcount); in hp_wmi_sensors_init()
2034 hp_wmi_debugfs_init(dev, info, pevents, icount, pcount, is_new); in hp_wmi_sensors_init()
2039 has_events = find_event_attributes(state, pevents, pcount); in hp_wmi_sensors_init()
/openbmc/linux/net/ipv4/
H A Dtcp_input.c1378 int dup_sack, int pcount, in tcp_sacktag_one() argument
1387 tp->undo_retrans = max_t(int, 0, tp->undo_retrans - pcount); in tcp_sacktag_one()
1407 tp->lost_out -= pcount; in tcp_sacktag_one()
1408 tp->retrans_out -= pcount; in tcp_sacktag_one()
1429 tp->lost_out -= pcount; in tcp_sacktag_one()
1435 tp->sacked_out += pcount; in tcp_sacktag_one()
1437 state->sack_delivered += pcount; in tcp_sacktag_one()
1442 tp->lost_cnt_hint += pcount; in tcp_sacktag_one()
1451 tp->retrans_out -= pcount; in tcp_sacktag_one()
1463 unsigned int pcount, int shifted, int mss, in tcp_shifted_skb() argument
[all …]
H A Dtcp_output.c2879 int pcount; in tcp_send_loss_probe() local
2889 pcount = tp->packets_out; in tcp_send_loss_probe()
2891 if (tp->packets_out > pcount) in tcp_send_loss_probe()
2907 pcount = tcp_skb_pcount(skb); in tcp_send_loss_probe()
2908 if (WARN_ON(!pcount)) in tcp_send_loss_probe()
2911 if ((pcount > 1) && (skb->len > (pcount - 1) * mss)) { in tcp_send_loss_probe()
2913 (pcount - 1) * mss, mss, in tcp_send_loss_probe()
/openbmc/linux/crypto/
H A Dtcrypt.c743 int bcount, pcount; in test_ahash_jiffies() local
754 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_jiffies()
813 int i, pcount, ret; in test_ahash_cycles() local
823 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
842 for (pcount = 0; pcount < blen; pcount += plen) { in test_ahash_cycles()
/openbmc/linux/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()
/openbmc/linux/drivers/scsi/lpfc/
H A 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()
/openbmc/linux/kernel/
H A Ddelayacct.c151 t1 = tsk->sched_info.pcount; in delayacct_add_tsk()
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0004-FF-A-v15-arm_ffa-introduce-Arm-FF-A-support.patch1078 + * @pcount: Pointer to the number of partitions variable filled when querying
1093 + u32 *pcount)
1106 + if (!pcount)
1110 + } else if (pcount) {
1139 + if (pcount)
1140 + *pcount = (u32)res.a2;
/openbmc/linux/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()

12