/openbmc/linux/drivers/nvme/host/ |
H A D | fabrics.c | 686 if (!*p) in nvmf_parse_options() 694 if (!p) { in nvmf_parse_options() 703 if (!p) { in nvmf_parse_options() 722 if (!p) { in nvmf_parse_options() 731 if (!p) { in nvmf_parse_options() 817 if (!p) { in nvmf_parse_options() 830 kfree(p); in nvmf_parse_options() 846 if (!p) { in nvmf_parse_options() 938 if (strlen(p) < 11 || strncmp(p, "DHHC-1:", 7)) { in nvmf_parse_options() 952 if (strlen(p) < 11 || strncmp(p, "DHHC-1:", 7)) { in nvmf_parse_options() [all …]
|
/openbmc/linux/drivers/input/ |
H A D | input-mt.c | 360 int f, *p, s, c; in adjust_dual() local 366 p = begin + step; in adjust_dual() 367 s = p == end ? f + 1 : *p; in adjust_dual() 369 for (; p != end; p += step) { in adjust_dual() 370 if (*p < f) { in adjust_dual() 372 f = *p; in adjust_dual() 374 s = *p; in adjust_dual() 385 for (p = begin; p != end; p += step) in adjust_dual() 386 *p -= c; in adjust_dual() 420 for (p = pos; p != pos + num_pos; p++) { in input_mt_set_matrix() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock.c | 80 void *p; in prog_load() local 93 p = prog = malloc(insns_cnt); in prog_load() 100 p += sizeof(prog_start); in prog_load() 103 memcpy(p, prog_dev, sizeof(prog_dev)); in prog_load() 104 p += sizeof(prog_dev); in prog_load() 108 memcpy(p, prog_mark, sizeof(prog_mark)); in prog_load() 109 p += sizeof(prog_mark); in prog_load() 113 memcpy(p, prog_prio, sizeof(prog_prio)); in prog_load() 114 p += sizeof(prog_prio); in prog_load() 117 memcpy(p, prog_end, sizeof(prog_end)); in prog_load() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | kvmclock.c | 206 struct page *p; in kvmclock_init_mem() local 215 p = alloc_pages(GFP_KERNEL, order); in kvmclock_init_mem() 216 if (!p) { in kvmclock_init_mem() 221 hvclock_mem = page_address(p); in kvmclock_init_mem() 231 __free_pages(p, order); in kvmclock_init_mem() 266 struct pvclock_vsyscall_time_info *p = per_cpu(hv_clock_per_cpu, cpu); in kvmclock_setup_percpu() local 273 if (!cpu || (p && p != per_cpu(hv_clock_per_cpu, 0))) in kvmclock_setup_percpu() 278 p = &hv_clock_boot[cpu]; in kvmclock_setup_percpu() 280 p = hvclock_mem + cpu - HVC_BOOT_ARRAY_SIZE; in kvmclock_setup_percpu() 284 per_cpu(hv_clock_per_cpu, cpu) = p; in kvmclock_setup_percpu() [all …]
|
H A D | tls.c | 85 static void set_tls_desc(struct task_struct *p, int idx, in set_tls_desc() argument 88 struct thread_struct *t = &p->thread; in set_tls_desc() 115 int do_set_thread_area(struct task_struct *p, int idx, in do_set_thread_area() argument 146 set_tls_desc(p, idx, &info, 1); in do_set_thread_area() 155 if (p == current) { in do_set_thread_area() 175 if (p->thread.fsindex == modified_sel) in do_set_thread_area() 176 p->thread.fsbase = info.base_addr; in do_set_thread_area() 178 if (p->thread.gsindex == modified_sel) in do_set_thread_area() 179 p->thread.gsbase = info.base_addr; in do_set_thread_area() 208 info->seg_not_present = !desc->p; in fill_user_desc() [all …]
|
/openbmc/phosphor-power/tools/power-utils/ |
H A D | updater.cpp | 108 fs::path p = fs::path(devPath) / "driver"; in Updater() local 112 fs::canonical(p); // Get the path that points to the driver dir in Updater() 135 auto p = driverPath; in bindUnbind() local 136 p /= doBind ? "bind" : "unbind"; in bindUnbind() 137 std::ofstream out(p.string()); in bindUnbind() 181 for (const auto& p : paths) in isReadyToUpdate() local 183 if (p == psuInventoryPath) in isReadyToUpdate() 193 auto service = util::getService(p, INVENTORY_IFACE, bus); in isReadyToUpdate() 200 entry("PSU=%s", p.c_str())); in isReadyToUpdate() 213 auto path = internal::getDevicePath(p); in isReadyToUpdate() [all …]
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | siteconfig.bbclass | 22 mkdir -p ${WORKDIR}/site_config_${MACHINE} 29 sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \ 30 -e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \ 32 mkdir -p ${SYSROOT_DESTDIR}${datadir}/${TARGET_SYS}_config_site.d
|
/openbmc/linux/sound/soc/sof/ |
H A D | sof-audio.c | 436 if (!p->walking && p->sink->dobj.private) { in sof_unprepare_widgets_in_path() 437 p->walking = true; in sof_unprepare_widgets_in_path() 439 p->walking = false; in sof_unprepare_widgets_in_path() 482 if (!p->walking && p->sink->dobj.private) { in sof_prepare_widgets_in_path() 483 p->walking = true; in sof_prepare_widgets_in_path() 487 p->walking = false; in sof_prepare_widgets_in_path() 526 if (!p->walking) { in sof_free_widgets_in_path() 530 p->walking = true; in sof_free_widgets_in_path() 535 p->walking = false; in sof_free_widgets_in_path() 590 if (!p->walking) { in sof_set_up_widgets_in_path() [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | media-dev.c | 73 p->subdevs[i] = NULL; in fimc_pipeline_prepare() 260 struct v4l2_subdev *sd = p ? p->subdevs[IDX_SENSOR] : NULL; in __fimc_pipeline_close() 334 fimc_pipeline_prepare(p, &p->subdevs[sd_id]->entity); in __fimc_pipeline_s_stream() 374 struct fimc_pipeline *p; in fimc_md_pipeline_create() local 376 p = kzalloc(sizeof(*p), GFP_KERNEL); in fimc_md_pipeline_create() 377 if (!p) in fimc_md_pipeline_create() 383 return &p->ep; in fimc_md_pipeline_create() 391 p = list_entry(fmd->pipelines.next, typeof(*p), list); in fimc_md_pipelines_free() 392 list_del(&p->list); in fimc_md_pipelines_free() 393 kfree(p); in fimc_md_pipelines_free() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | mca.c | 214 char *p; in ia64_mca_printk() local 226 for (p = temp_buf; *p; p++) { in ia64_mca_printk() 249 char *p; in ia64_mlogbuf_dump() local 268 p++; in ia64_mlogbuf_dump() 971 char *p; in ia64_mca_modify_original_stack() local 1241 ia64_set_rr(p->ifa, p->rr); in mca_insert_tr() 1244 ia64_ptr(iord, p->ifa, p->itir >> 2); in mca_insert_tr() 1247 ia64_itr(0x1, i, p->ifa, p->pte, p->itir >> 2); in mca_insert_tr() 1251 ia64_itr(0x2, i, p->ifa, p->pte, p->itir >> 2); in mca_insert_tr() 1793 p->parent = p->real_parent = p->group_leader = p; in format_mca_init_stack() [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | munmap-pthread.c | 15 char *p; in thread_mmap_munmap() local 19 p = mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC, in thread_mmap_munmap() 21 assert(p != MAP_FAILED); in thread_mmap_munmap() 24 memcpy(p, nop_func, sizeof(nop_func)); in thread_mmap_munmap() 25 ((void(*)(void))p)(); in thread_mmap_munmap() 27 ret = munmap(p, getpagesize()); in thread_mmap_munmap()
|
/openbmc/linux/tools/arch/sparc/include/asm/ |
H A D | barrier_64.h | 43 #define smp_store_release(p, v) \ argument 46 WRITE_ONCE(*p, v); \ 49 #define smp_load_acquire(p) \ argument 51 typeof(*p) ___p1 = READ_ONCE(*p); \
|
/openbmc/linux/tools/arch/powerpc/include/asm/ |
H A D | barrier.h | 33 #define smp_store_release(p, v) \ argument 36 WRITE_ONCE(*p, v); \ 39 #define smp_load_acquire(p) \ argument 41 typeof(*p) ___p1 = READ_ONCE(*p); \
|
/openbmc/linux/net/ipv4/ |
H A D | udp_offload.c | 464 if (NAPI_GRO_CB(p)->last == p) in skb_gro_receive_list() 471 NAPI_GRO_CB(p)->last = skb; in skb_gro_receive_list() 472 NAPI_GRO_CB(p)->count++; in skb_gro_receive_list() 473 p->data_len += skb->len; in skb_gro_receive_list() 479 p->len += skb->len; in skb_gro_receive_list() 494 struct sk_buff *p; in udp_gro_receive_segment() local 518 uh2 = udp_hdr(p); in udp_gro_receive_segment() 528 return p; in udp_gro_receive_segment() 547 pp = p; in udp_gro_receive_segment() 570 pp = p; in udp_gro_receive_segment() [all …]
|
/openbmc/linux/sound/synth/emux/ |
H A D | emux_voice.h | 34 void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan); 35 void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan); 36 void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan); 37 void snd_emux_terminate_note(void *p, int note, struct snd_midi_channel *chan); 38 void snd_emux_control(void *p, int type, struct snd_midi_channel *chan); 49 void snd_emux_create_effect(struct snd_emux_port *p); 50 void snd_emux_delete_effect(struct snd_emux_port *p); 51 void snd_emux_clear_effect(struct snd_emux_port *p);
|
/openbmc/linux/net/wireless/ |
H A D | of.c | 81 const __be32 *p; in wiphy_read_of_freq_limits() local 107 p = NULL; in wiphy_read_of_freq_limits() 111 p = of_prop_next_u32(prop, p, &limit->start_freq_khz); in wiphy_read_of_freq_limits() 112 if (!p) { in wiphy_read_of_freq_limits() 117 p = of_prop_next_u32(prop, p, &limit->end_freq_khz); in wiphy_read_of_freq_limits() 118 if (!p) { in wiphy_read_of_freq_limits()
|
/openbmc/linux/include/linux/ |
H A D | nvram.h | 85 char *p = buf; in nvram_read_bytes() local 89 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_read_bytes() 90 *p = nvram_read_byte(i); in nvram_read_bytes() 92 return p - buf; in nvram_read_bytes() 99 char *p = buf; in nvram_write_bytes() local 103 for (i = *ppos; count > 0 && i < nvram_size; ++i, ++p, --count) in nvram_write_bytes() 104 nvram_write_byte(*p, i); in nvram_write_bytes() 106 return p - buf; in nvram_write_bytes()
|
/openbmc/u-boot/examples/standalone/ |
H A D | atmel_df_pow2.c | 131 char *line, *p; in atmel_df_pow2() local 143 bus = cs = simple_strtoul(line, &p, 10); in atmel_df_pow2() 144 if (*p) { in atmel_df_pow2() 145 if (*p == ':') { in atmel_df_pow2() 146 ++p; in atmel_df_pow2() 147 cs = simple_strtoul(p, &p, 10); in atmel_df_pow2() 149 if (*p) { in atmel_df_pow2()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | patch.c | 60 u32 *p, *fixmap; in __patch_text_multiple() local 68 p = fixmap = patch_map(addr, FIX_TEXT_POKE0, &flags, &mapped); in __patch_text_multiple() 71 *p++ = *insn++; in __patch_text_multiple() 80 (unsigned long)p); in __patch_text_multiple() 82 (unsigned long)p); in __patch_text_multiple() 85 p = fixmap = patch_map(addr, FIX_TEXT_POKE0, &flags, in __patch_text_multiple() 90 flush_kernel_dcache_range_asm((unsigned long)fixmap, (unsigned long)p); in __patch_text_multiple() 91 flush_tlb_kernel_range((unsigned long)fixmap, (unsigned long)p); in __patch_text_multiple()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | a64.decode | 323 &ldstpair rt2 rt rn imm sz sign w p 385 &ldst_imm rt rn imm sz sign w p unpriv ext 534 &ldst_mult rm rn rt sz q p rpt selem 535 @ldst_mult . q:1 ...... p:1 . . rm:5 .... sz:2 rn:5 rt:5 &ldst_mult 553 &ldst_single rm rn rt p selem index scale 561 @ldst_single_b .. ...... p:1 .. rm:5 ...... rn:5 rt:5 \ 564 @ldst_single_h .. ...... p:1 .. rm:5 ...... rn:5 rt:5 \ 567 @ldst_single_s .. ...... p:1 .. rm:5 ...... rn:5 rt:5 \ 570 @ldst_single_d . index:1 ...... p:1 .. rm:5 ...... rn:5 rt:5 \ 587 &ldst_tag rn rt imm p w [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | k3dma.c | 228 c = p->vchan; in k3_dma_int_handler() 233 p->ds_done = p->ds_run; in k3_dma_int_handler() 309 p = c->phy; in k3_dma_tasklet() 310 if (p && p->ds_done) { in k3_dma_tasklet() 338 c->phy = p; in k3_dma_tasklet() 390 p = c->phy; in k3_dma_tx_status() 400 } else if ((!p) || (!p->ds_run)) { in k3_dma_tx_status() 738 if (p) { in k3_dma_terminate_all() 771 if (p) { in k3_dma_transfer_pause() 794 if (p) { in k3_dma_transfer_resume() [all …]
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | barrier.h | 33 #define smp_store_release(p, v) \ argument 36 WRITE_ONCE(*p, v); \ 39 #define smp_load_acquire(p) \ argument 41 typeof(*p) ___p1 = READ_ONCE(*p); \
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | wmt_ge_rops.h | 12 static inline int wmt_ge_sync(struct fb_info *p) in wmt_ge_sync() argument 17 static inline void wmt_ge_fillrect(struct fb_info *p, in wmt_ge_fillrect() argument 20 sys_fillrect(p, rect); in wmt_ge_fillrect() 23 static inline void wmt_ge_copyarea(struct fb_info *p, in wmt_ge_copyarea() argument 26 sys_copyarea(p, area); in wmt_ge_copyarea()
|
/openbmc/linux/drivers/platform/surface/ |
H A D | surface_platform_profile.c | 45 static int ssam_tmp_profile_get(struct ssam_device *sdev, enum ssam_tmp_profile *p) in ssam_tmp_profile_get() argument 54 *p = le32_to_cpu(info.profile); in ssam_tmp_profile_get() 58 static int ssam_tmp_profile_set(struct ssam_device *sdev, enum ssam_tmp_profile p) in ssam_tmp_profile_set() argument 60 __le32 profile_le = cpu_to_le32(p); in ssam_tmp_profile_set() 65 static int convert_ssam_to_profile(struct ssam_device *sdev, enum ssam_tmp_profile p) in convert_ssam_to_profile() argument 67 switch (p) { in convert_ssam_to_profile() 81 dev_err(&sdev->dev, "invalid performance profile: %d", p); in convert_ssam_to_profile() 86 static int convert_profile_to_ssam(struct ssam_device *sdev, enum platform_profile_option p) in convert_profile_to_ssam() argument 88 switch (p) { in convert_profile_to_ssam()
|
/openbmc/linux/crypto/ |
H A D | dh_helper.c | 29 static inline unsigned int dh_data_size(const struct dh *p) in dh_data_size() argument 31 return p->key_size + p->p_size + p->g_size; in dh_data_size() 34 unsigned int crypto_dh_key_len(const struct dh *p) in crypto_dh_key_len() argument 36 return DH_KPP_SECRET_MIN_SIZE + dh_data_size(p); in crypto_dh_key_len() 58 ptr = dh_pack_data(ptr, end, params->p, params->p_size); in crypto_dh_encode_key() 88 params->p = (void *)(ptr + params->key_size); in __crypto_dh_decode_key() 115 if (memchr_inv(params->p, 0, params->p_size) == NULL) in crypto_dh_decode_key()
|