/openbmc/linux/kernel/time/ |
H A D | posix-cpu-timers.c | 475 struct task_struct *p; in posix_cpu_timer_del() local 481 if (!p) in posix_cpu_timer_del() 499 disarm_timer(timer, p); in posix_cpu_timer_del() 630 struct task_struct *p; in posix_cpu_timer_set() local 636 if (!p) { in posix_cpu_timer_set() 737 arm_timer(timer, p); in posix_cpu_timer_set() 793 struct task_struct *p; in posix_cpu_timer_get() local 797 if (!p) in posix_cpu_timer_get() 1050 struct task_struct *p; in posix_cpu_timer_rearm() local 1057 if (!p) in posix_cpu_timer_rearm() [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | snap.c | 93 while (*p) { in __insert_snap_realm() 97 p = &(*p)->rb_left; in __insert_snap_realm() 99 p = &(*p)->rb_right; in __insert_snap_realm() 792 ri = p; in ceph_update_snap_trace() 796 snaps = p; in ceph_update_snap_trace() 1028 h = p; in ceph_handle_snap() 1060 ri = p; in ceph_handle_snap() 1187 p = &(*p)->rb_left; in ceph_get_snapid_map() 1189 p = &(*p)->rb_right; in ceph_get_snapid_map() 1226 p = &(*p)->rb_left; in ceph_get_snapid_map() [all …]
|
/openbmc/u-boot/board/samsung/trats2/ |
H A D | trats2.c | 196 struct pmic *p, *p_pmic, *p_muic; in s5pc210_phy_control() local 217 p = pmic_get("MAX77693_PMIC"); in s5pc210_phy_control() 218 if (!p) in s5pc210_phy_control() 221 if (pmic_probe(p)) in s5pc210_phy_control() 290 struct pmic *p = pmic_get("MAX77686_PMIC"); in mipi_power() local 293 max77686_set_ldo_mode(p, 8, OPMODE_ON); in mipi_power() 295 max77686_set_ldo_mode(p, 10, OPMODE_ON); in mipi_power() 304 struct pmic *p = pmic_get("MAX77686_PMIC"); in exynos_lcd_power_on() local 312 pmic_probe(p); in exynos_lcd_power_on() 313 max77686_set_ldo_voltage(p, 25, 3100000); in exynos_lcd_power_on() [all …]
|
/openbmc/linux/arch/microblaze/mm/ |
H A D | pgtable.c | 53 phys_addr_t p; in __ioremap() local 62 p = addr & PAGE_MASK; in __ioremap() 63 size = PAGE_ALIGN(addr + size) - p; in __ioremap() 73 p >= memory_start && p < virt_to_phys(high_memory) && in __ioremap() 75 p < __virt_to_phys((phys_addr_t)__bss_stop))) { in __ioremap() 77 (unsigned long)p, __builtin_return_address(0)); in __ioremap() 112 err = map_page(v + i, p + i, flags); in __ioremap() 168 unsigned long v, p, s, f; in mapin_ram() local 171 p = memory_start; in mapin_ram() 181 map_page(v, p, f); in mapin_ram() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | efi.c | 375 for (p = efi_map_start; p < efi_map_end; p += efi_desc_size) { in efi_get_pal_addr() 376 md = p; in efi_get_pal_addr() 614 for (p = efi_map_start; p < efi_map_end; p += efi_desc_size) { in efi_enter_virtual_mode() 698 for (p = efi_map_start; p < efi_map_end; p += efi_desc_size) { in efi_get_iobase() 731 for (p = efi_map_start; p < efi_map_end; p += efi_desc_size) { in efi_memory_descriptor() 754 for (p = efi_map_start; p < efi_map_end; p += efi_desc_size) { in efi_memmap_intersects() 992 for (p = efi_map_start; p < efi_map_end; pmd = md, p += efi_desc_size) { in find_memmap_space() 1063 for (p = efi_map_start; p < efi_map_end; pmd = md, p += efi_desc_size) { in efi_memmap_init() 1188 for (p = efi_map_start; p < efi_map_end; p += efi_desc_size) { in efi_initialize_iomem_resources() 1295 for (p = efi_map_start; p < efi_map_end; p += efi_desc_size) { in kdump_find_rsvd_region() [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | ldst_atomicity.c.inc | 52 tmp = p & 15; 57 tmp = p & 15; 271 * Atomically load @s bytes from @p, when p % s != 0, and [p, p+s-1] does 291 * @p: host address 294 * Atomically load @s bytes from @p, when p % 16 < 8 392 * @p: host address 434 * @p: host address 479 * @p: host address 530 * @p: host address 666 p = __builtin_assume_aligned(p, 4); [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx7/ |
H A D | clock_slice.c | 383 if (clock_id == p->entry) in select() 395 if ((p->type == CCM_DRAM_PHYM_CHANNEL) || (p->type == CCM_DRAM_CHANNEL)) in src_supported() 438 struct clk_root_map *p; in clock_get_src() local 451 p = &root_array[root_entry]; in clock_get_src() 460 struct clk_root_map *p; in clock_set_prediv() local 493 struct clk_root_map *p; in clock_get_prediv() local 577 struct clk_root_map *p; in clock_set_autopostdiv() local 588 if ((p->type != CCM_BUS_CHANNEL) && (p->type != CCM_AHB_CHANNEL)) { in clock_set_autopostdiv() 615 struct clk_root_map *p; in clock_get_autopostdiv() local 630 if ((p->type != CCM_BUS_CHANNEL) && (p->type != CCM_AHB_CHANNEL)) { in clock_get_autopostdiv() [all …]
|
/openbmc/linux/fs/ocfs2/cluster/ |
H A D | nodemanager.c | 73 while (*p) { in o2nm_node_ip_tree_lookup() 82 p = &(*p)->rb_left; in o2nm_node_ip_tree_lookup() 84 p = &(*p)->rb_right; in o2nm_node_ip_tree_lookup() 192 tmp = simple_strtoul(p, &p, 0); in o2nm_node_num_store() 193 if (!p || (*p && (*p != '\n'))) in o2nm_node_num_store() 245 tmp = simple_strtoul(p, &p, 0); in o2nm_node_ipv4_port_store() 246 if (!p || (*p && (*p != '\n'))) in o2nm_node_ipv4_port_store() 331 tmp = simple_strtoul(p, &p, 0); in o2nm_node_local_store() 332 if (!p || (*p && (*p != '\n'))) in o2nm_node_local_store() 430 tmp = simple_strtoul(p, &p, 0); in o2nm_cluster_attr_write() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | sched.h | 145 TP_ARGS(__perf_task(p)), 156 __entry->pid = p->pid; 172 TP_ARGS(p)); 180 TP_ARGS(p)); 187 TP_ARGS(p)); 197 BUG_ON(p != current); in __trace_sched_switch_state() 278 TP_ARGS(p, dest_cpu), 305 TP_ARGS(p), 328 TP_ARGS(p)); 335 TP_ARGS(p)); [all …]
|
/openbmc/linux/drivers/char/ |
H A D | nwflash.c | 146 unsigned long p = *ppos; in flash_write() local 154 p, buf, count); in flash_write() 159 if (p < 64 * 1024 && (!gbWriteBase64Enable)) in flash_write() 165 if (p >= gbFlashSize) in flash_write() 168 if (count > gbFlashSize - p) in flash_write() 169 count = gbFlashSize - p; in flash_write() 182 nBlock = (int) p >> 16; //block # of 64K bytes in flash_write() 192 if (((int) (p + count) & 0xFFFF) == 0) in flash_write() 226 rc = write_block(p, buf, count - written); in flash_write() 249 p += rc; in flash_write() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_allocator.c | 115 int p = (index * sizeof (void *)) >> PAGE_SHIFT; in mthca_array_get() local 117 if (array->page_list[p].page) in mthca_array_get() 125 int p = (index * sizeof (void *)) >> PAGE_SHIFT; in mthca_array_set() local 128 if (!array->page_list[p].page) in mthca_array_set() 131 if (!array->page_list[p].page) in mthca_array_set() 135 ++array->page_list[p].used; in mthca_array_set() 142 int p = (index * sizeof (void *)) >> PAGE_SHIFT; in mthca_array_clear() local 144 if (--array->page_list[p].used == 0) { in mthca_array_clear() 146 array->page_list[p].page = NULL; in mthca_array_clear() 150 if (array->page_list[p].used < 0) in mthca_array_clear() [all …]
|
/openbmc/qemu/tests/qemu-iotests/sample_images/ |
H A D | d2v-zerofilled.vhd.bz2 |
|
/openbmc/phosphor-pid-control/test/ |
H A D | dbus_passive_unittest.cpp | 171 const char** s = static_cast<const char**>(p); in TEST_F() 178 const char** s = static_cast<const char**>(p); in TEST_F() 209 int64_t* s = static_cast<int64_t*>(p); in TEST_F() 244 const char** s = static_cast<const char**>(p); in TEST_F() 282 int64_t* s = static_cast<int64_t*>(p); in TEST_F() 359 bool* s = static_cast<bool*>(p); in TEST_F() 436 bool* s = static_cast<bool*>(p); in TEST_F() 513 bool* s = static_cast<bool*>(p); in TEST_F() 592 bool* s = static_cast<bool*>(p); in TEST_F() 716 bool* s = static_cast<bool*>(p); in TEST_F() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.c | 2437 if (!p) in svm_range_unmap_from_cpu() 2439 svms = &p->svms; in svm_range_unmap_from_cpu() 2910 if (!p) { in svm_range_restore_pages() 2914 svms = &p->svms; in svm_range_restore_pages() 3147 pr_debug("pasid 0x%x svms 0x%p\n", p->pasid, &p->svms); in svm_range_list_fini() 3169 pr_debug("pasid 0x%x svms 0x%p done\n", p->pasid, &p->svms); in svm_range_list_fini() 3365 p->xnack_enabled, &p->svms, prange->start, prange->last, in svm_range_best_prefetch_location() 3516 p->pasid, &p->svms, start, start + size - 1, size); in svm_range_set_attr() 3522 svms = &p->svms; in svm_range_set_attr() 3688 svms = &p->svms; in svm_range_get_attr() [all …]
|
/openbmc/u-boot/arch/arm/mach-snapdragon/ |
H A D | dram.c | 60 struct smem_ram_ptn *p; in msm_fixup_memory() local 77 p = &ram_ptable->parts[i]; in msm_fixup_memory() 78 if (p->category == CATEGORY_SDRAM && p->type == TYPE_SYSMEM) { in msm_fixup_memory() 79 bank_start[count] = p->start; in msm_fixup_memory() 80 bank_size[count] = p->size; in msm_fixup_memory() 82 count, p->start, p->size); in msm_fixup_memory()
|
/openbmc/boost-dbus/include/dbus/detail/ |
H A D | async_send_op.hpp | 30 static void callback(DBusPendingCall* p, void* userdata); // for C API 44 DBusPendingCall* p; in operator ()() local 52 c.send_with_reply(m, &p, -1); in operator ()() 60 dbus_pending_call_set_notify(p, &callback, op, NULL); in operator ()() 66 if (dbus_pending_call_get_completed(p)) { in operator ()() 75 void async_send_op<MessageHandler>::callback(DBusPendingCall* p, in callback() argument 78 auto x = dbus_pending_call_steal_reply(p); in callback() 81 dbus_pending_call_unref(p); in callback()
|
/openbmc/linux/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 613 u32 tfrc_calc_x(u16 s, u32 R, u32 p) in tfrc_calc_x() argument 620 BUG_ON(p > 1000000); /* p must not exceed 100% */ in tfrc_calc_x() 621 BUG_ON(p == 0); /* f(0) = 0, divide by zero */ in tfrc_calc_x() 627 if (p <= TFRC_CALC_X_SPLIT) { /* 0.0000 < p <= 0.05 */ in tfrc_calc_x() 628 if (p < TFRC_SMALLEST_P) { /* 0.0000 < p < 0.0001 */ in tfrc_calc_x() 630 "Substituting %d\n", p, TFRC_SMALLEST_P); in tfrc_calc_x() 633 index = p/TFRC_SMALLEST_P - 1; in tfrc_calc_x() 638 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1; in tfrc_calc_x()
|
/openbmc/linux/kernel/ |
H A D | cfi.c | 29 static inline unsigned long trap_address(s32 *p) in trap_address() argument 31 return (unsigned long)((long)p + (long)*p); in trap_address() 36 s32 *p; in is_trap() local 38 for (p = start; p < end; ++p) { in is_trap() 39 if (trap_address(p) == addr) in is_trap()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_radix.c | 1275 p = kzalloc(sizeof(*p), GFP_KERNEL); in debugfs_radix_open() 1276 if (!p) in debugfs_radix_open() 1280 p->kvm = kvm; in debugfs_radix_open() 1292 kfree(p); in debugfs_radix_release() 1314 kvm = p->kvm; in debugfs_radix_read() 1326 r = copy_to_user(buf, p->buf + p->buf_index, n); in debugfs_radix_read() 1340 gpa = p->gpa; in debugfs_radix_read() 1351 p->lpid = kvmhv_nested_next_lpid(kvm, p->lpid); in debugfs_radix_read() 1371 n = scnprintf(p->buf, sizeof(p->buf), in debugfs_radix_read() 1373 n += scnprintf(p->buf + n, sizeof(p->buf) - n, in debugfs_radix_read() [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | hub.c | 488 struct tegra_plane *p = to_tegra_plane(plane); in tegra_shared_plane_atomic_disable() local 510 if (WARN_ON(p->dc == NULL)) in tegra_shared_plane_atomic_disable() 511 p->dc = dc; in tegra_shared_plane_atomic_disable() 517 tegra_dc_remove_shared_plane(dc, p); in tegra_shared_plane_atomic_disable() 543 struct tegra_plane *p = to_tegra_plane(plane); in tegra_shared_plane_atomic_update() local 567 tegra_dc_assign_shared_plane(dc, p); in tegra_shared_plane_atomic_update() 652 tegra_plane_writel(p, value, DC_WIN_SIZE); in tegra_shared_plane_atomic_update() 768 struct drm_plane *p; in tegra_shared_plane_create() local 782 p = &plane->base.base; in tegra_shared_plane_create() 800 drm_plane_create_zpos_property(p, 0, 0, 255); in tegra_shared_plane_create() [all …]
|
/openbmc/linux/scripts/coccinelle/misc/ |
H A D | array_size.cocci | 66 position p; 69 (sizeof(E)@p /sizeof(*E)) 71 (sizeof(E)@p /sizeof(E[...])) 73 (sizeof(E)@p /sizeof(T)) 77 p << r.p; 80 coccilib.org.print_todo(p[0], "WARNING should use ARRAY_SIZE") 83 p << r.p; 87 coccilib.report.print_report(p[0], msg)
|
/openbmc/u-boot/arch/microblaze/include/asm/ |
H A D | io.h | 80 unsigned char *p = dst; in io_insb() local 83 *p++ = inb(port); in io_insb() 88 unsigned short *p = dst; in io_insw() local 91 *p++ = inw(port); in io_insw() 96 unsigned long *p = dst; in io_insl() local 99 *p++ = inl(port); in io_insl() 105 const unsigned char *p = src; in io_outsb() local 108 outb(*p++, port); in io_outsb() 117 outw(*p++, port); in io_outsw() 123 const unsigned long *p = src; in io_outsl() local [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_pci.c | 77 static int drm_legacy_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) in drm_legacy_pci_irq_by_busid() argument 81 if ((p->busnum >> 8) != drm_get_pci_domain(dev) || in drm_legacy_pci_irq_by_busid() 82 (p->busnum & 0xff) != pdev->bus->number || in drm_legacy_pci_irq_by_busid() 83 p->devnum != PCI_SLOT(pdev->devfn) || p->funcnum != PCI_FUNC(pdev->devfn)) in drm_legacy_pci_irq_by_busid() 86 p->irq = pdev->irq; in drm_legacy_pci_irq_by_busid() 88 DRM_DEBUG("%d:%d:%d => IRQ %d\n", p->busnum, p->devnum, p->funcnum, in drm_legacy_pci_irq_by_busid() 89 p->irq); in drm_legacy_pci_irq_by_busid() 108 struct drm_irq_busid *p = data; in drm_legacy_irq_by_busid() local 120 return drm_legacy_pci_irq_by_busid(dev, p); in drm_legacy_irq_by_busid()
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | mlme_linux.c | 137 u8 *buff, *p, i; in rtw_report_sec_ie() local 146 p = buff; in rtw_report_sec_ie() 148 p += scnprintf(p, IW_CUSTOM_MAX - (p - buff), "ASSOCINFO(ReqIEs ="); in rtw_report_sec_ie() 154 p += scnprintf(p, IW_CUSTOM_MAX - (p - buff), "%02x", sec_ie[i]); in rtw_report_sec_ie() 156 p += scnprintf(p, IW_CUSTOM_MAX - (p - buff), ")"); in rtw_report_sec_ie() 160 wrqu.data.length = p - buff; in rtw_report_sec_ie()
|
/openbmc/sdbusplus/include/sdbusplus/bus/ |
H A D | match.hpp | 140 constexpr auto interfacesAdded(std::string_view p) noexcept in interfacesAdded() argument 142 return interfacesAdded().append(path(p)); in interfacesAdded() 145 constexpr auto interfacesAddedAtPath(std::string_view p) noexcept in interfacesAddedAtPath() argument 147 return interfacesAdded().append(argNpath(0, p)); in interfacesAddedAtPath() 150 constexpr auto interfacesRemoved(std::string_view p) noexcept in interfacesRemoved() argument 152 return interfacesRemoved().append(path(p)); in interfacesRemoved() 155 constexpr auto interfacesRemovedAtPath(std::string_view p) noexcept in interfacesRemovedAtPath() argument 157 return interfacesRemoved().append(argNpath(0, p)); in interfacesRemovedAtPath() 163 .append(path(p)) in propertiesChanged() 169 constexpr auto propertiesChangedNamespace(std::string_view p, in propertiesChangedNamespace() argument [all …]
|