| /linux/fs/isofs/ |
| H A D | compress.c | 41 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() 307 int i, pcount, full_page; in zisofs_read_folio() local 329 pcount = min_t(int, zisofs_pages_per_cblock, in zisofs_read_folio() [all …]
|
| /linux/lib/ |
| H A D | percpu_counter.c | 67 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/arch/s390/kvm/ |
| H A D | pci.c | 231 int rc = 0, gisc, npages, pcount = 0; in kvm_s390_pci_aif_enable() local 258 pcount++; in kvm_s390_pci_aif_enable() 274 pcount++; in kvm_s390_pci_aif_enable() 278 if (account_mem(pcount)) in kvm_s390_pci_aif_enable() 340 int rc, pcount = 0; in kvm_s390_pci_aif_disable() local 388 pcount++; in kvm_s390_pci_aif_disable() 392 pcount++; in kvm_s390_pci_aif_disable() 394 if (pcount > 0) in kvm_s390_pci_aif_disable() 395 unaccount_mem(pcount); in kvm_s390_pci_aif_disable()
|
| /linux/security/apparmor/include/ |
| H A D | policy_unpack.h | 112 struct kref pcount; member 162 kref_get(&(data->pcount)); in aa_get_profile_loaddata() 180 kref_put(&data->pcount, aa_ploaddata_kref); in aa_put_profile_loaddata()
|
| /linux/kernel/bpf/ |
| H A D | map_iter.c | 200 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 D | hashtab.c | 99 struct percpu_counter pcount; member 630 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc() 663 percpu_counter_destroy(&htab->pcount); in htab_map_alloc() 973 return __percpu_counter_compare(&htab->pcount, htab->map.max_entries, in is_map_full() 983 percpu_counter_add_batch(&htab->pcount, 1, PERCPU_COUNTER_BATCH); in inc_elem_count() 993 percpu_counter_add_batch(&htab->pcount, -1, PERCPU_COUNTER_BATCH); in dec_elem_count() 1646 percpu_counter_destroy(&htab->pcount); in htab_map_free() 2339 percpu_counter_sum(&htab->pcount) : in htab_map_mem_usage()
|
| H A D | cgroup.c | 1891 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl() argument 1916 if (write && *buf && *pcount) { in __cgroup_bpf_run_filter_sysctl() 1921 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl() 1941 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_network.h | 537 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/fs/ocfs2/ |
| H A D | quota_global.c | 178 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()
|
| /linux/tools/lib/perf/include/perf/ |
| H A D | schedstat-v16.h | 20 CPU_FIELD(__u64, pcount, "total timeslices run on this cpu", 21 "%11llu", false, pcount, v16);
|
| H A D | schedstat-v15.h | 20 CPU_FIELD(__u64, pcount, "total timeslices run on this cpu", 21 "%11llu", false, pcount, v15);
|
| H A D | schedstat-v17.h | 20 CPU_FIELD(__u64, pcount, "total timeslices run on this cpu", 21 "%11llu", false, pcount, v17);
|
| /linux/include/linux/ |
| H A D | dfl.h | 94 void *dfh_find_param(struct dfl_device *dfl_dev, int param_id, size_t *pcount);
|
| H A D | tcp.h | 631 int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
|
| /linux/drivers/hwmon/ |
| H A D | hp-wmi-sensors.c | 1316 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/kernel/sched/ |
| H A D | stats.h | 17 rq->rq_sched_info.pcount++; in rq_sched_info_arrive() 282 t->sched_info.pcount++; in sched_info_arrive()
|
| H A D | stats.c | 130 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); in show_schedstat()
|
| /linux/include/net/ |
| H A D | tcp_ecn.h | 284 u32 pcount = is_ce * max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_ecn_received_counters() local 294 tp->received_ce += pcount; in tcp_ecn_received_counters() 295 tp->received_ce_pending = min(tp->received_ce_pending + pcount, in tcp_ecn_received_counters()
|
| /linux/net/ipv4/ |
| H A D | tcp_input.c | 1615 int dup_sack, int pcount, u32 plen, in tcp_sacktag_one() argument 1624 tp->undo_retrans = max_t(int, 0, tp->undo_retrans - pcount); in tcp_sacktag_one() 1644 tp->lost_out -= pcount; in tcp_sacktag_one() 1645 tp->retrans_out -= pcount; in tcp_sacktag_one() 1666 tp->lost_out -= pcount; in tcp_sacktag_one() 1672 tp->sacked_out += pcount; in tcp_sacktag_one() 1674 state->sack_delivered += pcount; in tcp_sacktag_one() 1684 tp->retrans_out -= pcount; in tcp_sacktag_one() 1850 unsigned int pcount, int shifted, int mss, in tcp_shifted_skb() argument 1857 BUG_ON(!pcount); in tcp_shifted_skb() [all …]
|
| H A D | tcp_output.c | 3176 int pcount; in tcp_send_loss_probe() local 3186 pcount = tp->packets_out; in tcp_send_loss_probe() 3188 if (tp->packets_out > pcount) in tcp_send_loss_probe() 3202 pcount = tcp_skb_pcount(skb); in tcp_send_loss_probe() 3203 if (WARN_ON(!pcount)) in tcp_send_loss_probe() 3206 if ((pcount > 1) && (skb->len > (pcount - 1) * mss)) { in tcp_send_loss_probe() 3208 (pcount - 1) * mss, mss, in tcp_send_loss_probe()
|
| /linux/crypto/ |
| H A D | tcrypt.c | 743 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()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | user_sdma.c | 286 u8 pcount = initial_pkt_count; in hfi1_user_sdma_process_request() local 470 if (pcount > req->info.npkts) in hfi1_user_sdma_process_request() 471 pcount = req->info.npkts; in hfi1_user_sdma_process_request() 533 ret = user_sdma_send_pkts(req, pcount); in hfi1_user_sdma_process_request()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_mbox.c | 1841 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() 1879 for (pagen = 0, alloc_len = 0; pagen < pcount; pagen++) { in lpfc_sli4_config()
|
| /linux/kernel/ |
| H A D | delayacct.c | 171 t1 = tsk->sched_info.pcount; in delayacct_add_tsk()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-sched.txt | 142 pcount : 255035 271 …pcount : 335031, 266396 | -2…
|