/openbmc/linux/kernel/sched/ |
H A D | autogroup.c | 76 if (!lock_task_sighand(p, &flags)) in autogroup_task_get() 79 ag = autogroup_kref_get(p->signal->autogroup); in autogroup_task_get() 80 unlock_task_sighand(p, &flags); in autogroup_task_get() 141 if (p->flags & PF_EXITING) in task_wants_autogroup() 154 sched_move_task(p); in sched_autogroup_exit_task() 167 prev = p->signal->autogroup; in autogroup_move_group() 169 unlock_task_sighand(p, &flags); in autogroup_move_group() 185 for_each_thread(p, t) in autogroup_move_group() 188 unlock_task_sighand(p, &flags); in autogroup_move_group() 197 autogroup_move_group(p, ag); in sched_autogroup_create_attach() [all …]
|
/openbmc/qemu/host/include/i386/host/ |
H A D | bufferiszero.c.inc | 45 v = p[0]; w = p[1]; 47 v |= p[2]; w |= p[3]; 49 v |= p[4]; w |= p[5]; 51 v |= p[6]; w |= p[7]; 54 p += 8; 55 } while (p < e - 7); 82 for (; p < e - 7; p += 8) { 88 v = p[0]; w = p[1]; 90 v |= p[2]; w |= p[3]; 92 v |= p[4]; w |= p[5]; [all …]
|
/openbmc/linux/fs/nfsd/ |
H A D | nfs4callback.c | 67 return p; in xdr_encode_empty_array() 117 __be32 *p; in encode_nfs_cb_opnum4() local 131 __be32 *p; in encode_nfs_fh4() local 148 __be32 *p; in encode_stateid4() local 163 __be32 *p; in encode_sessionid4() local 233 __be32 *p; in decode_cb_op_status() local 268 p = xdr_encode_empty_array(p); /* empty tag */ in encode_cb_compound4args() 298 __be32 *p; in decode_cb_compound4res() local 639 p = xdr_encode_hyper(p, 0); in encode_cb_layout4args() 771 p = xdr_encode_empty_array(p); in encode_offload_info4() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_pch_refclk.c | 128 memset(p, 0, sizeof(*p)); in iclkip_params_init() 131 p->iclk_pi_range = 64; in iclkip_params_init() 137 p->desired_divisor << p->auxdiv); in lpt_iclkip_freq() 142 iclkip_params_init(p); in lpt_compute_iclkip() 150 for (p->auxdiv = 0; p->auxdiv < 2; p->auxdiv++) { in lpt_compute_iclkip() 151 p->desired_divisor = DIV_ROUND_CLOSEST(p->iclk_virtual_root_freq, in lpt_compute_iclkip() 153 p->divsel = (p->desired_divisor / p->iclk_pi_range) - 2; in lpt_compute_iclkip() 154 p->phaseinc = p->desired_divisor % p->iclk_pi_range; in lpt_compute_iclkip() 160 if (p->divsel <= 0x7f) in lpt_compute_iclkip() 196 clock, p.auxdiv, p.divsel, p.phasedir, p.phaseinc); in lpt_program_iclkip() [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | serialize.hpp | 25 auto p = fs::path(PIM_PERSIST_PATH); in getStoragePath() local 26 p /= fs::path(path).relative_path(); in getStoragePath() 27 p /= fs::path(iface).relative_path(); in getStoragePath() 28 return p; in getStoragePath() 42 auto p = detail::getStoragePath(path, iface); in serialize() local 43 fs::create_directories(p.parent_path()); in serialize() 44 std::ofstream os(p, std::ios::binary); in serialize() 58 fs::create_directories(p.parent_path()); in serialize() 59 std::ofstream os(p, std::ios::binary); in serialize() 82 if (fs::exists(p)) in deserialize() [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | gen-fan-zone-defs.py | 165 e += p + ",\n" 167 e += p + "\n" 336 p = str(sp) 337 if p != "type": 338 plist.append(p) 339 if p != "group": 340 params[p] = '"' + member[p] + '"' 358 params[p] = member[p] 489 elif p == "defevents" or p == "altevents" or p == "events": 633 p [all …]
|
/openbmc/linux/mm/ |
H A D | oom_kill.c | 209 p = find_lock_task_mm(p); in oom_badness() 210 if (!p) in oom_badness() 221 in_vfork(p)) { in oom_badness() 222 task_unlock(p); in oom_badness() 232 task_unlock(p); in oom_badness() 470 if (p) in dump_header() 921 if (!p) { in __oom_kill_process() 929 victim = p; in __oom_kill_process() 976 task_pid_nr(p), p->comm); in __oom_kill_process() 1217 if (!p) { in SYSCALL_DEFINE2() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | rblist.c | 15 struct rb_node **p = &rblist->entries.rb_root.rb_node; in rblist__add_node() local 19 while (*p != NULL) { in rblist__add_node() 22 parent = *p; in rblist__add_node() 26 p = &(*p)->rb_left; in rblist__add_node() 28 p = &(*p)->rb_right; in rblist__add_node() 39 rb_link_node(new_node, parent, p); in rblist__add_node() 61 while (*p != NULL) { in __rblist__findnew() 64 parent = *p; in __rblist__findnew() 68 p = &(*p)->rb_left; in __rblist__findnew() 70 p = &(*p)->rb_right; in __rblist__findnew() [all …]
|
/openbmc/linux/fs/isofs/ |
H A D | isofs.h | 75 static inline int isonum_711(u8 *p) in isonum_711() argument 77 return *p; in isonum_711() 79 static inline int isonum_712(s8 *p) in isonum_712() argument 81 return *p; in isonum_712() 83 static inline unsigned int isonum_721(u8 *p) in isonum_721() argument 85 return get_unaligned_le16(p); in isonum_721() 89 return get_unaligned_be16(p); in isonum_722() 94 return get_unaligned_le16(p); in isonum_723() 98 return get_unaligned_le32(p); in isonum_731() 102 return get_unaligned_be32(p); in isonum_732() [all …]
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.h | 42 void (*data_received)(struct ssh_ptl *p, const struct ssam_span *data); 122 #define __ssam_prcond(func, p, fmt, ...) \ argument 124 typeof(p) __p = (p); \ 130 #define ptl_dbg(p, fmt, ...) dev_dbg(&(p)->serdev->dev, fmt, ##__VA_ARGS__) argument 131 #define ptl_info(p, fmt, ...) dev_info(&(p)->serdev->dev, fmt, ##__VA_ARGS__) argument 132 #define ptl_warn(p, fmt, ...) dev_warn(&(p)->serdev->dev, fmt, ##__VA_ARGS__) argument 133 #define ptl_err(p, fmt, ...) dev_err(&(p)->serdev->dev, fmt, ##__VA_ARGS__) argument 134 #define ptl_dbg_cond(p, fmt, ...) __ssam_prcond(ptl_dbg, p, fmt, ##__VA_ARGS__) argument 162 int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p); 163 void ssh_ptl_cancel(struct ssh_packet *p);
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | cmsg_ipv6.sh | 52 for p in u i r; do 53 [ $p == "u" ] && prot=UDP 76 for p in u i r; do 77 [ $p == "u" ] && prot=UDP 78 [ $p == "i" ] && prot=ICMP 79 [ $p == "r" ] && prot=RAW 113 for p in u i r; do 114 [ $p == "u" ] && prot=UDP 115 [ $p == "i" ] && prot=ICMP 116 [ $p == "r" ] && prot=RAW [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | pbias_regulator.c | 183 while (*p) { in pbias_regulator_probe() 187 (*p)->name); in pbias_regulator_probe() 194 p++; in pbias_regulator_probe() 196 if (!*p) { in pbias_regulator_probe() 208 dev->priv = (void *)*p; in pbias_regulator_probe() 242 reg |= p->vmode; in pbias_regulator_set_value() 244 reg &= ~p->vmode; in pbias_regulator_set_value() 281 (reg & p->enable_mask) == (p->disable_val) ? "on" : "off"); in pbias_regulator_get_enable() 283 return (reg & p->enable_mask) == (p->disable_val); in pbias_regulator_get_enable() 309 reg &= ~p->enable_mask; in pbias_regulator_set_enable() [all …]
|
/openbmc/linux/security/selinux/ss/ |
H A D | mls.c | 43 if (!p->mls_enabled) in mls_compute_context_len() 98 if (!p->mls_enabled) in mls_sid_to_context() 178 p->p_cats.nprim); in mls_level_isvalid() 196 if (!p->mls_enabled) in mls_context_isvalid() 367 if (!p->mls_enabled) in mls_from_string() 406 if (p->mls_enabled) { in mls_setup_user_range() 502 if (!p->mls_enabled) in mls_compute_sid() 570 if (!p->mls_enabled) in mls_export_netlbl_lvl() 592 if (!p->mls_enabled) in mls_import_netlbl_lvl() 616 if (!p->mls_enabled) in mls_export_netlbl_cat() [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | test-mmap.c | 57 uintptr_t p; in check_aligned_anonymous_unfixed_mmaps() local 113 uintptr_t p; in check_large_anonymous_unfixed_mmap() local 125 p = (uintptr_t) p1; in check_large_anonymous_unfixed_mmap() 139 uintptr_t p; in check_aligned_anonymous_unfixed_colliding_mmaps() local 190 uintptr_t p; in check_aligned_anonymous_fixed_mmaps() local 208 p = (uintptr_t) p1; in check_aligned_anonymous_fixed_mmaps() 222 uintptr_t p; in check_aligned_anonymous_fixed_mmaps_collide_with_host() local 239 p = (uintptr_t) p1; in check_aligned_anonymous_fixed_mmaps_collide_with_host() 252 uintptr_t p; in check_file_unfixed_mmaps() local 304 uintptr_t p; in check_file_unfixed_eof_mmaps() local [all …]
|
/openbmc/linux/drivers/clk/pistachio/ |
H A D | clk-pistachio.c | 172 struct pistachio_clk_provider *p; in pistachio_clk_init() local 176 if (!p) in pistachio_clk_init() 197 pistachio_clk_register_provider(p); in pistachio_clk_init() 255 struct pistachio_clk_provider *p; in pistachio_clk_periph_init() local 258 if (!p) in pistachio_clk_periph_init() 266 pistachio_clk_register_provider(p); in pistachio_clk_periph_init() 302 struct pistachio_clk_provider *p; in pistachio_cr_periph_init() local 305 if (!p) in pistachio_cr_periph_init() 311 pistachio_clk_register_provider(p); in pistachio_cr_periph_init() 323 struct pistachio_clk_provider *p; in pistachio_cr_top_init() local [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-dev-v5.c | 137 #define CCP_AES_SIZE(p) ((p)->aes.size) argument 139 #define CCP_AES_MODE(p) ((p)->aes.mode) argument 140 #define CCP_AES_TYPE(p) ((p)->aes.type) argument 148 #define CCP_SHA_TYPE(p) ((p)->sha.type) argument 156 #define CCP5_CMD_DW0(p) ((p)->dw0) argument 166 #define CCP5_CMD_DW1(p) ((p)->length) argument 170 #define CCP5_CMD_DW2(p) ((p)->src_lo) argument 174 #define CCP5_CMD_DW3(p) ((p)->dw3) argument 181 #define CCP5_CMD_DW4(p) ((p)->dw4) argument 191 #define CCP5_CMD_DW6(p) ((p)->key_lo) argument [all …]
|
/openbmc/qemu/hw/core/ |
H A D | trace-events | 5 …t char *oldptype, void *newp, const char *newptype) "obj=%p(%s) old_parent=%p(%s) new_parent=%p(%s… 8 resettable_reset(void *obj, int cold) "obj=%p cold=%d" 9 resettable_reset_assert_begin(void *obj, int cold) "obj=%p cold=%d" 10 resettable_reset_assert_end(void *obj) "obj=%p" 11 resettable_reset_release_begin(void *obj, int cold) "obj=%p cold=%d" 12 resettable_reset_release_end(void *obj) "obj=%p" 13 …change_parent(void *obj, void *o, unsigned oc, void *n, unsigned nc) "obj=%p from=%p(%d) to=%p(%d)" 16 resettable_phase_enter_end(void *obj, const char *objtype, unsigned count) "obj=%p(%s) count=%d" 19 resettable_phase_hold_end(void *obj, const char *objtype, unsigned count) "obj=%p(%s) count=%d" 22 resettable_phase_exit_end(void *obj, const char *objtype, unsigned count) "obj=%p(%s) count=%d" [all …]
|
/openbmc/linux/lib/ |
H A D | test_string.c | 10 u16 v, *p; in memset16_selftest() local 13 if (!p) in memset16_selftest() 21 v = p[k]; in memset16_selftest() 37 kfree(p); in memset16_selftest() 46 u32 v, *p; in memset32_selftest() local 49 if (!p) in memset32_selftest() 57 v = p[k]; in memset32_selftest() 73 kfree(p); in memset32_selftest() 82 u64 v, *p; in memset64_selftest() local 85 if (!p) in memset64_selftest() [all …]
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | process.c | 153 p->thread.ksp = (unsigned long)frame; in copy_thread() 160 p->thread.fc = USER_DATA; in copy_thread() 169 p->thread.usp = 0; in copy_thread() 176 p->thread.usp = usp ?: rdusp(); in copy_thread() 186 if (!CPU_IS_060 ? p->thread.fpstate[0] : p->thread.fpstate[2]) { in copy_thread() 193 : "m" (p->thread.fp[0]), in copy_thread() 194 "m" (p->thread.fpcntl[0]), in copy_thread() 195 "m" (p->thread.fpcntl[1]), in copy_thread() 196 "m" (p->thread.fpcntl[2]) in copy_thread() 202 : "m" (p->thread.fp[0]), in copy_thread() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | io.c | 124 const struct wlcore_partition_set *p) in wlcore_set_partition() argument 129 memcpy(&wl->curr_part, p, sizeof(*p)); in wlcore_set_partition() 132 p->mem.start, p->mem.size); in wlcore_set_partition() 134 p->reg.start, p->reg.size); in wlcore_set_partition() 136 p->mem2.start, p->mem2.size); in wlcore_set_partition() 138 p->mem3.start, p->mem3.size); in wlcore_set_partition() 140 ret = wlcore_raw_write32(wl, HW_PART0_START_ADDR, p->mem.start); in wlcore_set_partition() 144 ret = wlcore_raw_write32(wl, HW_PART0_SIZE_ADDR, p->mem.size); in wlcore_set_partition() 152 ret = wlcore_raw_write32(wl, HW_PART1_SIZE_ADDR, p->reg.size); in wlcore_set_partition() 160 ret = wlcore_raw_write32(wl, HW_PART2_SIZE_ADDR, p->mem2.size); in wlcore_set_partition() [all …]
|
/openbmc/u-boot/board/freescale/mpc837xerdb/ |
H A D | mpc837xerdb.c | 26 uint *p; in testdram() local 33 for (p = pstart; p < pend; p++) in testdram() 34 *p = 0xaaaaaaaa; in testdram() 36 for (p = pstart; p < pend; p++) { in testdram() 37 if (*p != 0xaaaaaaaa) { in testdram() 38 printf("DRAM test fails at: %08x\n", (uint) p); in testdram() 44 for (p = pstart; p < pend; p++) in testdram() 45 *p = 0x55555555; in testdram() 47 for (p = pstart; p < pend; p++) { in testdram() 48 if (*p != 0x55555555) { in testdram() [all …]
|
/openbmc/u-boot/board/sbc8641d/ |
H A D | sbc8641d.c | 62 uint *p; in testdram() local 65 for (p = pstart; p < pend; p++) in testdram() 66 *p = 0xaaaaaaaa; in testdram() 68 for (p = pstart; p < pend; p++) { in testdram() 69 if (*p != 0xaaaaaaaa) { in testdram() 70 printf ("SDRAM test fails at: %08x\n", (uint) p); in testdram() 76 for (p = pstart; p < pend; p++) in testdram() 77 *p = 0x55555555; in testdram() 79 for (p = pstart; p < pend; p++) { in testdram() 80 if (*p != 0x55555555) { in testdram() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | watchdog_pretimeout.c | 117 struct watchdog_pretimeout *p; in watchdog_register_governor() local 141 if (!p->wdd->gov) in watchdog_register_governor() 142 p->wdd->gov = default_gov; in watchdog_register_governor() 169 if (p->wdd->gov == gov) in watchdog_unregister_governor() 170 p->wdd->gov = default_gov; in watchdog_unregister_governor() 184 p = kzalloc(sizeof(*p), GFP_KERNEL); in watchdog_register_pretimeout() 185 if (!p) in watchdog_register_pretimeout() 190 p->wdd = wdd; in watchdog_register_pretimeout() 208 if (p->wdd == wdd) { in watchdog_unregister_pretimeout() 209 list_del(&p->entry); in watchdog_unregister_pretimeout() [all …]
|
/openbmc/linux/scripts/coccinelle/api/ |
H A D | resource_size.cocci | 50 position p; 53 (res->end@p - res->start) + 1 57 position p != r_org.p; 60 res->end@p - res->start 63 p << r_org.p; 69 coccilib.org.print_todo(p[0], msg_safe) 72 p << r_org.p; 77 coccilib.report.print_report(p[0], msg) 80 p << rbad_org.p; 86 coccilib.org.print_todo(p[0], msg_safe) [all …]
|
/openbmc/linux/arch/mips/fw/arc/ |
H A D | memory.c | 125 struct linux_mdesc *p; in prom_meminit() local 131 p = ArcGetMemoryDescriptor(PROM_NULL_MDESC); in prom_meminit() 132 while(p) { in prom_meminit() 134 i, p, p->base, p->pages, mtypes(p->type)); in prom_meminit() 135 p = ArcGetMemoryDescriptor(p); in prom_meminit() 141 p = PROM_NULL_MDESC; in prom_meminit() 142 while ((p = ArcGetMemoryDescriptor(p))) { in prom_meminit() 146 base = p->base << ARC_PAGE_SHIFT; in prom_meminit() 147 size = p->pages << ARC_PAGE_SHIFT; in prom_meminit() 148 type = prom_memtype_classify(p->type); in prom_meminit()
|