/openbmc/qemu/host/include/aarch64/host/ |
H A D | bufferiszero.c.inc | 20 const uint32x4_t *p = QEMU_ALIGN_PTR_DOWN(buf + 16, 16); 40 * With the head and tail removed, e - p >= 14, so the loop 52 t0 = p[0] | p[1]; 53 t1 = p[2] | p[3]; 54 t2 = p[4] | p[5]; 55 t3 = p[6] | p[7]; 62 p += 8; 63 } while (p < e - 7);
|
/openbmc/linux/arch/x86/mm/ |
H A D | kasan_init_64.c | 44 void *p; in kasan_populate_pmd() local 50 if (p && pmd_set_huge(pmd, __pa(p), PAGE_KERNEL)) in kasan_populate_pmd() 52 memblock_free(p, PMD_SIZE); in kasan_populate_pmd() 62 void *p; in kasan_populate_pmd() local 80 void *p; in kasan_populate_pud() local 86 if (p && pud_set_huge(pud, __pa(p), PAGE_KERNEL)) in kasan_populate_pud() 88 memblock_free(p, PUD_SIZE); in kasan_populate_pud() 92 pud_populate(&init_mm, pud, p); in kasan_populate_pud() 126 void *p; in kasan_populate_pgd() local 251 void *p; in kasan_shallow_populate_p4ds() local [all …]
|
/openbmc/qemu/util/ |
H A D | selfmap.c | 35 const char *p; in read_self_maps() local 37 errors |= qemu_strtou64(fields[0], &p, 16, &start); in read_self_maps() 38 errors |= qemu_strtou64(p + 1, NULL, 16, &end); in read_self_maps() 40 errors |= qemu_strtoui(fields[3], &p, 16, &dev_maj); in read_self_maps() 41 errors |= qemu_strtoui(p + 1, NULL, 16, &dev_min); in read_self_maps() 49 p = fields[5]; in read_self_maps() 50 p += strspn(p, " "); in read_self_maps() 51 path_len = strlen(p) + 1; in read_self_maps() 53 p = NULL; in read_self_maps() 71 e->path = memcpy(e + 1, p, path_len); in read_self_maps()
|
/openbmc/linux/kernel/sched/ |
H A D | stop_task.c | 13 select_task_rq_stop(struct task_struct *p, int cpu, int flags) in select_task_rq_stop() argument 15 return task_cpu(p); /* stop tasks as never migrate */ in select_task_rq_stop() 26 check_preempt_curr_stop(struct rq *rq, struct task_struct *p, int flags) in check_preempt_curr_stop() argument 46 struct task_struct *p = pick_task_stop(rq); in pick_next_task_stop() local 48 if (p) in pick_next_task_stop() 49 set_next_task_stop(rq, p, true); in pick_next_task_stop() 51 return p; in pick_next_task_stop() 55 enqueue_task_stop(struct rq *rq, struct task_struct *p, int flags) in enqueue_task_stop() argument 61 dequeue_task_stop(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_stop() argument 99 static void switched_to_stop(struct rq *rq, struct task_struct *p) in switched_to_stop() argument [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_print.h | 111 p->printfn(p, &vaf); in drm_vprintf() 228 struct drm_printer p = { in drm_coredump_printer() local 237 return p; in drm_coredump_printer() 249 struct drm_printer p = { in drm_seq_file_printer() local 254 return p; in drm_seq_file_printer() 266 struct drm_printer p = { in drm_info_printer() local 270 return p; in drm_info_printer() 282 struct drm_printer p = { in drm_debug_printer() local 286 return p; in drm_debug_printer() 298 struct drm_printer p = { in drm_err_printer() local [all …]
|
/openbmc/u-boot/fs/reiserfs/ |
H A D | mode_string.c | 53 char *p = buf; in bb_mode_string() local 57 *p = type_chars[ (mode >> 12) & 0xf ]; in bb_mode_string() 62 *++p = '-'; in bb_mode_string() 64 *p = mode_chars[j]; in bb_mode_string() 69 *p = mode_chars[3 + (k & 2) + ((i&8) >> 3)]; in bb_mode_string() 93 char *p = buf; in bb_mode_string() local 97 *p = type_chars[ (mode >> 12) & 0xf ]; in bb_mode_string() 103 *++p = '-'; in bb_mode_string() 105 *p = mode_chars[j]; in bb_mode_string() 112 *p = mode_chars[3 + (k & 2) + (i == 3)]; in bb_mode_string()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/wxwidgets/wxwidgets/ |
H A D | musl-locale-l.patch | 13 +#define strtol_l(s, p, base, l) strtol(s, p, base) 17 +#define strtoul_l(s, p, base, l) strtoul(s, p, base) 21 +#define wcstod_l(s, p, l) wcstod(s, p) 25 +#define wcstol_l(s, p, base, l) wcstol(s, p, base) 29 +#define wcstoul_l(s, p, base, l) wcstoul(s, p, base)
|
/openbmc/linux/fs/ |
H A D | seq_file.c | 64 if (!p) in seq_open() 70 p->op = op; in seq_open() 94 void *p; in traverse() local 107 while (p) { in traverse() 120 p = m->op->next(m, p, &m->index); in traverse() 176 void *p; in seq_read_iter() local 228 if (!p || IS_ERR(p)) // EOF or an error in seq_read_iter() 236 p = m->op->next(m, p, &m->index); in seq_read_iter() 262 p = m->op->next(m, p, &m->index); in seq_read_iter() 268 if (!p || IS_ERR(p)) // no next record for us in seq_read_iter() [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | compr_rubin.c | 38 unsigned long p; member 117 rs->p <<= 1; in encode() 123 if (i0 >= rs->p) in encode() 124 i0 = rs->p - 1; in encode() 126 i1 = rs->p - i0; in encode() 129 rs->p = i0; in encode() 131 rs->p = i1; in encode() 179 p <<= 1; in __do_decode() 182 rs->p = p; in __do_decode() 202 unsigned long p = rs->p, q = rs->q; in decode() local [all …]
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | io.h | 84 #define outb(v, p) __raw_writeb(v, p) argument 85 #define outw(v, p) __raw_writew(cpu_to_le16(v), p) argument 86 #define outl(v, p) __raw_writel(cpu_to_le32(v), p) argument 88 #define inb(p) ({ unsigned int __v = __raw_readb(p); __v; }) argument 89 #define inw(p) ({ unsigned int __v = __le16_to_cpu(__raw_readw(p)); __v; }) argument 92 #define outsb(p, d, l) __raw_writesb(p, d, l) argument 93 #define outsw(p, d, l) __raw_writesw(p, d, l) argument 94 #define outsl(p, d, l) __raw_writesl(p, d, l) argument 96 #define insb(p, d, l) __raw_readsb(p, d, l) argument 97 #define insw(p, d, l) __raw_readsw(p, d, l) argument [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mxs.c | 25 #define PINCTRL_DOUT(p) ((is_imx23_gpio(p) ? 0x0500 : 0x0700) + (p->id) * 0x10) argument 26 #define PINCTRL_DIN(p) ((is_imx23_gpio(p) ? 0x0600 : 0x0900) + (p->id) * 0x10) argument 27 #define PINCTRL_DOE(p) ((is_imx23_gpio(p) ? 0x0700 : 0x0b00) + (p->id) * 0x10) argument 28 #define PINCTRL_PIN2IRQ(p) ((is_imx23_gpio(p) ? 0x0800 : 0x1000) + (p->id) * 0x10) argument 29 #define PINCTRL_IRQEN(p) ((is_imx23_gpio(p) ? 0x0900 : 0x1100) + (p->id) * 0x10) argument 30 #define PINCTRL_IRQLEV(p) ((is_imx23_gpio(p) ? 0x0a00 : 0x1200) + (p->id) * 0x10) argument 31 #define PINCTRL_IRQPOL(p) ((is_imx23_gpio(p) ? 0x0b00 : 0x1300) + (p->id) * 0x10) argument 32 #define PINCTRL_IRQSTAT(p) ((is_imx23_gpio(p) ? 0x0c00 : 0x1400) + (p->id) * 0x10) argument
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | sys_regs.c | 186 if (p->is_write) in access_rw() 201 if (!p->is_write) in access_dcsw() 284 if (p->is_write) in access_actlr() 310 if (!p->is_write) in access_gic_sgi() 353 if (p->is_write) in access_gic_sre() 364 if (p->is_write) in trap_raz_wi() 424 if (p->is_write) in trap_oslsr_el1() 489 if (p->is_write) in trap_debug_regs() 492 trace_trap_reg(__func__, r->reg, p->is_write, p->regval); in trap_debug_regs() 540 if (p->is_write) in trap_bvr() [all …]
|
/openbmc/qemu/target/mips/tcg/sysemu/ |
H A D | mips-semi.c | 207 char *p; in mips_semihosting() local 220 if (!p) { in mips_semihosting() 230 unlock_user(p, fname, 0); in mips_semihosting() 283 if (!p) { in mips_semihosting() 286 memcpy(p, s, len); in mips_semihosting() 287 unlock_user(p, addr, len); in mips_semihosting() 303 if (!p) { in mips_semihosting() 307 pct_d = strstr(p, "%d"); in mips_semihosting() 314 str = g_string_new_len(p, pct_d - p); in mips_semihosting() 316 unlock_user(p, addr, 0); in mips_semihosting() [all …]
|
/openbmc/linux/drivers/ufs/host/ |
H A D | ufs-renesas.c | 287 WARN_ON(p->index >= MAX_INDEX); in ufs_renesas_reg_control() 289 switch (p->mode) { in ufs_renesas_reg_control() 291 ufshcd_writel(hba, save[p->index], p->reg); in ufs_renesas_reg_control() 294 save[p->index] |= p->u.set; in ufs_renesas_reg_control() 297 save[p->index] = ufshcd_readl(hba, p->reg) & p->mask; in ufs_renesas_reg_control() 302 (val & p->mask) == p->u.expected, in ufs_renesas_reg_control() 306 __func__, ret, val, p->mask, p->u.expected); in ufs_renesas_reg_control() 309 if (p->u.delay_us > 1000) in ufs_renesas_reg_control() 312 udelay(p->u.delay_us); in ufs_renesas_reg_control() 315 ufshcd_writel(hba, p->u.val, p->reg); in ufs_renesas_reg_control() [all …]
|
/openbmc/linux/net/ceph/ |
H A D | crypto.c | 82 ceph_encode_16(p, key->type); in ceph_crypto_key_encode() 84 ceph_encode_16(p, key->len); in ceph_crypto_key_encode() 94 key->type = ceph_decode_16(p); in ceph_crypto_key_decode() 96 key->len = ceph_decode_16(p); in ceph_crypto_key_decode() 98 ret = set_secret(key, *p); in ceph_crypto_key_decode() 100 *p += key->len; in ceph_crypto_key_decode() 112 void *buf, *p; in ceph_crypto_key_unarmor() local 125 p = buf; in ceph_crypto_key_unarmor() 126 ret = ceph_crypto_key_decode(key, &p, p + blen); in ceph_crypto_key_unarmor() 303 void *p; in ceph_key_preparse() local [all …]
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | barrier.h | 56 #define __smp_store_release(p, v) \ argument 58 compiletime_assert_atomic_type(*p); \ 60 WRITE_ONCE(*p, v); \ 63 #define __smp_load_acquire(p) \ argument 65 typeof(*p) ___p1 = READ_ONCE(*p); \ 66 compiletime_assert_atomic_type(*p); \
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_dtree.c | 574 dtpage_t *p; in dtSearch() local 1335 dtpage_t *p; in dtSplitPage() local 2083 dtpage_t *p; in dtDelete() local 2237 dtpage_t *p; in dtDeleteUp() local 2417 ((p->header.flag & BT_ROOT) || p->header.prev == 0)) in dtDeleteUp() 2526 dtroot_t *p; in dtInitRoot() local 2623 dtpage_t *p; in add_missing_indices() local 2715 dtpage_t *p; in jfs_readdir() local 3045 dtpage_t *p; in dtReadFirst() local 3122 dtpage_t *p; in dtReadNext() local [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | devicetree.c | 50 void pinctrl_dt_free_maps(struct pinctrl *p) in pinctrl_dt_free_maps() argument 62 of_node_put(p->dev->of_node); in pinctrl_dt_free_maps() 94 list_add_tail(&dt_map->node, &p->dt_maps); in dt_remember_or_free_map() 109 static int dt_to_map_one_config(struct pinctrl *p, in dt_to_map_one_config() argument 147 if (np_pctldev == p->dev->of_node) { in dt_to_map_one_config() 173 dev_info(p->dev, in dt_to_map_one_config() 198 struct device_node *np = p->dev->of_node; in pinctrl_dt_to_map() 211 dev_dbg(p->dev, in pinctrl_dt_to_map() 257 dev_err(p->dev, in pinctrl_dt_to_map() 274 ret = dt_remember_dummy_state(p, statename); in pinctrl_dt_to_map() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | fdt.c | 22 uint32_t *p = prop; in ppc_create_page_sizes_prop() local 35 if ((p - prop) >= (maxcells - 3 - count * 2)) { in ppc_create_page_sizes_prop() 38 *(p++) = cpu_to_be32(sps->page_shift); in ppc_create_page_sizes_prop() 39 *(p++) = cpu_to_be32(sps->slb_enc); in ppc_create_page_sizes_prop() 40 *(p++) = cpu_to_be32(count); in ppc_create_page_sizes_prop() 42 *(p++) = cpu_to_be32(sps->enc[j].page_shift); in ppc_create_page_sizes_prop() 43 *(p++) = cpu_to_be32(sps->enc[j].pte_enc); in ppc_create_page_sizes_prop() 47 return (p - prop) * sizeof(uint32_t); in ppc_create_page_sizes_prop()
|
/openbmc/qemu/bsd-user/i386/ |
H A D | target_arch_cpu.c | 39 uint32_t *p; in bsd_i386_write_dt() local 43 p = ptr; in bsd_i386_write_dt() 44 p[0] = tswap32(e1); in bsd_i386_write_dt() 45 p[1] = tswap32(e2); in bsd_i386_write_dt() 52 uint32_t *p, e1, e2; in set_gate() local 55 p = ptr; in set_gate() 56 p[0] = tswap32(e1); in set_gate() 57 p[1] = tswap32(e2); in set_gate()
|
/openbmc/qemu/hw/usb/ |
H A D | canokey.c | 171 p->status = USB_RET_NAK; in canokey_handle_control() 174 p->status = USB_RET_STALL; in canokey_handle_control() 193 uint8_t ep_out = p->ep->nr; in canokey_handle_data() 197 switch (p->pid) { in canokey_handle_data() 200 usb_packet_copy(p, key->ep_out_buffer[ep_out], p->iov.size); in canokey_handle_data() 202 while (out_pos != p->iov.size) { in canokey_handle_data() 242 p->status = USB_RET_NAK; in canokey_handle_data() 245 p->status = USB_RET_STALL; in canokey_handle_data() 250 p->iov.size); in canokey_handle_data() 251 usb_packet_copy(p, in canokey_handle_data() [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | barrier_64.h | 41 #define __smp_store_release(p, v) \ argument 43 compiletime_assert_atomic_type(*p); \ 45 WRITE_ONCE(*p, v); \ 48 #define __smp_load_acquire(p) \ argument 50 typeof(*p) ___p1 = READ_ONCE(*p); \ 51 compiletime_assert_atomic_type(*p); \
|
/openbmc/linux/net/core/ |
H A D | gro.c | 116 if (unlikely(p->len + len >= netif_get_gro_max_size(p->dev, p) || in skb_gro_receive() 124 p->encapsulation) in skb_gro_receive() 129 lp = NAPI_GRO_CB(p)->last; in skb_gro_receive() 209 if (NAPI_GRO_CB(p)->last == p) in skb_gro_receive() 213 NAPI_GRO_CB(p)->last = skb; in skb_gro_receive() 215 lp = p; in skb_gro_receive() 219 p->data_len += len; in skb_gro_receive() 221 p->len += len; in skb_gro_receive() 222 if (lp != p) { in skb_gro_receive() 272 struct sk_buff *skb, *p; in __napi_gro_flush_chain() local [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-taos-evm.c | 64 char *p; in taos_smbus_xfer() local 68 p = taos->buffer; in taos_smbus_xfer() 73 p += sprintf(p, "@%02X", addr); in taos_smbus_xfer() 80 sprintf(p, "$"); in taos_smbus_xfer() 95 for (p = taos->buffer; *p; p++) in taos_smbus_xfer() 96 serio_write(serio, *p); in taos_smbus_xfer() 115 p = taos->buffer + 1; in taos_smbus_xfer() 116 p[3] = '\0'; in taos_smbus_xfer() 117 if (!strcmp(p, "NAK")) in taos_smbus_xfer() 121 if (!strcmp(p, "ACK")) in taos_smbus_xfer() [all …]
|
/openbmc/phosphor-pid-control/pid/ec/ |
H A D | logging.cpp | 119 const auto& p = *pidinfoptr; in DumpCoeffsData() local 122 file << "," << p.ts << "," << p.integral << "," << p.lastOutput; in DumpCoeffsData() 123 file << "," << p.proportionalCoeff << "," << p.integralCoeff; in DumpCoeffsData() 124 file << "," << p.derivativeCoeff; in DumpCoeffsData() 125 file << "," << p.feedFwdOffset << "," << p.feedFwdGain; in DumpCoeffsData() 126 file << "," << p.integralLimit.min << "," << p.integralLimit.max; in DumpCoeffsData() 127 file << "," << p.outLim.min << "," << p.outLim.max; in DumpCoeffsData() 128 file << "," << p.slewNeg << "," << p.slewPos; in DumpCoeffsData() 129 file << "," << p.positiveHysteresis << "," << p.negativeHysteresis; in DumpCoeffsData()
|