Home
last modified time | relevance | path

Searched refs:p (Results 426 – 450 of 8921) sorted by relevance

1...<<11121314151617181920>>...357

/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c141 struct test_params *p = arg; in run_test() local
156 p->slots, p->backing_src, in run_test()
157 p->partition_vcpu_memory_access); in run_test()
166 pages_per_slot = host_num_pages / p->slots; in run_test()
217 while (iteration < p->iterations) { in run_test()
292 memstress_free_bitmaps(bitmaps, p->slots); in run_test()
344 struct test_params p = { in main() local
364 p.random_access = true; in main()
392 p.partition_vcpu_memory_access = false; in main()
410 TEST_ASSERT(p.write_percent <= 100, in main()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dcgrp_ls_attach_cgroup.c26 struct socket_cookie *p; in set_cookie() local
41 p = bpf_cgrp_storage_get(&socket_cookies, in set_cookie()
44 if (!p) in set_cookie()
47 p->cookie_value = 0xF; in set_cookie()
48 p->cookie_key = bpf_get_socket_cookie(ctx); in set_cookie()
55 struct socket_cookie *p; in update_cookie_sockops() local
70 p = bpf_cgrp_storage_get(&socket_cookies, in update_cookie_sockops()
72 if (!p) in update_cookie_sockops()
86 struct socket_cookie *p; in BPF_PROG() local
92 if (!p) in BPF_PROG()
[all …]
/openbmc/linux/crypto/asymmetric_keys/
H A Dx509_loader.c12 const u8 *p, *end; in x509_load_certificate_list() local
15 p = cert_list; in x509_load_certificate_list()
16 end = p + list_size; in x509_load_certificate_list()
17 while (p < end) { in x509_load_certificate_list()
21 if (end - p < 4) in x509_load_certificate_list()
23 if (p[0] != 0x30 && in x509_load_certificate_list()
24 p[1] != 0x82) in x509_load_certificate_list()
26 plen = (p[2] << 8) | p[3]; in x509_load_certificate_list()
28 if (plen > end - p) in x509_load_certificate_list()
34 p, in x509_load_certificate_list()
[all …]
/openbmc/linux/net/sunrpc/auth_gss/
H A Dauth_gss_internal.h16 simple_get_bytes(const void *p, const void *end, void *res, size_t len) in simple_get_bytes() argument
18 const void *q = (const void *)((const char *)p + len); in simple_get_bytes()
19 if (unlikely(q > end || q < p)) in simple_get_bytes()
21 memcpy(res, p, len); in simple_get_bytes()
26 simple_get_netobj(const void *p, const void *end, struct xdr_netobj *dest) in simple_get_netobj() argument
31 p = simple_get_bytes(p, end, &len, sizeof(len)); in simple_get_netobj()
32 if (IS_ERR(p)) in simple_get_netobj()
33 return p; in simple_get_netobj()
34 q = (const void *)((const char *)p + len); in simple_get_netobj()
35 if (unlikely(q > end || q < p)) in simple_get_netobj()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmlock-random-test.c175 p, alloc_size, in test_mlock_within_limit()
176 p + start_offset, lock_size); in test_mlock_within_limit()
246 p, alloc_size, in test_mlock_outof_limit()
247 p + start_offset, lock_size); in test_mlock_outof_limit()
265 char *p = NULL; in main() local
272 if (p == NULL) { in main()
280 free(p); in main()
283 p = malloc(MLOCK_OUTOF_LIMIT_SIZE); in main()
284 if (p == NULL) { in main()
291 munlock(p, MLOCK_OUTOF_LIMIT_SIZE); in main()
[all …]
/openbmc/qemu/hw/mips/
H A Dloongson3_bootp.c115 init_cpu_info(p, cpu_freq); in init_loongson_params()
117 p += ROUND_UP(sizeof(struct efi_cpuinfo_loongson), 64); in init_loongson_params()
119 init_memory_map(p, ram_size); in init_loongson_params()
123 init_system_loongson(p); in init_loongson_params()
125 p += ROUND_UP(sizeof(struct system_loongson), 64); in init_loongson_params()
127 init_irq_source(p); in init_loongson_params()
131 init_interface_info(p); in init_loongson_params()
133 p += ROUND_UP(sizeof(struct interface_info), 64); in init_loongson_params()
135 board_devices_info(p); in init_loongson_params()
137 p += ROUND_UP(sizeof(struct board_devices), 64); in init_loongson_params()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dldc.c357 memset(p, 0, sizeof(*p)); in handshake_compose_ctrl()
440 p->env, p->seqid); in send_rts()
459 p->env, p->seqid); in send_rtr()
479 p->env, p->seqid, p->u.r.ackid); in send_rdx()
495 memset(p, 0, sizeof(*p)); in send_data_nack()
503 p->type, p->ctrl, p->seqid, p->u.r.ackid); in send_data_nack()
673 p->stype, p->seqid, p->env); in process_rts()
693 p->stype, p->seqid, p->env); in process_rtr()
716 p->stype, p->seqid, p->env, p->u.r.ackid); in process_rdx()
1726 memset(p, 0, sizeof(*p)); in send_data_ack()
[all …]
/openbmc/linux/drivers/gpu/drm/ci/
H A Dtestlist.txt1385 kms_frontbuffer_tracking@fbc-1p-rte
1386 kms_frontbuffer_tracking@fbc-2p-rte
1387 kms_frontbuffer_tracking@psr-1p-rte
1388 kms_frontbuffer_tracking@psr-2p-rte
1389 kms_frontbuffer_tracking@fbcpsr-1p-rte
1390 kms_frontbuffer_tracking@fbcpsr-2p-rte
1391 kms_frontbuffer_tracking@drrs-1p-rte
1392 kms_frontbuffer_tracking@drrs-2p-rte
1393 kms_frontbuffer_tracking@fbcdrrs-1p-rte
1394 kms_frontbuffer_tracking@fbcdrrs-2p-rte
[all …]
/openbmc/linux/arch/m68k/sun3/prom/
H A Dconsole.c71 char *p;
98 p = propb;
99 while(*p) p++; p -= 2;
100 if(p[0] == ':') {
101 if(p[1] == 'a')
103 else if(p[1] == 'b')
120 char *p;
150 p = propb;
151 while(*p) p++; p -= 2;
152 if(p[0]==':') {
[all …]
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dsignal.prototype.hpp.mako4 join([ parameter(p, defaultValue) for p in signal.properties ])
6 def parameter(p, defaultValue=False):
7 r = "%s %s" % (p.cppTypeParam(interface.name), p.camelCase)
9 r += default_value(p)
13 return ", ".join([ p.camelCase for p in signal.properties ])
17 for p in signal.properties ])
19 def default_value(p):
20 if p.defaultValue != None:
21 return " = " + str(p.defaultValue)
34 % for p in signal.properties:
[all …]
/openbmc/linux/drivers/soc/fsl/qbman/
H A Ddpaa_sys.h54 static inline void dpaa_flush(void *p) in dpaa_flush() argument
61 flush_dcache_range((unsigned long)p, (unsigned long)p+64); in dpaa_flush()
65 #define dpaa_invalidate(p) dpaa_flush(p) argument
67 #define dpaa_zero(p) memset(p, 0, 64) argument
69 static inline void dpaa_touch_ro(void *p) in dpaa_touch_ro() argument
72 prefetch(p+32); in dpaa_touch_ro()
74 prefetch(p); in dpaa_touch_ro()
78 static inline void dpaa_invalidate_touch_ro(void *p) in dpaa_invalidate_touch_ro() argument
80 dpaa_invalidate(p); in dpaa_invalidate_touch_ro()
81 dpaa_touch_ro(p); in dpaa_invalidate_touch_ro()
/openbmc/qemu/tests/tcg/cris/libc/
H A Dcheck_addcm.c43 int *p = (void *)&x[0]; in main() local
47 verify_addc_m(0, p, 0, 0, 0, 0, 0); in main()
51 verify_addc_m(0, p, 0, 0, 1, 0, 0); in main()
55 verify_addc_m(0, p, 1, 0, 0, 0, 0); in main()
59 verify_addc_pi_m(0, &p, 0, 0, 1, 0, 0); in main()
61 p = &x[1]; in main()
66 if (p != &x[2]) in main()
73 if (p != &x[3]) in main()
76 p = &x[3]; in main()
80 verify_addc_m(2, p, 2, 0, 0, 0, 1); in main()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-uclogic-params.c338 const __u8 *b = p; in uclogic_params_get_le24()
1027 memset(&p, 0, sizeof(p)); in uclogic_params_huion_init()
1231 if (!p) in uclogic_params_ugee_v2_init_frame_mouse()
1285 if (!hdev || !p) in uclogic_params_ugee_v2_init_battery()
1346 if (!p) in uclogic_params_ugee_v2_init_event_hooks()
1353 p->event_hooks = kzalloc(sizeof(*p->event_hooks), GFP_KERNEL); in uclogic_params_ugee_v2_init_event_hooks()
1354 if (!p->event_hooks) in uclogic_params_ugee_v2_init_event_hooks()
1478 p.pen.id = 0x02; in uclogic_params_ugee_v2_init()
1521 memset(&p, 0, sizeof(p)); in uclogic_params_ugee_v2_init()
1754 &p.frame_list[0], in uclogic_params_init()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsched.c55 p->u.params.level, p->u.params.mode, in t4_sched_class_fw_cmd()
59 p->u.params.minrate, p->u.params.maxrate, in t4_sched_class_fw_cmd()
60 p->u.params.weight, p->u.params.pktsize, in t4_sched_class_fw_cmd()
177 if (p->queue < 0 || p->queue >= pi->nqsets) in cxgb4_sched_queue_lookup()
193 if (p->queue < 0 || p->queue >= pi->nqsets) in t4_sched_queue_unbind()
225 if (p->queue < 0 || p->queue >= pi->nqsets) in t4_sched_queue_bind()
266 if (p->tid < 0 || p->tid >= adap->tids.neotids) in t4_sched_flowc_unbind()
294 if (p->tid < 0 || p->tid >= adap->tids.neotids) in t4_sched_flowc_bind()
486 if (!p) { in t4_sched_class_lookup()
532 if (!p) in t4_sched_class_alloc()
[all …]
/openbmc/linux/net/ipv6/
H A Daddrlabel.c118 if (p->ifindex && p->ifindex != ifindex) in __ip6addrlbl_match()
120 if (p->addrtype && p->addrtype != addrtype) in __ip6addrlbl_match()
122 if (!ipv6_prefix_equal(addr, &p->prefix, p->prefixlen)) in __ip6addrlbl_match()
135 return p; in __ipv6_addr_label()
150 label = p ? p->label : IPV6_ADDR_LABEL_DEFAULT; in ipv6_addr_label()
224 } else if ((p->prefixlen == newp->prefixlen && !p->ifindex) || in __ip6addrlbl_add()
229 last = p; in __ip6addrlbl_add()
333 kfree_rcu(p, rcu); in ip6addrlbl_net_init()
347 kfree_rcu(p, rcu); in ip6addrlbl_net_exit()
458 ip6addrlbl_putmsg(nlh, p->prefixlen, p->ifindex, lseq); in ip6addrlbl_fill()
[all …]
/openbmc/u-boot/test/py/
H A Du_boot_console_base.py64 self.p = console.p
66 self.p.timeout = timeout
109 self.p = None
136 if self.p:
137 self.p.close()
297 if not self.p:
337 if self.p:
403 if self.p:
404 self.p.close()
407 self.p = None
[all …]
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_core.c95 p->key_len = keylen; in datablob_parse()
106 ret = hex2bin(p->blob, c, p->blob_len); in datablob_parse()
128 p = kzalloc(sizeof(*p), GFP_KERNEL); in trusted_payload_alloc()
129 if (!p) in trusted_payload_alloc()
134 return p; in trusted_payload_alloc()
220 kfree_sensitive(p); in trusted_rcu_free()
237 if (!p->migratable) in trusted_update()
264 memcpy(new_p->key, p->key, p->key_len); in trusted_update()
265 dump_payload(p); in trusted_update()
294 if (!p) in trusted_read()
[all …]
/openbmc/linux/fs/ext4/
H A Dindirect.c32 __le32 *p; member
39 p->key = *(p->p = v); in add_chain()
224 for (p = ind->p - 1; p >= start; p--) { in ext4_find_near()
826 for (p = partial; (p > chain) && all_zeroes((__le32 *) p->bh->b_data, p->p); p--) in ext4_find_shared()
834 if (p == chain + k - 1 && p > chain) { in ext4_find_shared()
835 p->p--; in ext4_find_shared()
837 *top = *p->p; in ext4_find_shared()
840 *p->p = 0; in ext4_find_shared()
892 for (p = first; p < last; p++) in ext4_clear_blocks()
945 for (p = first; p < last; p++) { in ext4_free_data()
[all …]
/openbmc/linux/net/sched/
H A Dact_mpls.c35 if (p->tcfm_ttl) { in tcf_mpls_get_lse()
58 struct tcf_mpls_params *p; in tcf_mpls_act() local
79 switch (p->tcfm_action) { in tcf_mpls_act()
284 p = kzalloc(sizeof(*p), GFP_KERNEL); in tcf_mpls_init()
285 if (!p) { in tcf_mpls_init()
304 p = rcu_replace_pointer(m->mpls_p, p, lockdep_is_held(&m->tcf_lock)); in tcf_mpls_init()
309 if (p) in tcf_mpls_init()
310 kfree_rcu(p, rcu); in tcf_mpls_init()
327 if (p) in tcf_mpls_cleanup()
328 kfree_rcu(p, rcu); in tcf_mpls_cleanup()
[all …]
/openbmc/linux/lib/raid6/
H A Drecov_avx2.c19 u8 *p, *q, *dp, *dq; in raid6_2data_recov_avx2() local
24 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_avx2()
42 ptrs[disks-2] = p; in raid6_2data_recov_avx2()
59 asm volatile("vmovdqa %0, %%ymm0" : : "m" (p[0])); in raid6_2data_recov_avx2()
129 p += 64; in raid6_2data_recov_avx2()
135 asm volatile("vmovdqa %0, %%ymm0" : : "m" (*p)); in raid6_2data_recov_avx2()
176 p += 32; in raid6_2data_recov_avx2()
189 u8 *p, *q, *dq; in raid6_datap_recov_avx2() local
193 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_avx2()
264 p += 64; in raid6_datap_recov_avx2()
[all …]
/openbmc/linux/kernel/power/
H A Dprocess.c32 struct task_struct *g, *p; in try_to_freeze_tasks() local
53 for_each_process_thread(g, p) { in try_to_freeze_tasks()
54 if (p == current || !freeze_task(p)) in try_to_freeze_tasks()
101 if (p != current && freezing(p) && !frozen(p)) in try_to_freeze_tasks()
102 sched_show_task(p); in try_to_freeze_tasks()
181 struct task_struct *g, *p; in thaw_processes() local
202 WARN_ON((p != curr) && (p->flags & PF_SUSPEND_TASK)); in thaw_processes()
203 __thaw_task(p); in thaw_processes()
219 struct task_struct *g, *p; in thaw_kernel_threads() local
228 if (p->flags & PF_KTHREAD) in thaw_kernel_threads()
[all …]
/openbmc/linux/sound/synth/emux/
H A Demux_oss.c90 #define SF_CLIENT_NO(p) ((p) + 0x1000) argument
117 if (p == NULL) { in snd_emux_open_seq_oss()
127 p->oss_arg = arg; in snd_emux_open_seq_oss()
170 if (snd_BUG_ON(!p)) in snd_emux_close_seq_oss()
173 emu = p->emu; in snd_emux_close_seq_oss()
179 snd_seq_event_port_detach(p->chset.client, p->chset.port); in snd_emux_close_seq_oss()
200 if (snd_BUG_ON(!p)) in snd_emux_load_patch_seq_oss()
203 emu = p->emu; in snd_emux_load_patch_seq_oss()
246 emu = p->emu; in snd_emux_ioctl_seq_oss()
294 p = private_data; in snd_emux_event_oss_input()
[all …]
/openbmc/linux/drivers/parport/
H A Dparport_amiga.c71 old = amiga_read_control(p); in amiga_frob_control()
72 amiga_write_control(p, (old & ~mask) ^ val); in amiga_frob_control()
100 static void amiga_enable_irq(struct parport *p) in amiga_enable_irq() argument
105 static void amiga_disable_irq(struct parport *p) in amiga_disable_irq() argument
110 static void amiga_data_forward(struct parport *p) in amiga_data_forward() argument
192 struct parport *p; in amiga_parallel_probe() local
201 if (!p) in amiga_parallel_probe()
205 p); in amiga_parallel_probe()
211 parport_announce_port(p); in amiga_parallel_probe()
213 platform_set_drvdata(pdev, p); in amiga_parallel_probe()
[all …]
/openbmc/u-boot/drivers/power/
H A Dpower_i2c.c18 int pmic_reg_write(struct pmic *p, u32 reg, u32 val) in pmic_reg_write() argument
22 if (check_reg(p, reg)) in pmic_reg_write()
25 I2C_SET_BUS(p->bus); in pmic_reg_write()
29 if (p->sensor_byte_order == PMIC_SENSOR_BYTE_ORDER_BIG) { in pmic_reg_write()
59 int pmic_reg_read(struct pmic *p, u32 reg, u32 *val) in pmic_reg_read() argument
65 if (check_reg(p, reg)) in pmic_reg_read()
68 I2C_SET_BUS(p->bus); in pmic_reg_read()
101 int pmic_probe(struct pmic *p) in pmic_probe() argument
103 i2c_set_bus_num(p->bus); in pmic_probe()
104 debug("Bus: %d PMIC:%s probed!\n", p->bus, p->name); in pmic_probe()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-cache-policy.h44 void (*destroy)(struct dm_cache_policy *p);
69 int (*lookup_with_work)(struct dm_cache_policy *p,
78 int (*get_background_work)(struct dm_cache_policy *p, bool idle,
85 void (*complete_background_work)(struct dm_cache_policy *p,
89 void (*set_dirty)(struct dm_cache_policy *p, dm_cblock_t cblock);
90 void (*clear_dirty)(struct dm_cache_policy *p, dm_cblock_t cblock);
96 int (*load_mapping)(struct dm_cache_policy *p, dm_oblock_t oblock,
115 dm_cblock_t (*residency)(struct dm_cache_policy *p);
126 void (*tick)(struct dm_cache_policy *p, bool can_block);
133 int (*set_config_value)(struct dm_cache_policy *p,
[all …]

1...<<11121314151617181920>>...357