Home
last modified time | relevance | path

Searched refs:p (Results 101 – 125 of 8665) sorted by relevance

12345678910>>...347

/openbmc/linux/arch/sparc/kernel/
H A Dchmc.c420 p = kzalloc(sizeof(*p), GFP_KERNEL); in jbusmc_probe()
421 if (!p) { in jbusmc_probe()
458 if (p->layout_len > sizeof(p->layout)) { in jbusmc_probe()
463 memcpy(&p->layout, ml, p->layout_len); in jbusmc_probe()
483 kfree(p); in jbusmc_probe()
635 bp->p = p; in chmc_interpret_one_decode_reg()
721 p = kzalloc(sizeof(*p), GFP_KERNEL); in chmc_probe()
722 if (!p) { in chmc_probe()
764 kfree(p); in chmc_probe()
781 kfree(p); in chmc_destroy()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dnorm_desc.c70 struct dma_desc *p) in ndesc_get_rx_status() argument
129 ndesc_rx_set_on_chain(p, end); in ndesc_init_rx_desc()
141 ndesc_tx_set_on_chain(p); in ndesc_init_tx_desc()
172 ndesc_tx_set_on_chain(p); in ndesc_release_tx_desc()
196 p->des1 = cpu_to_le32(tdes1); in ndesc_prepare_tx_desc()
246 ns = le32_to_cpu(p->des2); in ndesc_get_timestamp()
278 x = *(u64 *)p; in ndesc_display_ring()
282 p->des2, p->des3); in ndesc_display_ring()
283 p++; in ndesc_display_ring()
290 p->des2 = cpu_to_le32(addr); in ndesc_set_addr()
[all …]
H A Ddescs_com.h26 p->des1 |= cpu_to_le32((BUF_SIZE_8KiB in ehn_desc_rx_set_on_ring()
31 p->des1 |= cpu_to_le32(ERDES1_END_RING); in ehn_desc_rx_set_on_ring()
37 p->des0 |= cpu_to_le32(ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring()
39 p->des0 &= cpu_to_le32(~ETDES0_END_RING); in enh_desc_end_tx_desc_on_ring()
45 p->des1 |= cpu_to_le32((((len - BUF_SIZE_4KiB) in enh_set_tx_desc_len_on_ring()
65 p->des1 |= cpu_to_le32(RDES1_END_RING); in ndesc_rx_set_on_ring()
71 p->des1 |= cpu_to_le32(TDES1_END_RING); in ndesc_end_tx_desc_on_ring()
73 p->des1 &= cpu_to_le32(~TDES1_END_RING); in ndesc_end_tx_desc_on_ring()
81 p->des1 |= cpu_to_le32((((len - buffer1) in norm_set_tx_desc_len_on_ring()
109 p->des1 |= cpu_to_le32(RDES1_SECOND_ADDRESS_CHAINED); in ndesc_rx_set_on_chain()
[all …]
/openbmc/linux/fs/nfsd/
H A Dblocklayoutxdr.c26 if (!p) in nfsd4_block_encode_layoutget()
32 p = xdr_encode_opaque_fixed(p, &b->vol_id, in nfsd4_block_encode_layoutget()
34 p = xdr_encode_hyper(p, b->foff); in nfsd4_block_encode_layoutget()
35 p = xdr_encode_hyper(p, b->len); in nfsd4_block_encode_layoutget()
36 p = xdr_encode_hyper(p, b->soff); in nfsd4_block_encode_layoutget()
69 p = xdr_encode_hyper(p, b->scsi.pr_key); in nfsd4_block_encode_volume()
151 p = xdr_decode_hyper(p, &bex.foff); in nfsd4_block_decode_layoutupdate()
157 p = xdr_decode_hyper(p, &bex.len); in nfsd4_block_decode_layoutupdate()
163 p = xdr_decode_hyper(p, &bex.soff); in nfsd4_block_decode_layoutupdate()
216 p = xdr_decode_hyper(p, &val); in nfsd4_scsi_decode_layoutupdate()
[all …]
/openbmc/linux/arch/x86/kernel/kprobes/
H A Dcore.c433 !p->post_handler && can_boost(insn, p->addr) && in prepare_singlestep()
755 if (alternatives_text_reserved(p->addr, p->addr)) in arch_prepare_kprobe()
761 memset(&p->ainsn, 0, sizeof(p->ainsn)); in arch_prepare_kprobe()
783 perf_event_text_poke(p->addr, &p->opcode, 1, &int3, 1); in arch_arm_kprobe()
790 perf_event_text_poke(p->addr, &int3, 1, &p->opcode, 1); in arch_disarm_kprobe()
791 text_poke(p->addr, &p->opcode, 1); in arch_disarm_kprobe()
799 perf_event_text_poke(p->ainsn.insn, p->ainsn.insn, in arch_remove_kprobe()
801 free_insn_slot(p->ainsn.insn, p->ainsn.boostable); in arch_remove_kprobe()
881 p->ainsn.emulate_op(p, regs); in setup_singlestep()
987 if (p) { in kprobe_int3_handler()
[all …]
/openbmc/linux/drivers/base/
H A Dmap.c45 if (p == NULL) in kobj_map()
52 p->dev = dev; in kobj_map()
57 for (i = 0, p -= n; i < n; i++, p++, index++) { in kobj_map()
61 p->next = *s; in kobj_map()
62 *s = p; in kobj_map()
83 if (p->dev == dev && p->range == range) { in kobj_unmap()
103 for (p = domain->probes[MAJOR(dev) % 255]; p; p = p->next) { in kobj_lookup()
108 if (p->dev > dev || p->dev + p->range - 1 < dev) in kobj_lookup()
119 if (p->lock && p->lock(dev, data) < 0) { in kobj_lookup()
142 kfree(p); in kobj_map_init()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_lanp.c694 p->data[0], p->data[1], p->data[2], p->data[3]); in ipmi_lan_print()
701 p->data[0], p->data[1], p->data[2], p->data[3]); in ipmi_lan_print()
708 p->data[0], p->data[1], p->data[2], p->data[3], p->data[4], p->data[5]); in ipmi_lan_print()
721 p->desc, p->data[0], p->data[1] & 0xe0, p->data[2] & 0xe0, p->data[2] & 0x1e); in ipmi_lan_print()
741 p->data[0], p->data[1], p->data[2], p->data[3]); in ipmi_lan_print()
748 p->data[0], p->data[1], p->data[2], p->data[3], p->data[4], p->data[5]); in ipmi_lan_print()
755 p->data[0], p->data[1], p->data[2], p->data[3]); in ipmi_lan_print()
762 p->data[0], p->data[1], p->data[2], p->data[3], p->data[4], p->data[5]); in ipmi_lan_print()
774 if (p != NULL && p->data != NULL) in ipmi_lan_print()
905 p = strchr(p, ','); in ipmi_lan_set_auth()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_boot.c44 if (p && *p != '\0') { in trace_boot_set_instance_options()
54 if (p && *p != '\0') { in trace_boot_set_instance_options()
60 if (p && *p != '\0') { in trace_boot_set_instance_options()
69 if (p && *p != '\0') { in trace_boot_set_instance_options()
227 if (p) { in trace_boot_hist_add_array()
370 if (p) in trace_boot_compose_hist_cmd()
374 if (p) in trace_boot_compose_hist_cmd()
407 if (p) in trace_boot_compose_hist_cmd()
488 if (p && *p != '\0') { in trace_boot_init_one_event()
599 if (p && *p != '\0') { in trace_boot_enable_tracer()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_cs.c185 p->relocs[i].tv.bo = &p->relocs[i].robj->tbo; in radeon_cs_parser_relocs()
195 p->vm_bos = radeon_vm_get_bos(p->rdev, p->ib.vm, in radeon_cs_parser_relocs()
200 r = radeon_bo_list_validate(p->rdev, &p->ticket, &p->validated, p->ring); in radeon_cs_parser_relocs()
260 r = radeon_sync_resv(p->rdev, &p->ib.sync, resv, in radeon_cs_sync_rings()
319 p->chunk_relocs = &p->chunks[i]; in radeon_cs_parser_init()
322 p->chunk_ib = &p->chunks[i]; in radeon_cs_parser_init()
328 p->chunk_const_ib = &p->chunks[i]; in radeon_cs_parser_init()
334 p->chunk_flags = &p->chunks[i]; in radeon_cs_parser_init()
360 p->cs_flags = p->chunks[i].kdata[0]; in radeon_cs_parser_init()
810 r = radeon_cs_packet_parse(p, &p3reloc, p->idx); in radeon_cs_packet_next_is_pkt3_nop()
[all …]
/openbmc/linux/drivers/media/common/siano/
H A Dsmsdvb-debugfs.c35 struct sms_stats *p) in smsdvb_print_dvb_stats() argument
81 p->num_of_corrected_mpe_tlbs); in smsdvb_print_dvb_stats()
97 struct sms_isdbt_stats *p) in smsdvb_print_isdb_stats() argument
140 p->layer_info[i].ber_error_count); in smsdvb_print_isdb_stats()
142 p->layer_info[i].ber_bit_count); in smsdvb_print_isdb_stats()
146 p->layer_info[i].error_ts_packets); in smsdvb_print_isdb_stats()
148 p->layer_info[i].total_ts_packets); in smsdvb_print_isdb_stats()
161 struct sms_isdbt_stats_ex *p) in smsdvb_print_isdb_stats_ex() argument
205 p->layer_info[i].ber_error_count); in smsdvb_print_isdb_stats_ex()
207 p->layer_info[i].ber_bit_count); in smsdvb_print_isdb_stats_ex()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Dcistpl.c749 link->nfn = *p; p++; in parse_longlink_mfc()
753 link->fn[i].space = *p; p++; in parse_longlink_mfc()
781 if ((*p == 0xff) || (++p == q)) in parse_strings()
800 vers_1->major = *p; p++; in parse_vers_1()
801 vers_1->minor = *p; p++; in parse_vers_1()
1067 irq->IRQInfo1 = *p; p++; in parse_irq()
1071 irq->IRQInfo2 = (p[1]<<8) + p[0]; in parse_irq()
1107 features = *p; p++; in parse_cftable_entry()
1142 p = parse_io(p, q, &entry->io); in parse_cftable_entry()
1150 p = parse_irq(p, q, &entry->irq); in parse_cftable_entry()
[all …]
/openbmc/qemu/migration/
H A Dmultifd-zstd.c79 p->compress_data = z; in zstd_send_setup()
105 g_free(p->iov); in zstd_send_cleanup()
106 p->iov = NULL; in zstd_send_cleanup()
168 p->iov[p->iovs_num].iov_base = z->zbuff; in zstd_send_prepare()
169 p->iov[p->iovs_num].iov_len = z->out.pos; in zstd_send_prepare()
170 p->iovs_num++; in zstd_send_prepare()
194 p->compress_data = z; in zstd_recv_setup()
257 uint32_t expected_size = p->normal_num * p->page_size; in zstd_recv()
271 if (!p->normal_num) { in zstd_recv()
287 ramblock_recv_bitmap_set_offset(p->block, p->normal[i]); in zstd_recv()
[all …]
H A Dmultifd-zlib.c72 p->compress_data = z; in zlib_send_setup()
109 g_free(p->iov); in zlib_send_cleanup()
110 p->iov = NULL; in zlib_send_cleanup()
150 memcpy(z->buf, p->pages->block->host + pages->offset[i], p->page_size); in zlib_send_prepare()
180 p->iov[p->iovs_num].iov_base = z->zbuff; in zlib_send_prepare()
181 p->iov[p->iovs_num].iov_len = out_size; in zlib_send_prepare()
182 p->iovs_num++; in zlib_send_prepare()
206 p->compress_data = z; in zlib_recv_setup()
263 uint32_t expected_size = p->normal_num * p->page_size; in zlib_recv()
294 ramblock_recv_bitmap_set_offset(p->block, p->normal[i]); in zlib_recv()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c54 memset(p, 0, sizeof(*p)); in amdgpu_cs_parser_init()
59 if (!p->ctx) in amdgpu_cs_parser_init()
256 ret = amdgpu_cs_p1_user_fence(p, p->chunks[i].kdata, in amdgpu_cs_pass1()
270 ret = amdgpu_cs_p1_bo_handles(p, p->chunks[i].kdata); in amdgpu_cs_pass1()
300 p->gang_leader = p->jobs[p->gang_leader_idx]; in amdgpu_cs_pass1()
800 if (p->bytes_moved < p->bytes_moved_threshold && in amdgpu_cs_bo_validate()
1085 r = amdgpu_cs_patch_ibs(p, p->jobs[i]); in amdgpu_cs_patch_jobs()
1203 r = amdgpu_ctx_wait_prev_fence(p->ctx, p->entities[p->gang_leader_idx]); in amdgpu_cs_sync_rings()
1225 r = amdgpu_sync_push_to_job(&p->sync, p->jobs[i]); in amdgpu_cs_sync_rings()
1261 p->fence, p->post_deps[i].point); in amdgpu_cs_post_dependencies()
[all …]
/openbmc/linux/block/
H A Dioprio.c86 p = current; in SYSCALL_DEFINE3()
89 if (p) in SYSCALL_DEFINE3()
123 !task_pid_vnr(p)) in SYSCALL_DEFINE3()
154 if (p != current) in __get_task_ioprio()
175 task_lock(p); in get_task_ioprio()
177 task_unlock(p); in get_task_ioprio()
195 task_lock(p); in get_task_raw_ioprio()
196 if (p->io_context) in get_task_raw_ioprio()
200 task_unlock(p); in get_task_raw_ioprio()
223 p = current; in SYSCALL_DEFINE2()
[all …]
/openbmc/linux/drivers/virt/acrn/
H A Dioeventfd.c48 list_del(&p->list); in acrn_ioeventfd_shutdown()
49 kfree(p); in acrn_ioeventfd_shutdown()
99 p = kzalloc(sizeof(*p), GFP_KERNEL); in acrn_ioeventfd_assign()
100 if (!p) { in acrn_ioeventfd_assign()
130 p->addr, p->addr + p->length - 1); in acrn_ioeventfd_assign()
141 kfree(p); in acrn_ioeventfd_assign()
163 p->addr, p->addr + p->length - 1); in acrn_ioeventfd_deassign()
181 if (p->type == type && p->addr == addr && p->length >= len && in hsm_ioeventfd_match()
182 (p->wildcard || p->data == data)) in hsm_ioeventfd_match()
183 return p; in hsm_ioeventfd_match()
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dkprobes.c15 p->ainsn.insn[0] = *p->addr; in arch_prepare_ss_slot()
17 p->ainsn.restore = (unsigned long)p->addr + LOONGARCH_INSN_SIZE; in arch_prepare_ss_slot()
23 p->ainsn.restore = 0; in arch_prepare_simulate()
35 p->opcode = *p->addr; in arch_prepare_kprobe()
51 if (p->ainsn.insn) in arch_prepare_kprobe()
64 flush_insn_slot(p); in arch_arm_kprobe()
71 *p->addr = p->opcode; in arch_disarm_kprobe()
72 flush_insn_slot(p); in arch_disarm_kprobe()
195 dump_kprobe(p); in reenter_kprobe()
222 if (p) { in kprobe_breakpoint_handler()
[all …]
/openbmc/linux/samples/kprobes/
H A Dkprobe_example.c32 p->symbol_name, p->addr, regs->ip, regs->flags); in handler_pre()
36 p->symbol_name, p->addr, regs->nip, regs->msr); in handler_pre()
52 p->symbol_name, p->addr, regs->epc, regs->status); in handler_pre()
73 p->symbol_name, p->addr, regs->flags); in handler_post()
77 p->symbol_name, p->addr, regs->msr); in handler_post()
81 p->symbol_name, p->addr, regs->cp0_status); in handler_post()
85 p->symbol_name, p->addr, (long)regs->pstate); in handler_post()
89 p->symbol_name, p->addr, (long)regs->ARM_cpsr); in handler_post()
93 p->symbol_name, p->addr, regs->status); in handler_post()
97 p->symbol_name, p->addr, regs->flags); in handler_post()
[all …]
/openbmc/u-boot/include/linux/unaligned/
H A Daccess_ok.h8 return le16_to_cpup((__le16 *)p); in get_unaligned_le16()
13 return le32_to_cpup((__le32 *)p); in get_unaligned_le32()
18 return le64_to_cpup((__le64 *)p); in get_unaligned_le64()
23 return be16_to_cpup((__be16 *)p); in get_unaligned_be16()
28 return be32_to_cpup((__be32 *)p); in get_unaligned_be32()
33 return be64_to_cpup((__be64 *)p); in get_unaligned_be64()
38 *((__le16 *)p) = cpu_to_le16(val); in put_unaligned_le16()
43 *((__le32 *)p) = cpu_to_le32(val); in put_unaligned_le32()
48 *((__le64 *)p) = cpu_to_le64(val); in put_unaligned_le64()
53 *((__be16 *)p) = cpu_to_be16(val); in put_unaligned_be16()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c556 void *p; in alloc_mapping() local
573 p[i * page_size / sizeof(*p)] = i + 0xdead0000; in fill_memory()
637 i, p[i * page_size / sizeof(*p)]); in validate_memory()
666 void *p; in file_setup_area() local
695 if (p == MAP_FAILED || p != BASE_ADDR) { in file_setup_area()
736 void *p; in shmem_setup_area() local
910 char *p; in alloc_at_fault() local
916 *p = 1; in alloc_at_fault()
936 void *p; in collapse_full() local
950 void *p; in collapse_empty() local
[all …]
/openbmc/qemu/monitor/
H A Dhmp.c84 p = *pp; in get_str()
86 p++; in get_str()
95 p++; in get_str()
96 while (*p != '\0' && *p != '\"') { in get_str()
129 p++; in get_str()
131 while (*p != '\0' && !qemu_isspace(*p)) { in get_str()
564 while (*p != '\0' && *p != '/' && !qemu_isspace(*p)) { in get_command_name()
943 if (p[0] && p[1] == 's') { in monitor_parse_arguments()
953 if (*p && !qemu_isspace(*p)) { in monitor_parse_arguments()
1185 p = qemu_strchrnul(p, '|'); in cmd_completion()
[all …]
/openbmc/linux/scripts/basic/
H A Dfixdep.c195 while ((p = strstr(p, "CONFIG_"))) { in parse_config_file()
196 if (p > start && (isalnum(p[-1]) || p[-1] == '_')) { in parse_config_file()
204 if (str_ends_with(p, q - p, "_MODULE")) in parse_config_file()
209 use_config(p, r - p); in parse_config_file()
282 p++; in parse_dep_file()
283 while (*p != '\0' && *p != '\n') { in parse_dep_file()
296 p++; in parse_dep_file()
314 p++; in parse_dep_file()
322 p++; in parse_dep_file()
341 memmove(p + 1, p, q - p); in parse_dep_file()
[all …]
/openbmc/linux/drivers/parport/
H A Dparport_gsc.c254 p->irq = irq; in parport_gsc_probe_port()
256 p->ops = ops; in parport_gsc_probe_port()
258 p->physport = p; in parport_gsc_probe_port()
277 p->size = (p->modes & PARPORT_MODE_EPP)?8:3; in parport_gsc_probe_port()
280 pr_info("%s: PC-style at 0x%lx", p->name, p->base); in parport_gsc_probe_port()
308 0, p->name, p)) { in parport_gsc_probe_port()
310 p->name, p->irq); in parport_gsc_probe_port()
325 return p; in parport_gsc_probe_port()
360 if (p) in parport_init_chip()
370 if (p) { in parport_remove_chip()
[all …]
/openbmc/qemu/bsd-user/
H A Dbsd-file.h33 #define UNLOCK_PATH(p, arg) unlock_user(p, arg, 0) argument
74 void *p; in do_bsd_read() local
91 void *p; in do_bsd_pread() local
148 void *p; in do_bsd_write() local
170 void *p; in do_bsd_pwrite() local
227 void *p; in do_bsd_open() local
242 void *p; in do_bsd_openat() local
281 void *p; in do_bsd_revoke() local
294 void *p; in do_bsd_access() local
307 void *p; in do_bsd_eaccess() local
[all …]
/openbmc/linux/arch/arm/probes/kprobes/
H A Dcore.c84 p->opcode = insn; in arch_prepare_kprobe()
93 if (!p->ainsn.insn) in arch_prepare_kprobe()
136 addr = p->addr; in arch_arm_kprobe()
164 __patch_text(p->addr, p->insn); in __kprobes_remove_breakpoint()
170 struct patch p = { in kprobes_remove_breakpoint() local
181 p->opcode); in arch_disarm_kprobe()
226 p->ainsn.insn_singlestep(p->opcode, &p->ainsn, regs); in singlestep()
251 if (!p) in kprobe_handler()
258 if (p) { in kprobe_handler()
302 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_handler()
[all …]

12345678910>>...347