Home
last modified time | relevance | path

Searched refs:p (Results 251 – 275 of 8793) sorted by relevance

1...<<11121314151617181920>>...352

/openbmc/linux/tools/virtio/linux/
H A Dkernel.h43 #define virt_to_phys(p) ((unsigned long)p) argument
46 #define page_to_phys(p) ((dma_addr_t)(unsigned long)(p)) argument
47 #define virt_to_page(p) ((struct page *)((unsigned long)p & PAGE_MASK)) argument
49 #define offset_in_page(p) (((unsigned long)p) % PAGE_SIZE) argument
71 memset(p, 0, s); in kzalloc()
72 return p; in kzalloc()
82 if (p >= __kfree_ignore_start && p < __kfree_ignore_end) in kfree()
84 free(p); in kfree()
89 kfree(p); in free_pages_exact()
94 return realloc(p, s); in krealloc()
[all …]
/openbmc/linux/arch/um/include/asm/
H A Dpage.h40 #define pte_val(p) ((p).pte) argument
42 #define pte_get_bits(p, bits) ((p).pte & (bits)) argument
43 #define pte_set_bits(p, bits) ((p).pte |= (bits)) argument
44 #define pte_clear_bits(p, bits) ((p).pte &= ~(bits)) argument
46 #define pte_is_zero(p) (!((p).pte & ~_PAGE_NEWPAGE)) argument
69 #define pte_get_bits(p, bits) ((p).pte & (bits)) argument
70 #define pte_set_bits(p, bits) ((p).pte |= (bits)) argument
71 #define pte_clear_bits(p, bits) ((p).pte &= ~(bits)) argument
73 #define pte_is_zero(p) (!((p).pte & ~_PAGE_NEWPAGE)) argument
74 #define pte_set_val(p, phys, prot) (p).pte = (phys | pgprot_val(prot)) argument
[all …]
/openbmc/linux/tools/usb/usbip/libsrc/
H A Dnames.c99 for (; p; p = p->next) in names_product()
100 if (p->vendorid == vendorid && p->productid == productid) in names_product()
134 for (; p; p = p->next) in names_protocol()
154 if (!p) in my_malloc()
159 free(p); in my_malloc()
214 for (; p; p = p->next) in new_product()
215 if (p->vendorid == vendorid && p->productid == productid) in new_product()
218 if (!p) in new_product()
275 for (; p; p = p->next) in new_protocol()
276 if (p->classid == classid && p->subclassid == subclassid in new_protocol()
[all …]
/openbmc/u-boot/arch/arm/mach-imx/
H A Di2c-mxv7.c22 gpio_direction_input(p->sda.gp); in force_idle_bus()
23 gpio_direction_input(p->scl.gp); in force_idle_bus()
28 sda = gpio_get_value(p->sda.gp); in force_idle_bus()
29 scl = gpio_get_value(p->scl.gp); in force_idle_bus()
34 sda, scl, p->sda.gp, p->scl.gp); in force_idle_bus()
39 gpio_direction_input(p->scl.gp); in force_idle_bus()
44 sda = gpio_get_value(p->sda.gp); in force_idle_bus()
76 struct i2c_pads_info *p) in setup_i2c() argument
100 ret = force_idle_bus(p); in setup_i2c()
112 gpio_free(p->scl.gp); in setup_i2c()
[all …]
H A Dcmd_bmode.c20 if (p) { in search_modes()
21 while (p->name) { in search_modes()
23 return p; in search_modes()
24 p++; in search_modes()
38 if (p) { in create_usage()
39 while (p->name) { in create_usage()
47 p++; in create_usage()
60 const struct boot_mode *p; in do_boot_mode() local
65 p = search_modes(argv[1]); in do_boot_mode()
66 if (!p) in do_boot_mode()
[all …]
/openbmc/linux/arch/x86/mm/
H A Dtestmmiotrace.c40 iowrite8(i, p + i); in do_write_test()
57 if (ioread8(p + i) != i) in do_read_test()
77 ioread32(p + read_far); in do_read_far_test()
83 if (!p) { in do_test()
88 do_write_test(p); in do_test()
89 do_read_test(p); in do_test()
91 do_read_far_test(p); in do_test()
92 iounmap(p); in do_test()
103 void __iomem *p; in do_test_bulk_ioremapping() local
108 if (p) in do_test_bulk_ioremapping()
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Dkprobes.c90 p->ainsn.inst_flag = 0; in update_kprobe_inst_flag()
92 p->ainsn.slot = slot; in update_kprobe_inst_flag()
518 if (!p->ainsn.insn) in arch_prepare_kprobe()
525 prepare_booster(p); in arch_prepare_kprobe()
582 if (p->ainsn.insn) { in arch_remove_kprobe()
697 struct kprobe *p; in pre_kprobes_handler() local
713 if (p) { in pre_kprobes_handler()
745 if (!p) { in pre_kprobes_handler()
765 if (p->pre_handler && p->pre_handler(p, regs)) { in pre_kprobes_handler()
772 if (p->ainsn.inst_flag == INST_FLAG_BOOSTABLE && !p->post_handler) { in pre_kprobes_handler()
[all …]
/openbmc/linux/fs/afs/
H A Daddr_list.c97 p++; in afs_parse_text_addrs()
102 p = memchr(p, ']', end - p); in afs_parse_text_addrs()
107 p++; in afs_parse_text_addrs()
112 p = memchr(p, delim, end - p); in afs_parse_text_addrs()
115 p++; in afs_parse_text_addrs()
142 p++; in afs_parse_text_addrs()
147 p++; in afs_parse_text_addrs()
148 q = memchr(p, ']', end - p); in afs_parse_text_addrs()
171 p++; in afs_parse_text_addrs()
178 if (p >= end || !isdigit(*p)) { in afs_parse_text_addrs()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dkvm.c134 u32 *p; in kvm_alloc() local
157 u32 *p; in kvm_patch_ins_mtmsrd() local
163 if (!p) in kvm_patch_ins_mtmsrd()
210 u32 *p; in kvm_patch_ins_mtmsr() local
216 if (!p) in kvm_patch_ins_mtmsr()
271 u32 *p; in kvm_patch_ins_wrtee() local
277 if (!p) in kvm_patch_ins_wrtee()
328 u32 *p; in kvm_patch_ins_wrteei_0() local
334 if (!p) in kvm_patch_ins_wrteei_0()
369 u32 *p; in kvm_patch_ins_mtsrin() local
[all …]
/openbmc/linux/fs/proc/
H A Dproc_net.c55 if (!p) { in seq_open_net()
60 p->net = net; in seq_open_net()
99 p->net = get_net_track(current->nsproxy->net_ns, &p->ns_tracker, in bpf_iter_init_seq_net()
110 put_net_track(p->net, &p->ns_tracker); in bpf_iter_fini_seq_net()
121 if (!p) in proc_create_net_data()
125 p->seq_ops = ops; in proc_create_net_data()
165 if (!p) in proc_create_net_data_write()
169 p->seq_ops = ops; in proc_create_net_data_write()
171 p->write = write; in proc_create_net_data_write()
214 if (!p) in proc_create_net_single()
[all …]
/openbmc/linux/kernel/
H A Dexit.c284 p = leader; in release_task()
333 (p->exit_state && thread_group_empty(p)) || in will_become_orphaned_pgrp()
338 task_session(p->real_parent) == task_session(p)) in will_become_orphaned_pgrp()
509 BUG_ON(c == p); in mm_update_next_owner()
672 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) { in reparent_leader()
673 if (do_notify_parent(p, p->exit_signal)) { in reparent_leader()
1110 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie()
1122 state = (ptrace_reparented(p) && thread_group_leader(p)) ? in wait_task_zombie()
1193 ? p->signal->group_exit_code : p->exit_code; in wait_task_zombie()
1203 if (do_notify_parent(p, p->exit_signal)) in wait_task_zombie()
[all …]
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.c516 ptl_dbg_cond(p->ptl, "ptl: releasing packet %p\n", p); in __ssh_ptl_packet_release()
517 p->ops->release(p); in __ssh_ptl_packet_release()
859 p->ops->complete(p, status); in __ssh_ptl_complete()
947 packet = p; in ssh_ptl_tx_pop()
960 if (IS_ERR(p)) in ssh_ptl_tx_next()
961 return p; in ssh_ptl_tx_next()
970 return p; in ssh_ptl_tx_next()
1228 packet = p; in ssh_ptl_ack_pop()
1249 if (IS_ERR(p)) { in ssh_ptl_acknowledge()
1288 ssh_packet_put(p); in ssh_ptl_acknowledge()
[all …]
/openbmc/linux/block/partitions/
H A Dmsdos.c64 return (p[0] == MSDOS_LABEL_MAGIC1 && p[1] == MSDOS_LABEL_MAGIC2); in msdos_magic_present()
82 p[3] == AIX_LABEL_MAGIC4)) in aix_magic_present()
176 if (!nr_sects(p) || is_extended_partition(p)) in parse_extended()
208 p -= 4; in parse_extended()
210 if (nr_sects(p) && is_extended_partition(p)) in parse_extended()
361 struct bsd_partition *p; in parse_bsd() local
377 for (p = l->d_partitions; p - l->d_partitions < max_partitions; p++) { in parse_bsd()
515 p++; in parse_unixware()
559 start_sect(p), nr_sects(p)); in parse_minix()
623 if (p->boot_ind != 0 && p->boot_ind != 0x80) { in msdos_partition()
[all …]
/openbmc/linux/net/sunrpc/
H A Dauth_unix.c123 p = xdr_reserve_space(xdr, 3 * sizeof(*p)); in unx_marshal()
124 if (!p) in unx_marshal()
132 p = xdr_reserve_space(xdr, 3 * sizeof(*p)); in unx_marshal()
133 if (!p) in unx_marshal()
145 if (!p) in unx_marshal()
150 p = xdr_reserve_space(xdr, 2 * sizeof(*p)); in unx_marshal()
151 if (!p) in unx_marshal()
176 __be32 *p; in unx_validate() local
179 p = xdr_inline_decode(xdr, 2 * sizeof(*p)); in unx_validate()
180 if (!p) in unx_validate()
[all …]
/openbmc/linux/lib/raid6/
H A Drecov_loongarch_simd.c32 u8 *p, *q, *dp, *dq; in raid6_2data_recov_lsx() local
36 p = (u8 *)ptrs[disks - 2]; in raid6_2data_recov_lsx()
56 ptrs[disks - 2] = p; in raid6_2data_recov_lsx()
177 p += 64; in raid6_2data_recov_lsx()
189 u8 *p, *q, *dq; in raid6_datap_recov_lsx() local
280 p += 64; in raid6_datap_recov_lsx()
306 u8 *p, *q, *dp, *dq; in raid6_2data_recov_lasx() local
330 ptrs[disks - 2] = p; in raid6_2data_recov_lasx()
416 p += 64; in raid6_2data_recov_lasx()
428 u8 *p, *q, *dq; in raid6_datap_recov_lasx() local
[all …]
/openbmc/linux/drivers/of/
H A Dpdt.c75 p = tmp; in of_pdt_build_one_prop()
76 memset(p, 0, sizeof(*p) + 32); in of_pdt_build_one_prop()
83 p->name = (char *) (p + 1); in of_pdt_build_one_prop()
92 tmp = p; in of_pdt_build_one_prop()
95 p->length = of_pdt_prom_ops->getproplen(node, p->name); in of_pdt_build_one_prop()
97 p->length = 0; in of_pdt_build_one_prop()
101 p->value = prom_early_alloc(p->length + 1); in of_pdt_build_one_prop()
103 p->value, p->length); in of_pdt_build_one_prop()
105 p->length = 0; in of_pdt_build_one_prop()
106 ((unsigned char *)p->value)[p->length] = '\0'; in of_pdt_build_one_prop()
[all …]
/openbmc/linux/scripts/coccinelle/api/
H A Dmemdup_user.cocci22 def relevant(p):
28 position p : script:python() { relevant(p) };
31 - to = \(kmalloc@p\|kzalloc@p\)
53 position p : script:python() { relevant(p) };
75 position p : script:python() { relevant(p) };
79 * to = \(kmalloc@p\|kzalloc@p\)
88 position p : script:python() { relevant(p) };
98 p << r.p;
104 p << r.p;
110 p << rv.p;
[all …]
/openbmc/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-h264.h72 TP_ARGS(p),
74 TP_fast_assign(__entry->p = *p),
86 __entry->p.pic_parameter_set_id,
87 __entry->p.seq_parameter_set_id,
91 __entry->p.weighted_bipred_idc,
92 __entry->p.pic_init_qp_minus26,
93 __entry->p.pic_init_qs_minus26,
127 TP_ARGS(p),
129 TP_fast_assign(__entry->p = *p),
305 TP_ARGS(p)
[all …]
/openbmc/linux/net/ceph/
H A Ddecode.c10 ceph_decode_entity_addr_versioned(void **p, void *end, in ceph_decode_entity_addr_versioned() argument
24 struct_end = *p + struct_len; in ceph_decode_entity_addr_versioned()
30 ceph_decode_32_safe(p, end, addr_len, bad); in ceph_decode_entity_addr_versioned()
43 *p = struct_end; in ceph_decode_entity_addr_versioned()
56 ceph_decode_skip_n(p, end, 3, bad); in ceph_decode_entity_addr_legacy()
65 ceph_decode_copy_safe(p, end, &addr->in_addr, in ceph_decode_entity_addr_legacy()
79 ceph_decode_8_safe(p, end, marker, bad); in ceph_decode_entity_addr()
107 ceph_decode_8_safe(p, end, marker, e_inval); in ceph_decode_entity_addrvec()
183 ceph_encode_8(p, 1); /* marker */ in ceph_encode_entity_addr()
190 ceph_encode_32(p, addr_len); in ceph_encode_entity_addr()
[all …]
/openbmc/u-boot/drivers/power/pmic/
H A Dpmic_max8997.c34 if (pmic_probe(p)) in pmic_charger_state()
72 if (pmic_probe(p)) in pmic_charger_bat_present()
88 struct pmic *p = pmic_alloc(); in pmic_init() local
90 if (!p) { in pmic_init()
97 p->name = name; in pmic_init()
98 p->interface = PMIC_I2C; in pmic_init()
99 p->number_of_regs = PMIC_NUM_OF_REGS; in pmic_init()
100 p->hw.i2c.addr = MAX8997_I2C_ADDR; in pmic_init()
101 p->hw.i2c.tx_num = 1; in pmic_init()
102 p->bus = bus; in pmic_init()
[all …]
/openbmc/linux/net/ipv6/ila/
H A Dila_common.c18 if (!p->locator_match.v64) in ila_init_saved_csum()
21 p->csum_diff = compute_csum_diff8( in ila_init_saved_csum()
22 (__be32 *)&p->locator, in ila_init_saved_csum()
23 (__be32 *)&p->locator_match); in ila_init_saved_csum()
28 if (p->locator_match.v64) in get_csum_diff_iaddr()
29 return p->csum_diff; in get_csum_diff_iaddr()
41 struct ila_params *p) in ila_csum_do_neutral_fmt() argument
64 struct ila_params *p) in ila_csum_do_neutral_nofmt() argument
75 struct ila_params *p) in ila_csum_adjust_transport() argument
126 switch (p->csum_mode) { in ila_update_ipv6_locator()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmap_fixed_noreplace.c47 char *p; in main() local
65 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main()
69 if (p == MAP_FAILED) { in main()
86 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main()
89 if (p == MAP_FAILED) { in main()
109 if (p != MAP_FAILED) { in main()
130 if (p != MAP_FAILED) { in main()
150 if (p != MAP_FAILED) { in main()
170 if (p != MAP_FAILED) { in main()
190 if (p == MAP_FAILED) { in main()
[all …]
/openbmc/linux/arch/csky/kernel/probes/
H A Dftrace.c11 struct kprobe *p; in kprobe_ftrace_handler() local
23 p = get_kprobe((kprobe_opcode_t *)ip); in kprobe_ftrace_handler()
24 if (!p) { in kprobe_ftrace_handler()
26 if (unlikely(!p) || kprobe_disabled(p)) in kprobe_ftrace_handler()
33 kprobes_inc_nmissed_count(p); in kprobe_ftrace_handler()
40 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
42 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
48 (unsigned long)p->addr + MCOUNT_INSN_SIZE); in kprobe_ftrace_handler()
49 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
51 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
[all …]
/openbmc/linux/mm/
H A Dmemory-failure.c866 if (!p->mm) in kill_accessing_process()
1070 ret = truncate_error_page(p, page_to_pfn(p), mapping); in me_pagecache_clean()
1446 } else if (!PageHuge(p) && !is_free_buddy_page(p)) { in get_any_page()
1467 if (PageHuge(p) || HWPoisonHandlable(p, flags)) { in get_any_page()
1576 if (PageReserved(p) || PageSlab(p) || PageTable(p) || PageOffline(p)) in hwpoison_user_mappings()
1896 kfree(p); in __folio_free_raw_hwp()
2201 if (!p) { in memory_failure()
2293 VM_BUG_ON_PAGE(!page_count(p), p); in memory_failure()
2349 if (!PageLRU(p) && !PageWriteback(p)) in memory_failure()
2362 if (!hwpoison_user_mappings(p, pfn, flags, p)) { in memory_failure()
[all …]
/openbmc/linux/fs/minix/
H A Ditree_common.c5 block_t *p; member
14 p->key = *(p->p = v); in add_chain()
15 p->bh = bh; in add_chain()
67 return p; in get_branch()
244 for (p=partial;p>chain && all_zeroes((block_t*)p->bh->b_data,p->p);p--) in find_shared()
246 if (p == chain + k - 1 && p > chain) { in find_shared()
247 p->p--; in find_shared()
249 *top = *p->p; in find_shared()
250 *p->p = 0; in find_shared()
267 for ( ; p < q ; p++) { in free_data()
[all …]

1...<<11121314151617181920>>...352