/openbmc/linux/fs/nfsd/ |
H A D | flexfilelayoutxdr.c | 24 __be32 *p; in nfsd4_ff_encode_layoutget() local 48 if (!p) in nfsd4_ff_encode_layoutget() 52 p = xdr_encode_hyper(p, 0); /* stripe unit of 1 */ in nfsd4_ff_encode_layoutget() 57 p = xdr_encode_opaque_fixed(p, &fl->deviceid, in nfsd4_ff_encode_layoutget() 63 p = xdr_encode_opaque_fixed(p, &fl->stateid.si_opaque, in nfsd4_ff_encode_layoutget() 67 p = xdr_encode_opaque(p, fl->fh.data, fl->fh.size); in nfsd4_ff_encode_layoutget() 69 p = xdr_encode_opaque(p, uid.buf, uid.len); in nfsd4_ff_encode_layoutget() 70 p = xdr_encode_opaque(p, gid.buf, gid.len); in nfsd4_ff_encode_layoutget() 86 __be32 *p; in nfsd4_ff_encode_getdeviceinfo() local 104 if (!p) in nfsd4_ff_encode_getdeviceinfo() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | cpwd.c | 293 if (p->broken) in cpwd_starttimer() 463 if (p->enabled) in cpwd_ioctl() 519 struct cpwd *p; in cpwd_probe() local 524 p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); in cpwd_probe() 525 if (!p) in cpwd_probe() 534 if (!p->regs) { in cpwd_probe() 565 if (!p->enabled) in cpwd_probe() 579 p->devs[i].regs = p->regs + (i * WD_TIMER_REGSZ); in cpwd_probe() 583 p->devs[i].timeout = p->timeout; in cpwd_probe() 632 if (p->broken) in cpwd_remove() [all …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_dwlib.c | 81 quot = p->uartclk / base_baud; in dw8250_get_divisor() 82 rem = p->uartclk % base_baud; in dw8250_get_divisor() 98 p->status &= ~UPSTAT_AUTOCTS; in dw8250_do_set_termios() 100 p->status |= UPSTAT_AUTOCTS; in dw8250_do_set_termios() 119 ndelay(p->frame_time); in dw8250_wait_re_deassert() 132 dw8250_wait_re_deassert(p); in dw8250_update_rar() 155 if (unlikely(&p->rs485 == rs485)) in dw8250_rs485_set_addr() 280 p->get_divisor = dw8250_get_divisor; in dw8250_setup_port() 281 p->set_divisor = dw8250_set_divisor; in dw8250_setup_port() 294 p->type = PORT_16550A; in dw8250_setup_port() [all …]
|
H A D | 8250_dw.c | 123 lsr = p->serial_in(p, UART_LSR); in dw8250_force_idle() 128 (void)p->serial_in(p, UART_RX); in dw8250_force_idle() 138 unsigned int lcr = p->serial_in(p, UART_LCR); in dw8250_check_lcr() 191 writeb(value, p->membase + (offset << p->regshift)); in dw8250_serial_out() 230 __raw_readq(p->membase + (UART_LCR << p->regshift)); in dw8250_serial_outq() 276 unsigned int iir = p->serial_in(p, UART_IIR); in dw8250_handle_irq() 297 (void) p->serial_in(p, UART_RX); in dw8250_handle_irq() 319 (void)p->serial_in(p, d->pdata->usr_reg); in dw8250_handle_irq() 406 unsigned int mcr = p->serial_in(p, UART_MCR); in dw8250_set_ldisc() 414 p->serial_out(p, UART_MCR, mcr); in dw8250_set_ldisc() [all …]
|
/openbmc/qemu/hw/mips/ |
H A D | bootloader.c | 62 p++; in st_nm32_p() 64 p++; in st_nm32_p() 66 *ptr = p; in st_nm32_p() 77 stl_p(p, 0); in bl_gen_nop() 78 p++; in bl_gen_nop() 79 *ptr = p; in bl_gen_nop() 97 stl_p(p, insn); in bl_gen_r_type() 98 p++; in bl_gen_r_type() 100 *ptr = p; in bl_gen_r_type() 115 p++; in bl_gen_i_type() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_stp_if.c | 37 p->port_id = br_make_port_id(p->priority, p->port_no); in br_init_port() 41 p->config_pending = 0; in br_init_port() 43 err = __set_ageing_time(p->dev, p->br->ageing_time); in br_init_port() 51 struct net_bridge_port *p; in br_stp_enable_bridge() local 61 if (netif_running(p->dev) && netif_oper_up(p->dev)) in br_stp_enable_bridge() 62 br_stp_enable_port(p); in br_stp_enable_bridge() 93 br_init_port(p); in br_stp_enable_port() 108 p->config_pending = 0; in br_stp_disable_port() 321 p->priority = newprio; in br_stp_set_port_priority() 322 if (!memcmp(&p->br->bridge_id, &p->designated_bridge, 8) && in br_stp_set_port_priority() [all …]
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.h | 82 #define HCC_64BIT_ADDR(p) ((p) & BIT(0)) argument 84 #define HCC_64BYTE_CONTEXT(p) ((p) & BIT(2)) argument 233 #define CMD_RING_BUSY(p) ((p) & BIT(4)) argument 386 #define IMAN_IE_SET(p) ((p) | IMAN_IE) argument 387 #define IMAN_IE_CLEAR(p) ((p) & ~IMAN_IE) argument 599 #define LAST_CTX(p) ((p) << 27) argument 684 #define EP_TYPE(p) ((p) << 3) argument 1010 #define TRB_TBC(p) (((p) & 0x3) << 7) argument 1040 #define TRB_SETUPID(p) ((p) << 8) argument 1049 #define TRB_SETUPSTAT(p) ((p) << 6) argument [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sh-msiof.c | 328 if (!p->info) in sh_msiof_spi_get_dtdl_and_syncdl() 332 if (p->info->dtdl > 200 || p->info->syncdl > 300) { in sh_msiof_spi_get_dtdl_and_syncdl() 338 if ((p->info->dtdl + p->info->syncdl) % 100) { in sh_msiof_spi_get_dtdl_and_syncdl() 714 ret = sh_msiof_wait_for_completion(p, &p->done); in sh_msiof_spi_txrx_once() 818 ret = sh_msiof_wait_for_completion(p, &p->done_txdma); in sh_msiof_dma_once() 825 ret = sh_msiof_wait_for_completion(p, &p->done); in sh_msiof_dma_once() 833 ret = sh_msiof_wait_for_completion(p, &p->done); in sh_msiof_dma_once() 1208 ctlr = p->ctlr; in sh_msiof_request_dma() 1311 p->ctlr = ctlr; in sh_msiof_spi_probe() 1351 p->tx_fifo_size = p->info->tx_fifo_override; in sh_msiof_spi_probe() [all …]
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | page_alloc.c | 100 memset(hyp_page_to_virt(p), 0, PAGE_SIZE << p->order); in __hyp_attach_page() 121 p = min(p, buddy); in __hyp_attach_page() 126 p->order = order; in __hyp_attach_page() 144 p->order--; in __hyp_extract_page() 145 buddy = __find_buddy_nocheck(pool, p, p->order); in __hyp_extract_page() 150 return p; in __hyp_extract_page() 180 hyp_page_ref_inc(p); in hyp_get_page() 189 p->order = 0; in hyp_split_page() 201 struct hyp_page *p; in hyp_alloc_pages() local 215 p = __hyp_extract_page(pool, p, order); in hyp_alloc_pages() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | timing.c | 89 p->timing_ver = *ver; in nvbios_timingEp() 90 p->timing_hdr = *hdr; in nvbios_timingEp() 105 if (p->ramcfg_ver >= 0x10) in nvbios_timingEp() 108 p->timing_10_24 = 0xff; in nvbios_timingEp() 109 p->timing_10_21 = 0; in nvbios_timingEp() 110 p->timing_10_20 = 0; in nvbios_timingEp() 111 p->timing_10_CWL = 0; in nvbios_timingEp() 112 p->timing_10_18 = 0; in nvbios_timingEp() 113 p->timing_10_16 = 0; in nvbios_timingEp() 156 p->timing_20_2c_003f = (temp & 0x003f) >> 0; in nvbios_timingEp() [all …]
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | process_tree.py | 52 self.process_list = sorted(process_list, key = lambda p: p.pid) 97 p.child_list.sort(key = lambda p: p.pid) 141 for p in process_list: 142 if p.cmd == "rc" and p.ppid // 1000 == 1: 143 rcproc = p 148 if p.pid > rcstartpid and p.pid < rcendpid and p.ppid // 1000 == 1: 163 process_end = p.start_time + p.duration 190 num_removed += self.prune(p.child_list, p) 192 num_removed += self.prune(p.child_list, p) 274 if len(p.child_list) == 1 and p.child_list[0].cmd == p.cmd: [all …]
|
/openbmc/linux/arch/sh/kernel/ |
H A D | kprobes.c | 62 *p->addr = p->opcode; in arch_disarm_kprobe() 85 if (p != NULL) { in kprobe_handle_illslot() 143 if (p != NULL) { in prepare_singlestep() 151 if (OPCODE_JSR(p->opcode) || OPCODE_JMP(p->opcode)) { in prepare_singlestep() 154 } else if (OPCODE_BRA(p->opcode) || OPCODE_BSR(p->opcode)) { in prepare_singlestep() 159 } else if (OPCODE_BRAF(p->opcode) || OPCODE_BSRF(p->opcode)) { in prepare_singlestep() 168 } else if (OPCODE_BF(p->opcode) || OPCODE_BT(p->opcode)) { in prepare_singlestep() 227 if (p) { in kprobe_handler() 249 if (!p) { in kprobe_handler() 268 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler() [all …]
|
/openbmc/linux/kernel/ |
H A D | freezer.c | 56 bool frozen(struct task_struct *p) in frozen() argument 99 signal_wake_up(p, 0); in fake_signal_wake_up() 100 unlock_task_sighand(p, &flags); in fake_signal_wake_up() 108 if (p->on_rq) in __set_task_frozen() 111 if (p != current && task_curr(p)) in __set_task_frozen() 158 if (!freezing(p) || frozen(p) || __freeze_task(p)) { in freeze_task() 163 if (!(p->flags & PF_KTHREAD)) in freeze_task() 164 fake_signal_wake_up(p); in freeze_task() 182 if (p->jobctl & JOBCTL_TRACED) in __set_task_special() 199 if (WARN_ON_ONCE(freezing(p))) in __thaw_task() [all …]
|
/openbmc/linux/lib/842/ |
H A D | 842_decompress.c | 89 u8 *in = p->in, b = p->bit, bits = b + n; in next_bits() 120 p->bit += n; in next_bits() 123 p->in += p->bit / 8; in next_bits() 124 p->ilen -= p->bit / 8; in next_bits() 125 p->bit %= 8; in next_bits() 157 p->out += n; in do_data() 158 p->olen -= n; in do_data() 205 memcpy(p->out, &p->ostart[offset], size); in __do_index() 286 p.bit = 0; in sw842_decompress() 319 memcpy(p.out, p.out - 8, 8); in sw842_decompress() [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | videomodes.c | 242 p = strchr(p, ':'); in video_get_video_mode() 247 while (*p && !isdigit(*p)) in video_get_video_mode() 249 *xres = simple_strtoul(p, &p, 10); in video_get_video_mode() 254 while (*p && !isdigit(*p)) in video_get_video_mode() 256 *yres = simple_strtoul(p, &p, 10); in video_get_video_mode() 261 while (*p && !isdigit(*p)) in video_get_video_mode() 263 *depth = simple_strtoul(p, &p, 10); in video_get_video_mode() 268 while (*p && !isdigit(*p)) in video_get_video_mode() 270 *freq = simple_strtoul(p, &p, 10); in video_get_video_mode() 275 p = strchr(p, ','); in video_get_video_mode() [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | kprobes.c | 26 if (!p->ainsn.insn) in arch_prepare_kprobe() 33 p->opcode = *p->addr; in arch_prepare_kprobe() 34 p->ainsn.insn[0] = p->opcode; in arch_prepare_kprobe() 37 flush_insn_slot(p); in arch_prepare_kprobe() 43 if (!p->ainsn.insn) in arch_remove_kprobe() 57 patch_text(p->addr, p->opcode); in arch_disarm_kprobe() 87 struct kprobe *p; in parisc_kprobe_break_handler() local 95 if (!p) { in parisc_kprobe_break_handler() 125 if (!p->pre_handler || !p->pre_handler(p, regs)) { in parisc_kprobe_break_handler() 140 if (!p) in parisc_kprobe_ss_handler() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_descs.c | 301 p->des0 = 0; in dwmac4_rd_init_tx_desc() 302 p->des1 = 0; in dwmac4_rd_init_tx_desc() 303 p->des2 = 0; in dwmac4_rd_init_tx_desc() 304 p->des3 = 0; in dwmac4_rd_init_tx_desc() 390 p->des0 = 0; in dwmac4_release_tx_desc() 391 p->des1 = 0; in dwmac4_release_tx_desc() 392 p->des2 = 0; in dwmac4_release_tx_desc() 393 p->des3 = 0; in dwmac4_release_tx_desc() 416 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in dwmac4_display_ring() 417 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in dwmac4_display_ring() [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | seg_helper.h | 38 #define cpu_ldub_kernel_ra(e, p, r) \ argument 42 #define cpu_ldl_kernel_ra(e, p, r) \ argument 44 #define cpu_ldq_kernel_ra(e, p, r) \ argument 56 #define cpu_ldub_kernel(e, p) cpu_ldub_kernel_ra(e, p, 0) argument 57 #define cpu_lduw_kernel(e, p) cpu_lduw_kernel_ra(e, p, 0) argument 58 #define cpu_ldl_kernel(e, p) cpu_ldl_kernel_ra(e, p, 0) argument 59 #define cpu_ldq_kernel(e, p) cpu_ldq_kernel_ra(e, p, 0) argument 61 #define cpu_stb_kernel(e, p, v) cpu_stb_kernel_ra(e, p, v, 0) argument 62 #define cpu_stw_kernel(e, p, v) cpu_stw_kernel_ra(e, p, v, 0) argument 63 #define cpu_stl_kernel(e, p, v) cpu_stl_kernel_ra(e, p, v, 0) argument [all …]
|
/openbmc/linux/arch/riscv/kernel/probes/ |
H A D | kprobes.c | 29 p->ainsn.api.restore = (unsigned long)p->addr + offset; in arch_prepare_ss_slot() 31 patch_text_nosync(p->ainsn.api.insn, &p->opcode, 1); in arch_prepare_ss_slot() 37 p->ainsn.api.restore = 0; in arch_prepare_simulate() 45 p->ainsn.api.handler((u32)p->opcode, in arch_simulate_insn() 53 unsigned long tmp = (unsigned long)p->addr - p->offset; in arch_check_kprobe() 82 switch (riscv_probe_decode_insn(p->addr, &p->ainsn.api)) { in arch_prepare_kprobe() 98 if (p->ainsn.api.insn) in arch_prepare_kprobe() 128 patch_text(p->addr, &p->opcode, 1); in arch_disarm_kprobe() 214 dump_kprobe(p); in reenter_kprobe() 300 if (p) { in kprobe_breakpoint_handler() [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/message/ |
H A D | pack.hpp | 93 p.raw.resize(p.raw.size() + sizeof(T)); in op() 251 p.raw.reserve(p.raw.size() + t.size()); in op() 252 p.raw.insert(p.raw.end(), t.begin(), t.end()); in op() 267 p.raw.reserve(p.raw.size() + t.size()); in op() 268 p.raw.insert(p.raw.end(), t.begin(), t.end()); in op() 283 p.raw.reserve(p.raw.size() + t.size()); in op() 284 p.raw.insert(p.raw.end(), t.begin(), t.end()); in op() 299 p.raw.reserve(p.raw.size() + t.size()); in op() 300 p.raw.insert(p.raw.end(), t.begin(), t.end()); in op() 329 p.raw.reserve(p.raw.size() + t.raw.size()); in op() [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-renesas-intc-irqpin.c | 121 intc_irqpin_write(p, reg, intc_irqpin_hwirq_mask(p, reg, hw_irq)); in intc_irqpin_irq_write_hwirq() 284 struct intc_irqpin_priv *p = i->p; in intc_irqpin_irq_handler() local 387 p = devm_kzalloc(dev, sizeof(*p), GFP_KERNEL); in intc_irqpin_probe() 388 if (!p) in intc_irqpin_probe() 398 p->pdev = pdev; in intc_irqpin_probe() 425 p->irq[k].p = p; in intc_irqpin_probe() 438 i = &p->iomem[k]; in intc_irqpin_probe() 488 p->shared_irqs = 1; in intc_irqpin_probe() 491 p->shared_irqs = 0; in intc_irqpin_probe() 518 if (!p->irq_domain) { in intc_irqpin_probe() [all …]
|
/openbmc/linux/include/linux/ |
H A D | fortify-string.h | 110 #define __struct_size(p) __builtin_dynamic_object_size(p, 0) argument 111 #define __member_size(p) __builtin_dynamic_object_size(p, 1) argument 115 #define __struct_size(p) __builtin_object_size(p, 0) argument 116 #define __member_size(p) __builtin_object_size(p, 1) argument 219 __builtin_strlen(p), __fortify_strlen(p)) 448 return p; in strcat() 486 return p; in strncat() 538 #define memset(p, c, s) __fortify_memset_chk(p, c, s, \ argument 539 __struct_size(p), __member_size(p)) 707 #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ argument [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | kprobes.c | 185 struct kprobe *p; member 192 struct kprobe *p = args->p; in swap_instruction() local 203 struct swap_insn_args args = {.p = p, .arm_kprobe = 1}; in arch_arm_kprobe() 211 struct swap_insn_args args = {.p = p, .arm_kprobe = 0}; in arch_disarm_kprobe() 301 dump_kprobe(p); in kprobe_reenter_check() 310 struct kprobe *p; in kprobe_handler() local 321 if (p) { in kprobe_handler() 345 if (p->pre_handler && p->pre_handler(p, regs)) { in kprobe_handler() 380 ip += (unsigned long) p->addr - (unsigned long) p->ainsn.insn; in resume_execution() 403 if (!p) in post_kprobe_handler() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | irq.c | 63 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts() 68 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts() 73 seq_printf(p, "%*s: ", prec, "SPU"); in arch_show_interrupts() 77 seq_printf(p, "%*s: ", prec, "PMI"); in arch_show_interrupts() 81 seq_printf(p, "%*s: ", prec, "IWI"); in arch_show_interrupts() 108 seq_puts(p, " TLB shootdowns\n"); in arch_show_interrupts() 142 seq_printf(p, "%10u ", in arch_show_interrupts() 151 seq_printf(p, "%10u ", in arch_show_interrupts() 158 seq_printf(p, "%10u ", in arch_show_interrupts() 175 seq_printf(p, "%10u ", in arch_show_interrupts() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_netlink.c | 113 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_create() 114 nla_put_string(p->msg, THERMAL_GENL_ATTR_TZ_NAME, p->name)) in thermal_genl_event_tz_create() 122 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_tz() 130 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_up() 132 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_TEMP, p->temp)) in thermal_genl_event_tz_trip_up() 140 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_add() 152 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_delete() 162 p->name) || in thermal_genl_event_cdev_add() 193 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_gov_change() 281 p->msg = msg; in thermal_genl_send_event() [all …]
|