/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_file.c | 82 char *p; in sanitize_path() local 85 p = path; in sanitize_path() 86 while ((p = strchr(p, '\\'))) in sanitize_path() 90 p = path; in sanitize_path() 91 while ((p = strstr(p, "//"))) { in sanitize_path() 97 p = path; in sanitize_path() 98 while ((p = strstr(p, "/."))) { in sanitize_path() 108 p += 2; in sanitize_path() 117 while ((p = strstr(p, "/.."))) { in sanitize_path() 120 p--; in sanitize_path() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_mrp_netlink.c | 365 if (p) in br_mrp_parse() 366 br = p->br; in br_mrp_parse() 469 p->dev->ifindex)) in br_mrp_fill_info() 474 p->dev->ifindex)) in br_mrp_fill_info() 479 p->dev->ifindex)) in br_mrp_fill_info() 531 struct net_bridge_port *p; in br_mrp_ring_port_open() local 534 p = br_port_get_rcu(dev); in br_mrp_ring_port_open() 535 if (!p) { in br_mrp_ring_port_open() 553 struct net_bridge_port *p; in br_mrp_in_port_open() local 556 p = br_port_get_rcu(dev); in br_mrp_in_port_open() [all …]
|
H A D | br_arp_nd_proxy.c | 29 struct net_bridge_port *p; in br_recalculate_neigh_suppress_enabled() local 32 list_for_each_entry(p, &br->port_list, list) { in br_recalculate_neigh_suppress_enabled() 68 if (p) in br_arp_send() 69 vg = nbp_vlan_group_rcu(p); in br_arp_send() 79 if (p) { in br_arp_send() 204 if ((p && (p->flags & BR_PROXYARP)) || in br_do_proxy_suppress_arp() 345 if (p) in br_nd_send() 346 vg = nbp_vlan_group_rcu(p); in br_nd_send() 359 if (p) { in br_nd_send() 466 br_nd_send(br, p, skb, n, in br_do_suppress_nd() [all …]
|
/openbmc/linux/Documentation/RCU/ |
H A D | rcu_dereference.rst | 78 int *p; 230 p->b = 43; 231 p->c = 44; 233 p->b = 143; 234 p->c = 144; 254 r2 = p->c - r1; /* Unconditional access to p->c. */ 288 p->b = 43; 289 p->c = 44; 293 p->b = 143; 294 p->c = 144; [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gpu_state.c | 1125 struct drm_printer *p) in a6xx_show_registers() argument 1161 drm_puts(p, " "); in print_ascii85() 1169 drm_puts(p, "\n"); in print_ascii85() 1174 drm_puts(p, fmt); in print_name() 1175 drm_puts(p, name); in print_name() 1176 drm_puts(p, "\n"); in print_name() 1180 struct drm_printer *p) in a6xx_show_shader() argument 1203 struct drm_printer *p) in a6xx_show_cluster_data() argument 1236 obj->data, p); in a6xx_show_dbgahb_cluster() 1248 obj->data, p); in a6xx_show_cluster() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-dwc2.c | 226 DWC2Packet *p; in dwc2_handle_packet() local 394 p->mps = mps; in dwc2_handle_packet() 395 p->pid = pid; in dwc2_handle_packet() 398 p->len = len; in dwc2_handle_packet() 503 DWC2Packet *p; in dwc2_async_packet_complete() local 510 ep = usb_ep_get(dev, p->pid, p->epnum); in dwc2_async_packet_complete() 512 p->epnum, dirs[p->epdir], p->len); in dwc2_async_packet_complete() 521 dwc2_handle_packet(s, p->devadr, dev, ep, p->index, false); in dwc2_async_packet_complete() 570 DWC2Packet *p; in dwc2_work_bh() local 590 ep = usb_ep_get(dev, p->pid, p->epnum); in dwc2_work_bh() [all …]
|
/openbmc/linux/drivers/parport/ |
H A D | daisy.c | 60 for (p = &topology; *p && (*p)->devnum<devnum; p = &(*p)->next) in add_dev() 62 newdev->next = *p; in add_dev() 63 *p = newdev; in add_dev() 208 p = &topology; in parport_daisy_fini() 209 while (*p) { in parport_daisy_fini() 212 p = &dev->next; in parport_daisy_fini() 215 *p = dev->next; in parport_daisy_fini() 251 while (p && p->devnum != devnum) in parport_open() 252 p = p->next; in parport_open() 254 if (!p) { in parport_open() [all …]
|
/openbmc/linux/fs/ |
H A D | proc_namespace.c | 24 struct proc_mounts *p = m->private; in mounts_poll() local 25 struct mnt_namespace *ns = p->ns; in mounts_poll() 29 poll_wait(file, &p->ns->poll, wait); in mounts_poll() 249 struct proc_mounts *p; in mounts_open_common() local 282 p = m->private; in mounts_open_common() 283 p->ns = ns; in mounts_open_common() 284 p->root = root; in mounts_open_common() 285 p->show = show; in mounts_open_common() 303 path_put(&p->root); in mounts_release() 304 mnt_cursor_del(p->ns, &p->cursor); in mounts_release() [all …]
|
/openbmc/linux/include/linux/ |
H A D | kprobes.h | 109 static inline bool kprobe_gone(struct kprobe *p) in kprobe_gone() argument 111 return p->flags & KPROBE_FLAG_GONE; in kprobe_gone() 123 return p->flags & KPROBE_FLAG_OPTIMIZED; in kprobe_optimized() 127 static inline bool kprobe_ftrace(struct kprobe *p) in kprobe_ftrace() argument 129 return p->flags & KPROBE_FLAG_FTRACE; in kprobe_ftrace() 286 extern int arch_prepare_kprobe(struct kprobe *p); 287 extern void arch_arm_kprobe(struct kprobe *p); 288 extern void arch_disarm_kprobe(struct kprobe *p); 377 bool kprobe_disarmed(struct kprobe *p); 419 int register_kprobe(struct kprobe *p); [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_qdisc.c | 685 if (p->min > p->max) { in mlxsw_sp_qdisc_red_check_params() 688 p->max); in mlxsw_sp_qdisc_red_check_params() 697 if (p->min == 0 || p->max == 0) { in mlxsw_sp_qdisc_red_check_params() 743 !p->is_nodrop, p->is_ecn); in mlxsw_sp_qdisc_red_replace() 877 &p->stats); in __mlxsw_sp_setup_tc_red() 1012 p->max_size, in mlxsw_sp_qdisc_tbf_check_params() 1107 &p->stats); in __mlxsw_sp_setup_tc_tbf() 1231 &p->stats); in __mlxsw_sp_setup_tc_fifo() 1558 handle, p->bands, p->quanta, in mlxsw_sp_qdisc_ets_replace() 1559 p->weights, p->priomap); in mlxsw_sp_qdisc_ets_replace() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | onenand.c | 308 u_char *datbuf, *oobbuf, *p; in onenand_dump() local 335 p = datbuf; in onenand_dump() 341 p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], in onenand_dump() 342 p[8], p[9], p[10], p[11], p[12], p[13], p[14], in onenand_dump() 343 p[15]); in onenand_dump() 344 p += 16; in onenand_dump() 348 p = oobbuf; in onenand_dump() 352 p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7]); in onenand_dump() 353 p += 8; in onenand_dump()
|
/openbmc/linux/drivers/media/tuners/ |
H A D | xc2028.c | 312 p = fw->data; in load_all_firmwares() 326 p += 2; in load_all_firmwares() 329 p += 2; in load_all_firmwares() 344 while (p < endp) { in load_all_firmwares() 363 p += sizeof(id); in load_all_firmwares() 402 p += size; in load_all_firmwares() 622 buf[0] = *p; in load_firmware() 623 p++; in load_firmware() 639 p += len; in load_firmware() 681 p += 12 * scode; in load_scode() [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/db/db/ |
H A D | 0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch | 26 #define atomic_inc(env, p) __atomic_inc(p) 27 #define atomic_dec(env, p) __atomic_dec(p) 28 #define atomic_compare_exchange(env, p, o, n) \ 29 - __atomic_compare_exchange((p), (o), (n)) 30 + __db_atomic_compare_exchange((p), (o), (n)) 31 static inline int __atomic_inc(db_atomic_t *p) 34 @@ -176,7 +176,7 @@ static inline int __atomic_dec(db_atomic_t *p) 40 db_atomic_t *p, atomic_value_t oldval, atomic_value_t newval)
|
/openbmc/linux/scripts/coccinelle/misc/ |
H A D | orplus.cocci | 20 position p; 26 c1@i1 +@p c@i 54 position r.p; 58 * c1 +@p c2 61 p << r.p; 64 cocci.print_main("sum of probable bitmasks, consider |",p) 67 p << r.p; 71 coccilib.report.print_report(p[0],msg)
|
H A D | excluded_middle.cocci | 16 position p; 19 * !A || (A &&@p B) 30 p << r.p; 33 coccilib.report.print_report(p[0], "WARNING !A || A && B is equivalent to !A || B") 36 p << r.p; 39 coccilib.org.print_todo(p[0], "WARNING !A || A && B is equivalent to !A || B")
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | mte-kasan.h | 118 static inline u64 __stg_post(u64 p) in __stg_post() argument 121 : "+r"(p) in __stg_post() 124 return p; in __stg_post() 127 static inline u64 __stzg_post(u64 p) in __stzg_post() argument 130 : "+r"(p) in __stzg_post() 133 return p; in __stzg_post() 136 static inline void __dc_gva(u64 p) in __dc_gva() argument 138 asm volatile(__MTE_PREAMBLE "dc gva, %0" : : "r"(p) : "memory"); in __dc_gva() 141 static inline void __dc_gzva(u64 p) in __dc_gzva() argument 143 asm volatile(__MTE_PREAMBLE "dc gzva, %0" : : "r"(p) : "memory"); in __dc_gzva()
|
/openbmc/linux/lib/ |
H A D | vsprintf.c | 1117 p = number(p, pend, res->start, *specp); in resource_string() 1120 p = number(p, pend, res->end, *specp); in resource_string() 1296 p = hex_byte_pack(p, addr[5 - i]); in mac_address_string() 1298 p = hex_byte_pack(p, addr[i]); in mac_address_string() 1419 p = hex_byte_pack(p, hi); in ip6_compressed_string() 1422 p = hex_byte_pack(p, lo); in ip6_compressed_string() 1425 p = hex_byte_pack(p, lo); in ip6_compressed_string() 1447 p = hex_byte_pack(p, *addr++); in ip6_string() 1448 p = hex_byte_pack(p, *addr++); in ip6_string() 1717 p = hex_byte_pack(p, addr[index[i]]); in uuid_string() [all …]
|
/openbmc/qemu/bsd-user/ |
H A D | trace-events | 4 user_setup_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64 5 user_setup_rt_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64 6 user_do_rt_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64 7 user_do_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=0x%"PRIx64 8 user_dump_core_and_abort(void *env, int target_sig, int host_sig) "env=%p signal %d (host %d)" 9 user_handle_signal(void *env, int target_sig) "env=%p signal %d" 10 user_host_signal(void *env, int host_sig, int target_sig) "env=%p signal %d (target %d(" 11 user_queue_signal(void *env, int target_sig) "env=%p signal %d"
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | ioremap_32.c | 21 phys_addr_t p, offset; in __ioremap_caller() local 37 p = addr & PAGE_MASK; in __ioremap_caller() 39 size = PAGE_ALIGN(addr + size) - p; in __ioremap_caller() 46 if (slab_is_available() && p <= virt_to_phys(high_memory - 1) && in __ioremap_caller() 47 page_is_ram(__phys_to_pfn(p))) { in __ioremap_caller() 49 (unsigned long long)p, __builtin_return_address(0)); in __ioremap_caller() 61 v = p_block_mapped(p); in __ioremap_caller() 73 err = early_ioremap_range(ioremap_bot - size - PAGE_SIZE, p, size, prot); in __ioremap_caller()
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | string.h | 41 #define memset(p, v, n) \ argument 45 __memzero((p), (n)); \ 47 memset((p), (v), (n)); \ 49 (p); \ 52 #define memzero(p, n) ({ if ((n) != 0) __memzero((p), (n)); (p); }) argument
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | string.h | 30 (typeof(_p) (p) = (_p); \ 36 __memzero((p), (n)); \ 38 memset((p), (v), (n)); \ 40 (p); \ 44 (typeof(_p) (p) = (_p); \ 46 { if ((n) != 0) __memzero((p), (n)); (p); })
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 29 unsigned short *p = data; in swap_src_dst_mac() local 32 dst[0] = p[0]; in swap_src_dst_mac() 33 dst[1] = p[1]; in swap_src_dst_mac() 34 dst[2] = p[2]; in swap_src_dst_mac() 35 p[0] = p[3]; in swap_src_dst_mac() 36 p[1] = p[4]; in swap_src_dst_mac() 37 p[2] = p[5]; in swap_src_dst_mac() 38 p[3] = dst[0]; in swap_src_dst_mac() 39 p[4] = dst[1]; in swap_src_dst_mac() 40 p[5] = dst[2]; in swap_src_dst_mac()
|
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | proxy.hpp | 76 constexpr proxy(value_ref<S> s, value_ref<P> p, value_ref<I> i) : in proxy() 77 s(s), p(p), i(i) {}; in proxy() 83 return proxy<true, P, I, Preserved>{s, this->p, this->i}; in service() 85 constexpr auto path(string_ref p) const noexcept in path() 88 return proxy<S, true, I, Preserved>{this->s, p, this->i}; in path() 93 return proxy<S, P, true, Preserved>{this->s, this->p, i}; in interface() 109 typename result_t::template value_t<P>(this->p), in preserve() 160 auto prop_intf = proxy(s, p, dbus_prop_intf); in get_property() 180 auto prop_intf = proxy(s, p, dbus_prop_intf); in get_all_properties() 199 auto prop_intf = proxy(s, p, dbus_prop_intf); in set_property() [all …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | syscopyarea.c | 35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitcpy() 36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitcpy() 184 first = ~FB_SHIFT_HIGH(p, ~0UL, (dst_idx + 1) % bits); in bitcpy_rev() 324 if (p->state != FBINFO_STATE_RUNNING) in sys_copyarea() 340 dst_idx += dy*bits_per_line + dx*p->var.bits_per_pixel; in sys_copyarea() 341 src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; in sys_copyarea() 343 if (p->fbops->fb_sync) in sys_copyarea() 344 p->fbops->fb_sync(p); in sys_copyarea() 352 width*p->var.bits_per_pixel); in sys_copyarea() 356 bitcpy(p, base + (dst_idx / bits), dst_idx % bits, in sys_copyarea() [all …]
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_nkmp.c | 17 unsigned long p, min_p, max_p; member 27 do_div(rate, m * p); in ccu_nkmp_calc_rate() 67 nkmp->p = best_p; in ccu_nkmp_find_best() 120 p = reg >> nkmp->p.shift; in ccu_nkmp_recalc_rate() 121 p &= (1 << nkmp->p.width) - 1; in ccu_nkmp_recalc_rate() 153 _nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1); in ccu_nkmp_round_rate() 182 _nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1); in ccu_nkmp_set_rate() 201 if (nkmp->p.width) in ccu_nkmp_set_rate() 202 p_mask = GENMASK(nkmp->p.width + nkmp->p.shift - 1, in ccu_nkmp_set_rate() 203 nkmp->p.shift); in ccu_nkmp_set_rate() [all …]
|