Home
last modified time | relevance | path

Searched refs:p (Results 226 – 250 of 8793) sorted by relevance

12345678910>>...352

/openbmc/linux/net/ceph/
H A Dosdmap.c486 i, (int)(*p-start), *p, end); in crush_decode()
521 b->size, (int)(*p-start), *p, end); in crush_decode()
574 i, (int)(*p-start), *p, end); in crush_decode()
580 i, (int)(*p-start), *p, end); in crush_decode()
827 *p += len; in decode_pool()
1320 *p -= 1; in get_osdmap_client_data_v()
1777 *p += len; in osdmap_decode()
1798 *p = end; in osdmap_decode()
1871 *p += len; in decode_new_up_state_weight()
2007 crush_decode(*p, min(*p + len, end))); in osdmap_apply_incremental()
[all …]
/openbmc/linux/include/asm-generic/bitops/
H A Datomic.h15 arch_set_bit(unsigned int nr, volatile unsigned long *p) in arch_set_bit() argument
17 p += BIT_WORD(nr); in arch_set_bit()
18 raw_atomic_long_or(BIT_MASK(nr), (atomic_long_t *)p); in arch_set_bit()
22 arch_clear_bit(unsigned int nr, volatile unsigned long *p) in arch_clear_bit() argument
24 p += BIT_WORD(nr); in arch_clear_bit()
25 raw_atomic_long_andnot(BIT_MASK(nr), (atomic_long_t *)p); in arch_clear_bit()
31 p += BIT_WORD(nr); in arch_change_bit()
32 raw_atomic_long_xor(BIT_MASK(nr), (atomic_long_t *)p); in arch_change_bit()
41 p += BIT_WORD(nr); in arch_test_and_set_bit()
52 p += BIT_WORD(nr); in arch_test_and_clear_bit()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dpci-dma.c119 if (!p) in iommu_setup()
122 while (*p) { in iommu_setup()
123 if (!strncmp(p, "off", 3)) in iommu_setup()
126 if (!strncmp(p, "force", 5)) in iommu_setup()
158 if (!strncmp(p, "soft", 4)) in iommu_setup()
161 if (!strncmp(p, "pt", 2)) in iommu_setup()
163 if (!strncmp(p, "nopt", 4)) in iommu_setup()
166 gart_parse_options(p); in iommu_setup()
168 p += strcspn(p, ","); in iommu_setup()
169 if (*p == ',') in iommu_setup()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dkeylargo.h203 #define KL3_IT_PORT_WAKEUP_ENABLE(p) (0x00080000 << ((p)<<3)) argument
204 #define KL3_IT_PORT_RESUME_WAKE_EN(p) (0x00040000 << ((p)<<3)) argument
207 #define KL3_IT_PORT_RESUME_STAT(p) (0x00300000 << ((p)<<3)) argument
208 #define KL3_IT_PORT_CONNECT_STAT(p) (0x00200000 << ((p)<<3)) argument
212 #define KL4_PORT_WAKEUP_ENABLE(p) (0x00000008 << ((p)<<3)) argument
213 #define KL4_PORT_RESUME_WAKE_EN(p) (0x00000004 << ((p)<<3)) argument
214 #define KL4_PORT_CONNECT_WAKE_EN(p) (0x00000002 << ((p)<<3)) argument
215 #define KL4_PORT_DISCONNECT_WAKE_EN(p) (0x00000001 << ((p)<<3)) argument
216 #define KL4_PORT_RESUME_STAT(p) (0x00000040 << ((p)<<3)) argument
217 #define KL4_PORT_CONNECT_STAT(p) (0x00000020 << ((p)<<3)) argument
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dhvapi.c72 p->refcnt++; in __get_ref()
81 p->major = p->minor = 0; in __put_ref()
99 struct api_info *p; in sun4v_hvapi_register() local
106 if (p) { in sun4v_hvapi_register()
107 if (p->refcnt) { in sun4v_hvapi_register()
129 p->major = 1; in sun4v_hvapi_register()
130 p->minor = 0; in sun4v_hvapi_register()
139 __get_ref(p); in sun4v_hvapi_register()
154 if (p) in sun4v_hvapi_unregister()
155 __put_ref(p); in sun4v_hvapi_unregister()
[all …]
H A Dkprobes.c55 p->ainsn.insn[0] = *p->addr; in arch_prepare_kprobe()
61 p->opcode = *p->addr; in arch_prepare_kprobe()
68 flushi(p->addr); in arch_arm_kprobe()
73 *p->addr = p->opcode; in arch_disarm_kprobe()
74 flushi(p->addr); in arch_disarm_kprobe()
118 struct kprobe *p; in kprobe_handler() local
131 p = get_kprobe(addr); in kprobe_handler()
132 if (p) { in kprobe_handler()
160 p = get_kprobe(addr); in kprobe_handler()
161 if (!p) { in kprobe_handler()
[all …]
/openbmc/linux/arch/s390/boot/
H A Dpgm_check_info.c18 char *p, *end = p = dst + max(pad, (int)__fls(val | 1) / 4 + 1); in as_hex() local
20 for (*p-- = 0; p >= dst; val >>= 4) in as_hex()
27 while (*p) in symstart()
28 p--; in symstart()
29 return p + 1; in symstart()
66 char *p; in strsym() local
69 if (p) { in strsym()
74 p = as_hex(p + 3, off, 0); in strsym()
88 char *p = buf; in decompressor_printk() local
110 p = as_hex(p, va_arg(args, unsigned long), pad); in decompressor_printk()
[all …]
/openbmc/linux/lib/
H A Dparser.c39 if (!p) in match_one()
48 if (strncmp(p, s, meta-p)) in match_one()
51 s += meta - p; in match_one()
52 p = meta + 1; in match_one()
55 len = simple_strtoul(p, (char **) &p, 10); in match_one()
59 p++; in match_one()
119 for (p = table; !match_one(s, p->pattern, args) ; p++) in match_token()
293 p++; in match_wildcard()
305 p++; in match_wildcard()
318 ++p; in match_wildcard()
[all …]
/openbmc/linux/fs/proc/
H A Dstat.c65 seq_write(p, zeros, 2 * inc); in show_irq_gap()
70 static void show_all_irqs(struct seq_file *p) in show_all_irqs() argument
75 show_irq_gap(p, i - next); in show_all_irqs()
76 seq_put_decimal_ull(p, " ", kstat_irqs_usr(i)); in show_all_irqs()
79 show_irq_gap(p, nr_irqs - next); in show_all_irqs()
137 seq_putc(p, '\n'); in show_stat()
156 seq_printf(p, "cpu%d", i); in show_stat()
167 seq_putc(p, '\n'); in show_stat()
171 show_all_irqs(p); in show_stat()
173 seq_printf(p, in show_stat()
[all …]
/openbmc/u-boot/scripts/basic/
H A Dfixdep.c239 p += 7; in parse_config_file()
259 if ((q - p == 10 && !memcmp(p, "IS_ENABLED(", 11)) || in parse_config_file()
261 (q - p == 9 && !memcmp(p, "IS_MODULE(", 10)) || in parse_config_file()
262 (q - p == 3 && !memcmp(p, "VAL(", 4))) { in parse_config_file()
271 memcpy(tmp_buf + 4, p, q - p); in parse_config_file()
278 use_config(p, q - p); in parse_config_file()
338 char *p; in parse_dep_file() local
349 p = m; in parse_dep_file()
350 while (p < end && *p != ' ' && *p != '\\' && *p != '\n') in parse_dep_file()
351 p++; in parse_dep_file()
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_snp.c103 struct dhcp p = {}; in send_dhcp_discover() local
115 p.ip_udp.ip_hl_v = 0x45; in send_dhcp_discover()
121 p.ip_udp.ip_p = IPPROTO_UDP; in send_dhcp_discover()
123 p.ip_udp.ip_sum = efi_ip_checksum(&p.ip_udp, IP_HDR_SIZE); in send_dhcp_discover()
128 p.ip_udp.udp_src = htons(68); in send_dhcp_discover()
146 p.opt[1] = 0x82; in send_dhcp_discover()
147 p.opt[2] = 0x53; in send_dhcp_discover()
148 p.opt[3] = 0x63; in send_dhcp_discover()
151 p.opt[6] = DHCPDISCOVER; in send_dhcp_discover()
155 p.opt[10] = 0x40; in send_dhcp_discover()
[all …]
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-atna33xc20.c72 if (p->el3_was_on) in atana33xc20_suspend()
100 if (p->no_hpd) { in atana33xc20_resume()
105 if (p->hpd_gpio) { in atana33xc20_resume()
117 ret = p->aux->wait_hpd_asserted(p->aux, HPD_MAX_US); in atana33xc20_resume()
147 if (!p->enabled) in atana33xc20_disable()
152 p->enabled = false; in atana33xc20_disable()
177 if (p->enabled) in atana33xc20_enable()
198 p->enabled = true; in atana33xc20_enable()
209 if (!p->prepared) in atana33xc20_unprepare()
234 if (p->prepared) in atana33xc20_prepare()
[all …]
/openbmc/linux/sound/synth/emux/
H A Demux_seq.c89 if (!p) { in snd_emux_init_seq()
134 p = kzalloc(sizeof(*p), GFP_KERNEL); in snd_emux_create_port()
135 if (!p) in snd_emux_create_port()
141 kfree(p); in snd_emux_create_port()
146 p->chset.private_data = p; in snd_emux_create_port()
148 p->emu = emu; in snd_emux_create_port()
168 return p; in snd_emux_create_port()
181 if (p) { in free_port()
186 kfree(p); in free_port()
314 emu = p->emu; in snd_emux_use()
[all …]
/openbmc/linux/drivers/soc/fsl/qbman/
H A Dbman.c258 struct bm_portal *portal = &p->p; in portal_isr()
532 p = &portal->p; in bman_create_portal()
616 bm_rcr_cce_update(&p->p); in poll_portal_slow()
617 bm_rcr_set_ithresh(&p->p, 0); in poll_portal_slow()
633 bm_out(&p->p, BM_REG_IER, p->irq_sources); in bman_p_irqsource_add()
648 bm_cmd = bm_mc_start(&p->p); in bm_shutdown_pool()
733 bm_rcr_cce_prefetch(&p->p); in update_rcr_ci()
735 bm_rcr_cce_update(&p->p); in update_rcr_ci()
751 avail = bm_rcr_get_avail(&p->p); in bman_release()
754 r = bm_rcr_start(&p->p); in bman_release()
[all …]
/openbmc/linux/drivers/usb/mon/
H A Dmon_text.c523 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_t()
541 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_u()
552 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset()
560 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset()
563 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset()
571 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_intstat()
579 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_isostat()
582 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_isostat()
595 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_isodesc()
604 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_isodesc()
[all …]
/openbmc/u-boot/common/
H A Ddlmalloc.c399 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->size & ~PREV_INUSE) )) argument
425 #define prev_inuse(p) ((p)->size & PREV_INUSE) argument
463 #define set_head_size(p, s) ((p)->size = (((p)->size & PREV_INUSE) | (s))) argument
467 #define set_head(p, s) ((p)->size = (s)) argument
571 *p = (mbinptr)((ulong)*p + gd->reloc_off); in malloc_bin_reloc()
731 static void do_check_chunk(p) mchunkptr p; in do_check_chunk()
775 assert(p->fd->bk == p);
776 assert(p->bk->fd == p);
989 static void munmap_chunk(p) mchunkptr p; in munmap_chunk()
1003 ret = munmap((char *)p - p->prev_size, size + p->prev_size);
[all …]
/openbmc/linux/drivers/pnp/pnpacpi/
H A Drsparser.c302 flags = dma_flags(dev, p->type, p->bus_master, p->transfer); in pnpacpi_parse_dma_option()
319 flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->shareable, p->wake_capable); in pnpacpi_parse_irq_option()
343 flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->shareable, p->wake_capable); in pnpacpi_parse_ext_irq_option()
375 pnp_register_mem_resource(dev, option_flags, p->minimum, p->maximum, in pnpacpi_parse_mem24_option()
376 p->alignment, p->address_length, flags); in pnpacpi_parse_mem24_option()
388 p->alignment, p->address_length, flags); in pnpacpi_parse_mem32_option()
422 p->address.minimum, 0, p->address.address_length, in pnpacpi_parse_address_option()
426 p->address.minimum, 0, p->address.address_length, in pnpacpi_parse_address_option()
441 p->address.minimum, 0, p->address.address_length, in pnpacpi_parse_ext_address_option()
445 p->address.minimum, 0, p->address.address_length, in pnpacpi_parse_ext_address_option()
[all …]
/openbmc/linux/fs/
H A Dfs_pin.c30 void pin_kill(struct fs_pin *p) in pin_kill() argument
34 if (!p) { in pin_kill()
39 spin_lock_irq(&p->wait.lock); in pin_kill()
40 if (likely(!p->done)) { in pin_kill()
41 p->done = -1; in pin_kill()
44 p->kill(p); in pin_kill()
47 if (p->done > 0) { in pin_kill()
63 if (p->done > 0) { in pin_kill()
74 struct hlist_node *p; in mnt_pin_kill() local
77 if (!p) { in mnt_pin_kill()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dioam6_parser.c214 *p += sizeof(__u32); in check_ioam6_data()
222 *p += sizeof(__u32); in check_ioam6_data()
226 *p += sizeof(__u32); in check_ioam6_data()
229 *p += sizeof(__u32); in check_ioam6_data()
234 *p += sizeof(__u32); in check_ioam6_data()
240 *p += sizeof(__u32); in check_ioam6_data()
244 *p += sizeof(__u32); in check_ioam6_data()
249 *p += sizeof(__u32); in check_ioam6_data()
356 *p += len; in check_ioam6_data()
360 if (**p != '\0') in check_ioam6_data()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_kptr.c127 if (!p) in test_kptr_unref()
129 if (p->a + p->b > 100) in test_kptr_unref()
144 if (!p) in test_kptr_ref()
152 if (p->a + p->b > 100) in test_kptr_ref()
156 if (!p) in test_kptr_ref()
163 if (p->a + p->b > 100) { in test_kptr_ref()
175 p = bpf_kptr_xchg(&v->ref_ptr, p); in test_kptr_ref()
178 if (p->a + p->b > 100) { in test_kptr_ref()
313 p = bpf_kptr_xchg(&v->ref_ptr, p); in test_map_kptr_ref_pre()
333 p = bpf_kptr_xchg(&v->ref_ptr, p); in test_map_kptr_ref_pre()
[all …]
/openbmc/linux/scripts/coccinelle/misc/
H A Dminmax.cocci24 position p;
39 position p;
138 position p != errcode.p;
169 p << rmax.p;
176 p << rmax.p;
183 p << rmaxif.p;
190 p << rmaxif.p;
197 p << rmin.p;
204 p << rmin.p;
211 p << rminif.p;
[all …]
/openbmc/linux/kernel/sched/
H A Dcore_sched.c60 rq = task_rq_lock(p, &rf); in sched_core_update_cookie()
70 if (sched_core_enqueued(p)) in sched_core_update_cookie()
73 old_cookie = p->core_cookie; in sched_core_update_cookie()
74 p->core_cookie = cookie; in sched_core_update_cookie()
80 sched_core_enqueue(rq, p); in sched_core_update_cookie()
91 if (task_on_cpu(rq, p)) in sched_core_update_cookie()
94 task_rq_unlock(rq, p, &rf); in sched_core_update_cookie()
112 RB_CLEAR_NODE(&p->core_node); in sched_core_fork()
133 struct task_struct *task, *p; in sched_core_share_pid() local
245 struct task_struct *p; in __sched_core_account_forceidle() local
[all …]
/openbmc/linux/lib/math/
H A Dprime_numbers.c100 __clear_bit(m, p); in clear_multiples()
109 const struct primes *p; in expand_to_next_prime() local
133 if (x < p->last) { in expand_to_next_prime()
143 bitmap_copy(new->primes, p->primes, p->sz); in expand_to_next_prime()
151 if (p != &small_primes) in expand_to_next_prime()
161 const struct primes *p; in free_primes() local
192 while (x >= p->last) { in next_prime_number()
201 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
226 while (x >= p->sz) { in is_prime_number()
253 bitmap_print_to_pagebuf(true, buf, p->primes, p->sz); in dump_primes()
[all …]
/openbmc/linux/security/selinux/ss/
H A Dpolicydb.c529 memset(p, 0, sizeof(*p)); in policydb_init()
721 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
722 p->p_bools.nprim, p->p_levels.nprim, p->p_cats.nprim); in policydb_index()
725 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
2838 struct policydb *p = pd->p; in role_trans_write_one() local
3049 struct policydb *p = pd->p; in class_write() local
3134 struct policydb *p = pd->p; in role_write() local
3172 struct policydb *p = pd->p; in type_write() local
3213 struct policydb *p = pd->p; in user_write() local
3477 pd.p = p; in range_write()
[all …]
/openbmc/u-boot/drivers/net/fsl-mc/dpio/
H A Dqbman_private.h100 if ((start < p) || (start >= (p + sz))) in DECLARE_CODEC32()
149 p[0] = 0; in dcbz()
150 p[1] = 0; in dcbz()
151 p[2] = 0; in dcbz()
152 p[3] = 0; in dcbz()
153 p[4] = 0; in dcbz()
154 p[5] = 0; in dcbz()
155 p[6] = 0; in dcbz()
156 p[7] = 0; in dcbz()
157 p[8] = 0; in dcbz()
[all …]

12345678910>>...352