Home
last modified time | relevance | path

Searched refs:p (Results 151 – 175 of 8793) sorted by relevance

12345678910>>...352

/openbmc/qemu/scripts/coccinelle/
H A Derr-bad-newline.cocci5 position p;
8 error_vreport(fmt, ap)@p
10 warn_vreport(fmt, ap)@p
12 info_vreport(fmt, ap)@p
14 error_report(fmt, ...)@p
16 warn_report(fmt, ...)@p
18 info_report(fmt, ...)@p
22 warn_report_once(fmt, ...)@p
24 error_setg(errp, fmt, ...)@p
46 p << r.p;
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_jedec.c29 struct nand_jedec_params *p; in nand_jedec_detect() local
45 p = kzalloc(sizeof(*p), GFP_KERNEL); in nand_jedec_detect()
46 if (!p) in nand_jedec_detect()
55 sizeof(*p)); in nand_jedec_detect()
57 ret = nand_read_data_op(chip, p, sizeof(*p), true, in nand_jedec_detect()
61 p, sizeof(*p), true); in nand_jedec_detect()
78 val = le16_to_cpu(p->revision); in nand_jedec_detect()
89 sanitize_string(p->manufacturer, sizeof(p->manufacturer)); in nand_jedec_detect()
90 sanitize_string(p->model, sizeof(p->model)); in nand_jedec_detect()
123 ecc = &p->ecc_info[0]; in nand_jedec_detect()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dvalkyriefb.c268 p->sense = read_valkyrie_sense(p); in valkyrie_choose_mode()
340 p = kzalloc(sizeof(*p), GFP_ATOMIC); in valkyriefb_init()
341 if (!p) in valkyriefb_init()
346 kfree(p); in valkyriefb_init()
352 p->frame_buffer = ioremap(frame_buffer_phys, p->total_vram); in valkyriefb_init()
357 p->cmap_regs = ioremap(p->cmap_regs_phys, 0x1000); in valkyriefb_init()
359 p->valkyrie_regs = ioremap(p->valkyrie_regs_phys, 0x1000); in valkyriefb_init()
361 if (p->frame_buffer == NULL || p->cmap_regs == NULL in valkyriefb_init()
369 err = valkyrie_init_info(&p->info, p); in valkyriefb_init()
372 valkyrie_init_fix(&p->info.fix, p); in valkyriefb_init()
[all …]
/openbmc/linux/kernel/sched/
H A Dcore.c2073 if (!p || p == current) in get_wchan()
2175 p->normal_prio = normal_prio(p); in effective_prio()
2398 if (p->cpus_ptr != &p->cpus_mask) in migrate_disable_switch()
3304 task_pid_nr(p), p->comm, in force_compatible_cpus_allowed_ptr()
4756 p->prio = p->normal_prio = p->static_prio; in sched_fork()
4816 p->sched_class->task_fork(p); in sched_cgroup_fork()
4866 __set_task_cpu(p, select_task_rq(p, task_cpu(p), WF_FORK)); in wake_up_new_task()
7150 p->dl.pi_se = &p->dl; in rt_mutex_setprio()
7154 p->dl.pi_se = &p->dl; in rt_mutex_setprio()
7159 p->dl.pi_se = &p->dl; in rt_mutex_setprio()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A DHalPhyRf.c27 u8 p = 0; in ODM_ClearTxPowerTrackingState() local
33 for (p = RF_PATH_A; p < MAX_RF_PATH; ++p) { in ODM_ClearTxPowerTrackingState()
45 pDM_Odm->Remnant_OFDMSwingIdx[p] = 0; in ODM_ClearTxPowerTrackingState()
199 for (p = RF_PATH_A; p < c.RfPathCount; p++) { in ODM_TXPowerTrackingCallback_ThermalMeter()
219 pDM_Odm->BbSwingIdxOfdm[p] = in ODM_TXPowerTrackingCallback_ThermalMeter()
233 for (p = RF_PATH_A; p < c.RfPathCount; p++) in ODM_TXPowerTrackingCallback_ThermalMeter()
238 for (p = RF_PATH_A; p < c.RfPathCount; p++) { in ODM_TXPowerTrackingCallback_ThermalMeter()
256 for (p = RF_PATH_A; p < c.RfPathCount; p++) in ODM_TXPowerTrackingCallback_ThermalMeter()
259 for (p = RF_PATH_A; p < c.RfPathCount; p++) in ODM_TXPowerTrackingCallback_ThermalMeter()
265 for (p = RF_PATH_A; p < c.RfPathCount; p++) in ODM_TXPowerTrackingCallback_ThermalMeter()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/cache_shape/
H A Dcache_shape.c54 ElfW(auxv_t) *p; in test_cache_shape()
62 if (p) { in test_cache_shape()
68 if (p) { in test_cache_shape()
70 print_geo("L1I ", (uint32_t)p->a_un.a_val); in test_cache_shape()
74 if (p) { in test_cache_shape()
80 if (p) { in test_cache_shape()
82 print_geo("L1D ", (uint32_t)p->a_un.a_val); in test_cache_shape()
86 if (p) { in test_cache_shape()
92 if (p) { in test_cache_shape()
98 if (p) { in test_cache_shape()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qtree.c86 (*p)++; in check_order()
110 p = chars; in test_tree_search()
134 p = chars; in test_tree_search()
139 g_assert(p && *p == c); in test_tree_search()
145 g_assert(p && *p == c); in test_tree_search()
149 g_assert(p && *p == c); in test_tree_search()
153 g_assert(p && *p == c); in test_tree_search()
169 g_assert(p && *p == c); in test_tree_search()
173 g_assert(p && *p == c); in test_tree_search()
177 g_assert(p && *p == c); in test_tree_search()
[all …]
/openbmc/linux/drivers/soc/fsl/qbman/
H A Dqman.c1169 u32 is = qm_in(&p->p, QM_REG_ISR) & p->irq_sources; in portal_isr()
1231 p = &portal->p; in qman_create_portal()
1463 qm_mc_start(&p->p); in qm_congestion_task()
1497 qm_mr_pvb_update(&p->p); in qm_mr_process_task()
1539 qm_mr_next(&p->p); in qm_mr_process_task()
1673 qm_dqrr_next(&p->p); in __poll_portal_fast()
1691 qm_out(&p->p, QM_REG_IER, p->irq_sources); in qman_p_irqsource_add()
1714 qm_out(&p->p, QM_REG_IER, p->irq_sources); in qman_p_irqsource_remove()
1770 qm_dqrr_sdqcr_set(&p->p, p->sdqcr); in qman_p_static_dequeue_add()
1887 mcc = qm_mc_start(&p->p); in qman_init_fq()
[all …]
/openbmc/linux/net/mac80211/
H A Ddebugfs_sta.c155 p += scnprintf(p, in sta_aqm_read()
169 p += scnprintf(p, bufsz + buf - p, in sta_aqm_read()
221 p += scnprintf(p, bufsz + buf - p, in sta_airtime_read()
274 p += scnprintf(p, bufsz + buf - p, in sta_aql_read()
335 p += scnprintf(p, bufsz + buf - p, in sta_agg_status_read()
616 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
620 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
624 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
632 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
638 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
[all …]
/openbmc/linux/drivers/clk/pistachio/
H A Dclk.c20 p = kzalloc(sizeof(*p), GFP_KERNEL); in pistachio_clk_alloc_provider()
21 if (!p) in pistachio_clk_alloc_provider()
22 return p; in pistachio_clk_alloc_provider()
25 if (!p->clk_data.clks) in pistachio_clk_alloc_provider()
28 p->node = node; in pistachio_clk_alloc_provider()
29 p->base = of_iomap(node, 0); in pistachio_clk_alloc_provider()
30 if (!p->base) { in pistachio_clk_alloc_provider()
35 return p; in pistachio_clk_alloc_provider()
38 kfree(p->clk_data.clks); in pistachio_clk_alloc_provider()
40 kfree(p); in pistachio_clk_alloc_provider()
[all …]
/openbmc/u-boot/arch/nios2/include/asm/bitops/
H A Datomic.h71 _atomic_spin_lock_irqsave(p, flags); in set_bit()
72 *p |= mask; in set_bit()
92 _atomic_spin_lock_irqsave(p, flags); in clear_bit()
93 *p &= ~mask; in clear_bit()
114 *p ^= mask; in change_bit()
135 old = *p; in test_and_set_bit()
136 *p = old | mask; in test_and_set_bit()
159 old = *p; in test_and_clear_bit()
160 *p = old & ~mask; in test_and_clear_bit()
182 old = *p; in test_and_change_bit()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dcb_refs.c20 void *p = *(void **)ctx; in cb1() local
21 bpf_kfunc_call_test_release(p); in cb1()
29 struct prog_test_ref_kfunc *p; in underflow_prog() local
33 if (!p) in underflow_prog()
59 p = NULL; in leak_prog()
61 p = bpf_kptr_xchg(&v->ptr, p); in leak_prog()
62 if (p) in leak_prog()
75 void *p; in cb3() local
93 if (!p) in nested_cb()
107 if (!p) in non_cb_transfer_ref()
[all …]
/openbmc/linux/fs/nfsd/
H A Dnfs4xdr.c243 p = xdr_decode_hyper(p, &tv->tv_sec); in nfsd4_decode_nfstime4()
2569 p = xdr_encode_hyper(p, ts.tv_sec); in encode_time_delta()
3137 p = xdr_encode_hyper(p, (u64)0); in nfsd4_encode_fattr()
3241 p = xdr_encode_hyper(p, stat.ino); in nfsd4_encode_fattr()
3342 p = xdr_encode_hyper(p, dummy64); in nfsd4_encode_fattr()
3349 p = xdr_encode_hyper(p, dummy64); in nfsd4_encode_fattr()
3356 p = xdr_encode_hyper(p, dummy64); in nfsd4_encode_fattr()
3363 p = xdr_encode_hyper(p, dummy64); in nfsd4_encode_fattr()
3408 p = xdr_encode_hyper(p, ino); in nfsd4_encode_fattr()
3494 xdr->p = p; in svcxdr_init_encode_from_buffer()
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dkprobes.c84 insn = p->addr[0]; in arch_prepare_kprobe()
127 memcpy(&p->ainsn.insn[0], p->addr + 1, sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
129 memcpy(&p->ainsn.insn[0], p->addr, sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
132 p->opcode = *p->addr; in arch_prepare_kprobe()
142 flush_insn_slot(p); in arch_arm_kprobe()
148 *p->addr = p->opcode; in arch_disarm_kprobe()
281 struct kprobe *p; in kprobe_handler() local
298 if (p) { in kprobe_handler()
335 if (!p) { in kprobe_handler()
353 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dsysfs.c390 kfree(p); in mlx4_port_release()
463 if (p->slave == mlx4_master_func_num(p->dev->dev)) in store_port_pkey()
473 p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1] in store_port_pkey()
475 mlx4_sync_pkey_table(p->dev->dev, p->slave, p->port_num, in store_port_pkey()
477 err = mlx4_gen_pkey_eqe(p->dev->dev, p->slave, p->port_num); in store_port_pkey()
545 !!mlx4_vf_smi_enabled(p->dev->dev, p->slave, in sysfs_show_smi_enabled()
573 if (mlx4_vf_set_enable_smi_admin(p->dev->dev, p->slave, p->port_num, enable)) in sysfs_store_enable_smi_admin()
621 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in remove_vf_smi_entries()
633 p = kzalloc(sizeof *p, GFP_KERNEL); in add_port()
634 if (!p) in add_port()
[all …]
/openbmc/linux/include/linux/sunrpc/
H A Dxdr.h157 return p + 2; in xdr_encode_hyper()
164 return p + 2; in xdr_decode_hyper()
402 *p = xdr_one; in xdr_stream_encode_item_present()
421 *p = xdr_zero; in xdr_stream_encode_item_absent()
436 return p; in xdr_encode_bool()
497 *p = n; in xdr_stream_encode_be32()
543 *ptr = ++p; in xdr_stream_encode_opaque_inline()
744 __be32 *p; in xdr_stream_decode_opaque_inline() local
756 *ptr = p; in xdr_stream_decode_opaque_inline()
776 __be32 *p; in xdr_stream_decode_uint32_array() local
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-packed-hsv.rst27p{2.6cm}|p{0.8cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
/openbmc/linux/include/uapi/linux/
H A Dswab.h176 return __swab16(*p); in __swab16p()
243 __arch_swab16s(p); in __swab16s()
245 *p = __swab16p(p); in __swab16s()
255 __arch_swab32s(p); in __swab32s()
257 *p = __swab32p(p); in __swab32s()
268 __arch_swab64s(p); in __swab64s()
270 *p = __swab64p(p); in __swab64s()
283 __arch_swahw32s(p); in __swahw32s()
285 *p = __swahw32p(p); in __swahw32s()
298 __arch_swahb32s(p); in __swahb32s()
[all …]
/openbmc/linux/net/ipv4/
H A Dinetpeer.c100 struct inet_peer *p; in lookup() local
116 return p; in lookup()
159 p = gc_stack[i]; in inet_peer_gc()
170 p = gc_stack[i]; in inet_peer_gc()
171 if (p) { in inet_peer_gc()
197 if (p) in inet_getpeer()
198 return p; in inet_getpeer()
214 if (p) { in inet_getpeer()
236 return p; in inet_getpeer()
297 while (p) { in inetpeer_invalidate_tree()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_events.c85 page, p); in allocate_signal_page()
101 p->signal_page = allocate_signal_page(p); in allocate_event_notification_slot()
118 id = idr_alloc(&p->event_idr, ev, 0, p->signal_mapped_size / 8, in allocate_event_notification_slot()
193 p->signal_event_count == p->signal_mapped_size / 8) { in create_signal_event()
731 if (!p) in kfd_signal_event_interrupt()
1127 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1136 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1141 p->lead_thread->pid, p->pasid); in lookup_events_by_type_and_signal()
1157 if (!p) in kfd_signal_hw_exception_event()
1174 if (!p) in kfd_signal_vm_fault_event()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dstarfire.c50 struct starfire_irqinfo *p; in starfire_hookup() local
53 p = kmalloc(sizeof(*p), GFP_KERNEL); in starfire_hookup()
54 if (!p) { in starfire_hookup()
62 p->hwmid = hwmid; in starfire_hookup()
66 p->imap_slots[i] = 0UL; in starfire_hookup()
72 p->upaid = upaid; in starfire_hookup()
73 p->next = sflist; in starfire_hookup()
74 sflist = p; in starfire_hookup()
85 for (p = sflist; p != NULL; p = p->next) in starfire_translate()
88 if (p == NULL) { in starfire_translate()
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-brcmstb.c234 struct brcmstb_pwm *p; in brcmstb_pwm_probe() local
237 p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL); in brcmstb_pwm_probe()
238 if (!p) in brcmstb_pwm_probe()
242 if (IS_ERR(p->clk)) { in brcmstb_pwm_probe()
244 return PTR_ERR(p->clk); in brcmstb_pwm_probe()
255 p->chip.dev = &pdev->dev; in brcmstb_pwm_probe()
257 p->chip.npwm = 2; in brcmstb_pwm_probe()
260 if (IS_ERR(p->base)) { in brcmstb_pwm_probe()
261 ret = PTR_ERR(p->base); in brcmstb_pwm_probe()
282 pwmchip_remove(&p->chip); in brcmstb_pwm_remove()
[all …]
/openbmc/linux/kernel/
H A Dkprobes.c403 return kprobe_aggrprobe(p) && kprobe_disabled(p) && in kprobe_unused()
501 if (p && kprobe_optready(p)) { in get_optimized_kprobe()
729 if (!kprobe_aggrprobe(p) || kprobe_disarmed(p)) in unoptimize_kprobe()
1029 #define __arm_kprobe(p) arch_arm_kprobe(p) argument
1031 #define kprobe_disarmed(p) kprobe_disabled(p) argument
1049 kfree(p); in free_aggr_kprobe()
1289 if (p->post_handler && !kprobe_gone(p)) in init_aggr_kprobe()
1413 if (!p) in within_kprobe_blacklist()
1496 return _kprobe_addr(p->addr, p->symbol_name, p->offset, &on_func_entry); in kprobe_addr()
1634 addr = _kprobe_addr(p->addr, p->symbol_name, p->offset, &on_func_entry); in register_kprobe()
[all …]
/openbmc/linux/drivers/parport/
H A Dparport_sunbpp.c276 struct parport *p; in bpp_probe() local
301 p->size = size; in bpp_probe()
302 p->dev = &op->dev; in bpp_probe()
305 IRQF_SHARED, p->name, p)) != 0) { in bpp_probe()
317 pr_info("%s: sunbpp at 0x%lx\n", p->name, p->base); in bpp_probe()
321 parport_announce_port(p); in bpp_probe()
326 parport_put_port(p); in bpp_probe()
342 parport_remove_port(p); in bpp_remove()
346 free_irq(p->irq, p); in bpp_remove()
349 of_iounmap(&op->resource[0], (void __iomem *) p->base, p->size); in bpp_remove()
[all …]
/openbmc/linux/samples/bpf/
H A Dxdp_sample.bpf.h36 unsigned short *p = data; in swap_src_dst_mac() local
39 dst[0] = p[0]; in swap_src_dst_mac()
40 dst[1] = p[1]; in swap_src_dst_mac()
41 dst[2] = p[2]; in swap_src_dst_mac()
42 p[0] = p[3]; in swap_src_dst_mac()
43 p[1] = p[4]; in swap_src_dst_mac()
44 p[2] = p[5]; in swap_src_dst_mac()
45 p[3] = dst[0]; in swap_src_dst_mac()
46 p[4] = dst[1]; in swap_src_dst_mac()
47 p[5] = dst[2]; in swap_src_dst_mac()
[all …]

12345678910>>...352