/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
H A D | utils.c | 61 return p; in brcmu_pktq_penq() 80 return p; in brcmu_pktq_penq_head() 87 struct sk_buff *p; in brcmu_pktq_pdeq() local 91 if (p == NULL) in brcmu_pktq_pdeq() 95 return p; in brcmu_pktq_pdeq() 117 return p; in brcmu_pktq_pdeq_match() 131 if (p == NULL) in brcmu_pktq_pdeq_tail() 135 return p; in brcmu_pktq_pdeq_tail() 240 if (p == NULL) in brcmu_pktq_mdeq() 248 return p; in brcmu_pktq_mdeq() [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | sync_bitops.h | 18 #define sync_set_bit(nr, p) set_bit(nr, p) argument 19 #define sync_clear_bit(nr, p) clear_bit(nr, p) argument 20 #define sync_change_bit(nr, p) change_bit(nr, p) argument 21 #define sync_test_and_set_bit(nr, p) test_and_set_bit(nr, p) argument 22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p) argument 23 #define sync_test_and_change_bit(nr, p) test_and_change_bit(nr, p) argument
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4xdr.c | 1076 p = xdr_encode_hyper(p, t->tv_sec); in xdr_encode_nfstime4() 1165 p = xdr_encode_hyper(p, iap->ia_size); in encode_attrs() 1219 p = xdr_encode_hyper(p, args->offset); in encode_commit() 1420 p = xdr_encode_hyper(p, arg->clientid); in encode_openhdr() 1598 p = xdr_encode_hyper(p, args->offset); in encode_read() 1763 p = xdr_encode_hyper(p, args->offset); in encode_write() 1852 p = xdr_encode_hyper(p, 0); in encode_exchange_id() 3441 p = xdr_decode_hyper(p, &fsid->major); in decode_attr_fsid() 4139 p = xdr_decode_hyper(p, &sec); in xdr_decode_nfstime4() 5039 p = xdr_decode_hyper(p, &length); in decode_lock_denied() [all …]
|
/openbmc/linux/arch/arm/mach-shmobile/ |
H A D | pm-rcar-gen2.c | 47 void __iomem *p; in rcar_gen2_pm_init() local 89 p = ioremap(res.start, resource_size(&res)); in rcar_gen2_pm_init() 90 if (!p) in rcar_gen2_pm_init() 98 memcpy_toio(p, shmobile_boot_vector_gen2, in rcar_gen2_pm_init() 103 iounmap(p); in rcar_gen2_pm_init() 106 p = ioremap(RST, 0x63); in rcar_gen2_pm_init() 109 writel_relaxed(bar, p + CA15BAR); in rcar_gen2_pm_init() 115 p + CA15RESCNT); in rcar_gen2_pm_init() 118 writel_relaxed(bar, p + CA7BAR); in rcar_gen2_pm_init() 124 p + CA7RESCNT); in rcar_gen2_pm_init() [all …]
|
/openbmc/linux/net/sctp/ |
H A D | stream_sched_prio.c | 30 p->users++; in sctp_sched_prio_head_get() 31 return p; in sctp_sched_prio_head_get() 36 if (p && --p->users == 0) in sctp_sched_prio_head_put() 37 kfree(p); in sctp_sched_prio_head_put() 45 p = kmalloc(sizeof(*p), gfp); in sctp_sched_prio_new_head() 46 if (!p) in sctp_sched_prio_new_head() 51 p->next = NULL; in sctp_sched_prio_new_head() 52 p->prio = prio; in sctp_sched_prio_new_head() 53 p->users = 1; in sctp_sched_prio_new_head() 55 return p; in sctp_sched_prio_new_head() [all …]
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_conn.c | 127 if (p->pe_data && p->pe->hashkey_raw) in ip_vs_conn_hashkey_param() 139 return ip_vs_conn_hashkey(p->ipvs, p->af, p->protocol, addr, port); in ip_vs_conn_hashkey_param() 305 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_in_get() 306 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_conn_in_get() 361 if (p->pe == cp->pe && p->pe->ct_match(p, cp)) { in ip_vs_ct_in_get() 373 p->af, p->vaddr, &cp->vaddr) && in ip_vs_ct_in_get() 389 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_ct_in_get() 390 IP_VS_DBG_ADDR(p->af, p->vaddr), ntohs(p->vport), in ip_vs_ct_in_get() 426 if (p->cport == sport && cp->af == p->af && in ip_vs_conn_out_get() 443 IP_VS_DBG_ADDR(p->af, p->caddr), ntohs(p->cport), in ip_vs_conn_out_get() [all …]
|
/openbmc/linux/scripts/coccinelle/free/ |
H A D | devm_free.cocci | 60 position p; 90 kfree@p(x) 98 free_page@p(x) 100 free_irq@p(x) 102 iounmap@p(x) 109 position p != safe.p; 113 * kfree@p(x) 123 * free_irq@p(x) 125 * iounmap@p(x) 131 p << pb.p; [all …]
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | pkcs7_verify.c | 203 for (p = pkcs7->certs; p; p = p->next) in pkcs7_verify_sig_chain() 204 p->seen = false; in pkcs7_verify_sig_chain() 217 for (p = sinfo->signer; p != x509; p = p->signer) in pkcs7_verify_sig_chain() 251 for (p = pkcs7->certs; p; p = p->next) { in pkcs7_verify_sig_chain() 253 p->index, p->id->len, p->id->data); in pkcs7_verify_sig_chain() 260 for (p = pkcs7->certs; p; p = p->next) { in pkcs7_verify_sig_chain() 261 if (!p->skid) in pkcs7_verify_sig_chain() 264 p->index, p->skid->len, p->skid->data); in pkcs7_verify_sig_chain() 286 if (p->seen) { in pkcs7_verify_sig_chain() 295 if (x509 == p) { in pkcs7_verify_sig_chain() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | cgroup_iter.c | 65 if (p->visited_all) in cgroup_iter_seq_start() 75 p->terminate = false; in cgroup_iter_seq_start() 76 p->visited_all = false; in cgroup_iter_seq_start() 82 return p->start_css; in cgroup_iter_seq_start() 97 p->visited_all = true; in cgroup_iter_seq_stop() 107 if (p->terminate) in cgroup_iter_seq_next() 142 p->terminate = true; in __cgroup_iter_seq_show() 173 css_get(p->start_css); in BTF_ID_LIST_GLOBAL_SINGLE() 174 p->terminate = false; in BTF_ID_LIST_GLOBAL_SINGLE() 175 p->visited_all = false; in BTF_ID_LIST_GLOBAL_SINGLE() [all …]
|
/openbmc/linux/tools/perf/ui/tui/ |
H A D | progress.c | 10 static void __tui_progress__init(struct ui_progress *p) in __tui_progress__init() argument 12 p->next = p->step = p->total / (SLtt_Screen_Cols - 2) ?: 1; in __tui_progress__init() 15 static int get_title(struct ui_progress *p, char *buf, size_t size) in get_title() argument 21 ret = unit_number__scnprintf(buf_cur, sizeof(buf_cur), p->curr); in get_title() 25 p->title, buf_cur, buf_tot); in get_title() 28 static void tui_progress__update(struct ui_progress *p) in tui_progress__update() argument 30 char buf[100], *title = (char *) p->title; in tui_progress__update() 39 if (p->total == 0) in tui_progress__update() 42 if (p->size) { in tui_progress__update() 43 get_title(p, buf, sizeof(buf)); in tui_progress__update() [all …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-ioctl.c | 594 } p; in omapfb_ioctl() local 598 memset(&p, 0, sizeof(p)); in omapfb_ioctl() 621 sizeof(p.uwnd_o))) { in omapfb_ioctl() 626 r = omapfb_update_window(fbi, p.uwnd_o.x, p.uwnd_o.y, in omapfb_ioctl() 627 p.uwnd_o.width, p.uwnd_o.height); in omapfb_ioctl() 638 sizeof(p.uwnd))) { in omapfb_ioctl() 643 r = omapfb_update_window(fbi, p.uwnd.x, p.uwnd.y, in omapfb_ioctl() 644 p.uwnd.width, p.uwnd.height); in omapfb_ioctl() 692 memset(&p.caps, 0, sizeof(p.caps)); in omapfb_ioctl() 698 if (copy_to_user((void __user *)arg, &p.caps, sizeof(p.caps))) in omapfb_ioctl() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/bdc/ |
H A D | bdc.h | 97 #define NUM_NCS(p) ((p) >> 28) argument 101 #define BDC_PGS(p) (((p) & (0x7 << 8)) >> 8) argument 102 #define BDC_SPB(p) ((p) & 0x7) argument 116 #define BDC_CMD_EPN(p) (((p) & 0x1f) << 10) argument 153 #define BDC_PSP(p) (((p) & (0x7 << 20))>>20) argument 166 #define BDC_PST(p) ((p) & 0xf) argument 174 #define BDC_U1T(p) ((p) & 0xff) argument 175 #define BDC_U2T(p) (((p) & 0xff) << 8) argument 231 #define SR_BD_LEN(p) ((p) & 0xffffff) argument 240 #define XSF_STS(p) (((p) >> 28) & 0xf) argument [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | c-r3k.c | 40 *p = 0xa5a55a5a; in r3k_cache_size() 41 dummy = *p; in r3k_cache_size() 48 *(p + size) = 0; in r3k_cache_size() 49 *p = -1; in r3k_cache_size() 76 *(p + i) = 0; in r3k_cache_lsize() 79 *(p + lsize); in r3k_cache_lsize() 113 p = (char *)start; in r3k_flush_icache_range() 153 : : "r" (p) ); in r3k_flush_icache_range() 154 p += 0x080; in r3k_flush_icache_range() 210 : : "r" (p) ); in r3k_flush_dcache_range() [all …]
|
/openbmc/linux/drivers/video/fbdev/nvidia/ |
H A D | nv_local.h | 62 #define NV_WR08(p,i,d) (__raw_writeb((d), (void __iomem *)(p) + (i))) argument 63 #define NV_RD08(p,i) (__raw_readb((void __iomem *)(p) + (i))) argument 64 #define NV_WR16(p,i,d) (__raw_writew((d), (void __iomem *)(p) + (i))) argument 65 #define NV_RD16(p,i) (__raw_readw((void __iomem *)(p) + (i))) argument 66 #define NV_WR32(p,i,d) (__raw_writel((d), (void __iomem *)(p) + (i))) argument 67 #define NV_RD32(p,i) (__raw_readl((void __iomem *)(p) + (i))) argument 70 #define VGA_WR08(p,i,d) (writeb((d), (void __iomem *)(p) + (i))) argument 71 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) argument
|
/openbmc/linux/arch/mips/bcm47xx/ |
H A D | serial.c | 41 p->mapbase = (unsigned int)ssb_port->regs; in uart8250_init_ssb() 42 p->membase = (void *)ssb_port->regs; in uart8250_init_ssb() 43 p->irq = ssb_port->irq + 2; in uart8250_init_ssb() 44 p->uartclk = ssb_port->baud_base; in uart8250_init_ssb() 45 p->regshift = ssb_port->reg_shift; in uart8250_init_ssb() 46 p->iotype = UPIO_MEM; in uart8250_init_ssb() 68 p->membase = (void *)bcma_port->regs; in uart8250_init_bcma() 69 p->irq = bcma_port->irq; in uart8250_init_bcma() 70 p->uartclk = bcma_port->baud_base; in uart8250_init_bcma() 71 p->regshift = bcma_port->reg_shift; in uart8250_init_bcma() [all …]
|
/openbmc/linux/drivers/gpu/drm/vboxvideo/ |
H A D | vbva_base.c | 39 memcpy(dst, p, len); in vbva_buffer_place_data_at() 49 struct vbva_flush *p; in vbva_buffer_flush() local 51 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_FLUSH); in vbva_buffer_flush() 52 if (!p) in vbva_buffer_flush() 55 p->reserved = 0; in vbva_buffer_flush() 58 hgsmi_buffer_free(ctx, p); in vbva_buffer_flush() 62 const void *p, u32 len) in vbva_write() argument 101 p += chunk; in vbva_write() 113 p = hgsmi_buffer_alloc(ctx, sizeof(*p), HGSMI_CH_VBVA, VBVA_ENABLE); in vbva_inform_host() 114 if (!p) in vbva_inform_host() [all …]
|
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | signal.aserver.emit.hpp.mako | 4 join([ parameter(p) for p in signal.properties ]) 6 def parameter(p): 8 (p.cppTypeParam(interface.name), p.camelCase, default_value(p)) 12 return ", ".join([ p.camelCase for p in signal.properties ]) 14 def default_value(p): 15 if p.defaultValue != None: 16 return " = " + str(p.defaultValue) 25 % for p in signal.properties: 26 * @param[in] ${p.camelCase} - ${p.description.strip()}
|
/openbmc/qemu/ui/ |
H A D | input-barrier.c | 123 #define read_char(x, p, l) \ argument 129 x = *(char *)p; \ 130 p += size; \ 207 char *p; in readcmd() local 225 p = ib->buffer; in readcmd() 242 p += 4; in readcmd() 343 char *p; in writecmd() local 347 p = ib->buffer; in writecmd() 351 p += sizeof(int); in writecmd() 460 p = ib->buffer; in writecmd() [all …]
|
/openbmc/linux/scripts/coccinelle/misc/ |
H A D | do_div.cocci | 85 position p; 92 do_div@p(f, l); 94 do_div@p(f, ul); 102 p << r.p; 109 p << r.p; 116 p << r.p; 123 p << r.p; 130 p << r.p; 137 p << r.p; 144 p << r.p; [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_switchdev.c | 60 if (p->hwdom) in nbp_switchdev_frame_mark() 84 .orig_dev = p->dev, in br_switchdev_set_port_flag() 138 item->info.dev = (!p || item->is_local) ? br->dev : p->dev; in br_switchdev_fdb_populate() 260 p->offload_count++; in nbp_switchdev_add() 265 p->ppid = ppid; in nbp_switchdev_add() 266 p->offload_count = 1; in nbp_switchdev_add() 285 p->offload_count--; in nbp_switchdev_del() 287 if (p->offload_count) in nbp_switchdev_del() 290 if (p->hwdom) in nbp_switchdev_del() 516 pp = &p->next) { in br_switchdev_mdb_complete() [all …]
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | eeprom.c | 214 p += 2; in tulip_parse_eeprom() 216 csr12dir = *p++; in tulip_parse_eeprom() 217 count = *p++; in tulip_parse_eeprom() 248 leaf->leafdata = p; in tulip_parse_eeprom() 251 p += 4; in tulip_parse_eeprom() 253 leaf->type = p[1]; in tulip_parse_eeprom() 254 if (p[1] == 0x05) { in tulip_parse_eeprom() 263 p += (p[0] & 0x3f) + 1; in tulip_parse_eeprom() 270 gpr_len=p[3]*2; in tulip_parse_eeprom() 287 if (p[2] & 0x40) { in tulip_parse_eeprom() [all …]
|
/openbmc/linux/arch/ia64/lib/ |
H A D | xor.S | 34 .rotp p[6+2] 36 (p[0]) ld8.nta s1[0] = [r16], 8 37 (p[0]) ld8.nta s2[0] = [r17], 8 38 (p[6]) xor d[0] = s1[6], s2[6] 39 (p[6+1])st8.nta [r8] = d[1], 8 73 .rotp p[6+2] 81 (p[6]) xor d[0] = d[0], s3[6] 115 .rotp p[6+2] 125 (p[6]) xor d[0] = d[0], r20 160 .rotp p[6+2] [all …]
|
/openbmc/qemu/fpu/ |
H A D | softfloat.c | 1804 p->cls = (p->frac_hi == 0 ? float_class_inf in floatx80_unpack_canonical() 2753 FloatParts64 p; in float16_to_float32() local 2763 FloatParts64 p; in float16_to_float64() local 2772 FloatParts64 p; in float32_to_float16() local 2789 FloatParts64 p; in soft_float32_to_float64() local 2814 FloatParts64 p; in float64_to_float16() local 2830 FloatParts64 p; in float64_to_float32() local 2839 FloatParts64 p; in bfloat16_to_float32() local 2848 FloatParts64 p; in bfloat16_to_float64() local 3227 } else if (p.exp == 127 && p.sign && p.frac_lo == 0 && in float128_to_int128_scalbn() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | cx22700.c | 121 if (p->code_rate_HP < FEC_1_2 || p->code_rate_HP > FEC_7_8) in cx22700_set_tps() 124 if (p->code_rate_LP < FEC_1_2 || p->code_rate_LP > FEC_7_8) in cx22700_set_tps() 127 if (p->code_rate_HP == FEC_4_5 || p->code_rate_LP == FEC_4_5) in cx22700_set_tps() 138 if (p->modulation != QPSK && in cx22700_set_tps() 139 p->modulation != QAM_16 && in cx22700_set_tps() 140 p->modulation != QAM_64) in cx22700_set_tps() 144 p->hierarchy > HIERARCHY_4) in cx22700_set_tps() 147 if (p->bandwidth_hz > 8000000 || p->bandwidth_hz < 6000000) in cx22700_set_tps() 201 p->modulation = QAM_AUTO; in cx22700_get_tps() 208 p->code_rate_HP = FEC_AUTO; in cx22700_get_tps() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | jit_probe_mem.c | 14 struct prog_test_ref_kfunc *p; in test_jit_probe_mem() local 17 p = bpf_kfunc_call_test_acquire(&zero); in test_jit_probe_mem() 18 if (!p) in test_jit_probe_mem() 21 p = bpf_kptr_xchg(&v, p); in test_jit_probe_mem() 22 if (p) in test_jit_probe_mem() 26 p = v; in test_jit_probe_mem() 27 if (!p) in test_jit_probe_mem() 48 : [p] "r"(p) in test_jit_probe_mem() 55 bpf_kfunc_call_test_release(p); in test_jit_probe_mem()
|