| /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() 75 return (((loff_t)pcount) << PAGE_SHIFT) - poffset; in zisofs_uncompress_block() 120 while (curpage < pcount && curbh < haveblocks && in zisofs_uncompress_block() 208 static int zisofs_fill_pages(struct inode *inode, int full_page, int pcount, in zisofs_fill_pages() argument 251 while (cstart_block < cend_block && pcount > 0) { in zisofs_fill_pages() 270 pcount, pages, poffset, &err); in zisofs_fill_pages() 273 pcount -= poffset >> PAGE_SHIFT; in zisofs_fill_pages() 310 int i, pcount, full_page; in zisofs_read_folio() local 332 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/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 if (data && kref_get_unless_zero(&data->pcount)) in aa_get_profile_loaddata_not0() 199 kref_put(&data->pcount, aa_ploaddata_kref); in aa_put_profile_loaddata()
|
| /linux/arch/s390/kvm/ |
| H A D | pci.c | 252 int rc = 0, gisc, npages, pcount = 0; in kvm_s390_pci_aif_enable() local 291 pcount++; in kvm_s390_pci_aif_enable() 313 pcount++; in kvm_s390_pci_aif_enable() 317 rc = account_mem(zdev->kzdev, pcount); in kvm_s390_pci_aif_enable() 392 if (pcount > 0) in kvm_s390_pci_aif_enable() 393 unaccount_mem(zdev->kzdev, pcount); in kvm_s390_pci_aif_enable() 410 int rc, pcount = 0; in kvm_s390_pci_aif_disable() local 457 pcount++; in kvm_s390_pci_aif_disable() 461 pcount++; in kvm_s390_pci_aif_disable() 463 if (pcount > 0) in kvm_s390_pci_aif_disable() [all …]
|
| /linux/tools/lib/perf/include/perf/ |
| 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-v16.h | 20 CPU_FIELD(__u64, pcount, "total timeslices run on this cpu", 21 "%11llu", false, pcount, v16);
|
| H A D | schedstat-v17.h | 20 CPU_FIELD(__u64, pcount, "total timeslices run on this cpu", 21 "%11llu", false, pcount, v17);
|
| /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/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 | 641 int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
|
| /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 | 3174 int pcount; in tcp_send_loss_probe() local 3184 pcount = tp->packets_out; in tcp_send_loss_probe() 3186 if (tp->packets_out > pcount) in tcp_send_loss_probe() 3200 pcount = tcp_skb_pcount(skb); in tcp_send_loss_probe() 3201 if (WARN_ON(!pcount)) in tcp_send_loss_probe() 3204 if ((pcount > 1) && (skb->len > (pcount - 1) * mss)) { in tcp_send_loss_probe() 3206 (pcount - 1) * mss, mss, in tcp_send_loss_probe()
|
| /linux/kernel/sched/ |
| H A D | stats.c | 130 rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); in show_schedstat()
|
| /linux/kernel/bpf/ |
| H A D | hashtab.c | 100 struct percpu_counter pcount; member 633 err = percpu_counter_init(&htab->pcount, 0, GFP_KERNEL); in htab_map_alloc() 666 percpu_counter_destroy(&htab->pcount); in htab_map_alloc() 976 return __percpu_counter_compare(&htab->pcount, htab->map.max_entries, in is_map_full() 986 percpu_counter_add_batch(&htab->pcount, 1, PERCPU_COUNTER_BATCH); in inc_elem_count() 996 percpu_counter_add_batch(&htab->pcount, -1, PERCPU_COUNTER_BATCH); in dec_elem_count() 1652 percpu_counter_destroy(&htab->pcount); in htab_map_free() 2345 percpu_counter_sum(&htab->pcount) : in htab_map_mem_usage()
|
| H A D | cgroup.c | 1954 char **buf, size_t *pcount, loff_t *ppos, in __cgroup_bpf_run_filter_sysctl() argument 1979 if (write && *buf && *pcount) { in __cgroup_bpf_run_filter_sysctl() 1984 ctx.new_len = min_t(size_t, PAGE_SIZE, *pcount); in __cgroup_bpf_run_filter_sysctl() 2004 *pcount = ctx.new_len; in __cgroup_bpf_run_filter_sysctl()
|
| /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 | 148 pcount : 255035 277 pcount : 335031, 266396 | -20.49>
|
| /linux/security/apparmor/ |
| H A D | policy_unpack.c | 150 struct aa_loaddata *d = container_of(kref, struct aa_loaddata, pcount); in aa_ploaddata_kref() 172 kref_init(&d->pcount); in aa_loaddata_alloc()
|
| /linux/arch/x86/kvm/ |
| H A D | hyperv.c | 753 static int stimer_get_count(struct kvm_vcpu_hv_stimer *stimer, u64 *pcount) in stimer_get_count() argument 755 *pcount = stimer->count; in stimer_get_count()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_receiver.c | 3335 int pcount = (device->state.role == R_PRIMARY) in drbd_sync_handshake() local 3339 switch (pcount) { in drbd_sync_handshake() 3353 pcount, (hg < 0) ? "peer" : "this"); in drbd_sync_handshake()
|