Home
last modified time | relevance | path

Searched refs:p (Results 1001 – 1025 of 9049) sorted by relevance

1...<<41424344454647484950>>...362

/openbmc/linux/arch/alpha/kernel/
H A Dirq.c69 int arch_show_interrupts(struct seq_file *p, int prec) in arch_show_interrupts() argument
74 seq_puts(p, "IPI: "); in arch_show_interrupts()
76 seq_printf(p, "%10lu ", cpu_data[j].ipi_count); in arch_show_interrupts()
77 seq_putc(p, '\n'); in arch_show_interrupts()
79 seq_puts(p, "PMI: "); in arch_show_interrupts()
81 seq_printf(p, "%10lu ", per_cpu(irq_pmi_count, j)); in arch_show_interrupts()
82 seq_puts(p, " Performance Monitoring\n"); in arch_show_interrupts()
83 seq_printf(p, "ERR: %10lu\n", irq_err_count); in arch_show_interrupts()
/openbmc/linux/scripts/coccinelle/misc/
H A Duninitialized_var.cocci33 position p;
37 * T var =@p var;
39 * T var =@p *(&(var));
41 * var =@p var
43 * var =@p *(&(var))
47 p << r.p;
50 coccilib.report.print_report(p[0], "WARNING this kind of initialization is deprecated")
53 p << r.p;
56 coccilib.org.print_todo(p[0], "WARNING this kind of initialization is deprecated")
H A Dnewline_in_nl_msg.cocci18 position p;
20 \(GENL_SET_ERR_MSG\|NL_SET_ERR_MSG\|NL_SET_ERR_MSG_MOD\)(e,m@p)
33 position r.p;
35 fname(e,m@p)
55 p << r.p;
61 coccilib.org.print_todo(p[0], msg_safe)
70 p << r.p;
75 coccilib.report.print_report(p[0], msg)
/openbmc/linux/net/sunrpc/
H A Dauth_tls.c101 __be32 *p; in tls_marshal() local
103 p = xdr_reserve_space(xdr, 4 * XDR_UNIT); in tls_marshal()
104 if (!p) in tls_marshal()
107 *p++ = rpc_auth_tls; in tls_marshal()
108 *p++ = xdr_zero; in tls_marshal()
110 *p++ = rpc_auth_null; in tls_marshal()
111 *p = xdr_zero; in tls_marshal()
123 __be32 *p; in tls_validate() local
126 p = xdr_inline_decode(xdr, XDR_UNIT); in tls_validate()
127 if (!p) in tls_validate()
[all …]
/openbmc/linux/include/linux/
H A Dcleanup.h38 static inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
42 #define no_free_ptr(p) \ argument
43 ({ __auto_type __ptr = (p); (p) = NULL; __ptr; })
45 #define return_ptr(p) return no_free_ptr(p) argument
73 static inline void class_##_name##_destructor(_type *p) \
74 { _type _T = *p; _exit; } \
80 static inline void class_##_name##ext##_destructor(class_##_name##_t *p)\
81 { class_##_name##_destructor(p); } \
H A Dfreezer.h27 extern bool frozen(struct task_struct *p);
29 extern bool freezing_slow_path(struct task_struct *p);
34 static inline bool freezing(struct task_struct *p) in freezing() argument
37 return freezing_slow_path(p); in freezing()
61 extern bool freeze_task(struct task_struct *p);
74 static inline bool frozen(struct task_struct *p) { return false; } in frozen() argument
75 static inline bool freezing(struct task_struct *p) { return false; } in freezing() argument
/openbmc/qemu/chardev/
H A Dtrace-events16 spice_vmc_register_interface(void *scd) "spice vmc registered interface %p"
17 spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
21 chr_socket_poll_err(void *chrdev, const char *label) "chardev socket poll error %p (%s)"
22 chr_socket_recv_err(void *chrdev, const char *label, const char *err) "chardev socket recv error %p
23 chr_socket_recv_eof(void *chrdev, const char *label) "chardev socket recv end-of-file %p (%s)"
24 …rite_err(void *chrdev, const char *label, const char *err) "chardev socket write error %p (%s): %s"
25 chr_socket_disconnect(void *chrdev, const char *label) "chardev socket disconnect %p (%s)"
26 chr_socket_hangup(void *chrdev, const char *label) "chardev socket hangup %p (%s)"
27 …d *chrdev, const char *label, const char *err) "chardev socket websock handshake error %p (%s): %s"
28 …(void *chrdev, const char *label, const char *err) "chardev socket TLS handshake error %p (%s): %s"
[all …]
/openbmc/qemu/ui/
H A Dvnc-enc-zywrle.h560 if( data - p >= (w + uw) ) { \
562 p = data; \
613 p = data + w; \
614 end = (int*)(p + h * scanline); \
615 while (p < (ZRLE_PIXEL*)end) { \
616 line = (int*)(p + uw); \
617 while (p < (ZRLE_PIXEL*)line) { \
619 p++; \
622 p += scanline - uw; \
626 p = data + h * scanline; \
[all …]
/openbmc/linux/sound/core/
H A Dinfo.c540 p = proc_symlink(card->id, snd_proc_root->p, card->proc_root->name); in snd_info_card_register()
541 if (!p) in snd_info_card_register()
757 if (!entry->p) in snd_info_clear_entries()
761 entry->p = NULL; in snd_info_clear_entries()
776 if (entry->p) { in snd_info_free_entry()
787 p = entry->parent; in snd_info_free_entry()
788 if (p) { in snd_info_free_entry()
812 if (!p) { in __snd_info_register()
824 if (!p) { in __snd_info_register()
830 entry->p = p; in __snd_info_register()
[all …]
/openbmc/linux/include/linux/qed/
H A Dqed_chain.h179 #define is_chain_u16(p) \ argument
315 #define is_unusable_idx(p, idx) \ argument
316 (((p)->u.chain16.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)
319 (((p)->u.chain32.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)
321 ((((p)->u.chain16.idx + 1) & (p)->elem_per_page_mask) == \
322 (p)->usable_per_page)
325 ((((p)->u.chain32.idx + 1) & (p)->elem_per_page_mask) == \
326 (p)->usable_per_page)
330 if (is_chain_u16(p)) { \
332 (p)->u.chain16.idx += (p)->elem_unusable; \
[all …]
/openbmc/u-boot/lib/lzma/
H A DLzmaDec.h36 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size);
67 #define LzmaDec_Construct(p) { (p)->dic = 0; (p)->probs = 0; } argument
69 void LzmaDec_Init(CLzmaDec *p);
130 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc);
131 void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc);
177 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit,
194 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen,
/openbmc/qemu/scripts/coccinelle/
H A Duse-g_new-etc.cocci48 expression p, n;
50 -g_realloc(p, sizeof(T) * (n))
51 +g_renew(T, p, n)
54 expression p, n;
56 -g_try_realloc(p, sizeof(T) * (n))
57 +g_try_renew(T, p, n)
72 expression p, n;
74 -(T *)g_renew(T, p, n)
75 +g_renew(T, p, n)
/openbmc/linux/drivers/media/pci/pt3/
H A Dpt3_dma.c84 u8 *p; in pt3_proc_dma() local
98 *p = PT3_BUF_CANARY; in pt3_proc_dma()
108 u8 *p; in pt3_init_dmabuf() local
112 p = adap->buffer[0].data; in pt3_init_dmabuf()
115 p[ofs] = PT3_BUF_CANARY; in pt3_init_dmabuf()
120 p = adap->buffer[idx].data; in pt3_init_dmabuf()
148 void *p; in pt3_alloc_dmabuf() local
161 if (p == NULL) in pt3_alloc_dmabuf()
163 adap->buffer[i].data = p; in pt3_alloc_dmabuf()
176 if (p == NULL) in pt3_alloc_dmabuf()
[all …]
/openbmc/linux/security/selinux/ss/
H A Dpolicydb.h318 extern void policydb_destroy(struct policydb *p);
319 extern int policydb_load_isids(struct policydb *p, struct sidtab *s);
322 extern int policydb_type_isvalid(struct policydb *p, unsigned int type);
323 extern int policydb_role_isvalid(struct policydb *p, unsigned int role);
324 extern int policydb_read(struct policydb *p, void *fp);
325 extern int policydb_write(struct policydb *p, void *fp);
328 struct policydb *p, struct filename_trans_key *key);
331 struct policydb *p, struct range_trans *key);
334 struct policydb *p, struct role_trans_key *key);
354 struct policydb *p; member
[all …]
/openbmc/linux/net/sched/
H A Dact_ife.c435 if (p) in tcf_ife_cleanup()
523 p = kzalloc(sizeof(*p), GFP_KERNEL); in tcf_ife_init()
524 if (!p) in tcf_ife_init()
532 kfree(p); in tcf_ife_init()
537 kfree(p); in tcf_ife_init()
545 kfree(p); in tcf_ife_init()
550 kfree(p); in tcf_ife_init()
565 kfree(p); in tcf_ife_init()
622 p = rcu_replace_pointer(ife->params, p, 1); in tcf_ife_init()
628 if (p) in tcf_ife_init()
[all …]
/openbmc/u-boot/common/
H A Dcli_readline.c28 return p; in delete_char()
50 return p; in delete_char()
528 char *p = buffer; in cli_readline_into_buffer() local
554 char *p_buf = p; in cli_readline_into_buffer()
586 *p = '\0'; in cli_readline_into_buffer()
602 p = p_buf; in cli_readline_into_buffer()
607 p = delete_char(p_buf, p, &col, &n, plen); in cli_readline_into_buffer()
609 p = delete_char(p_buf, p, &col, &n, plen); in cli_readline_into_buffer()
614 p = delete_char(p_buf, p, &col, &n, plen); in cli_readline_into_buffer()
628 *p = '\0'; in cli_readline_into_buffer()
[all …]
/openbmc/u-boot/board/samtec/vining_2000/
H A Dvining_2000.c190 struct pmic *p; in pfuze_init() local
198 p = pmic_get("PFUZE100"); in pfuze_init()
199 ret = pmic_probe(p); in pfuze_init()
203 pmic_reg_read(p, PFUZE100_DEVICEID, &reg); in pfuze_init()
219 pmic_reg_read(p, PFUZE100_SW1CSTBY, &reg); in pfuze_init()
230 return p; in pfuze_init()
239 pmic_reg_read(p, PFUZE100_DEVICEID, &id); in pfuze_mode_init()
273 struct pmic *p; in power_init_board() local
276 p = pfuze_init(I2C_PMIC); in power_init_board()
277 if (!p) in power_init_board()
[all …]
/openbmc/linux/arch/um/os-Linux/
H A Dsigio.c54 struct pollfd *p; in write_sigio_thread() local
69 p = &fds->poll[i]; in write_sigio_thread()
169 struct pollfd *p; in __add_sigio_fd() local
214 struct pollfd *p; in __ignore_sigio_fd() local
238 if (p->fd != fd) in __ignore_sigio_fd()
261 struct pollfd *p; in setup_initial_poll() local
264 if (p == NULL) { in setup_initial_poll()
272 return p; in setup_initial_poll()
277 struct pollfd *p; in write_sigio_workaround() local
305 if (!p) in write_sigio_workaround()
[all …]
/openbmc/linux/fs/hostfs/
H A Dhostfs_user.c23 p->ino = buf->st_ino; in stat64_to_hostfs()
24 p->mode = buf->st_mode; in stat64_to_hostfs()
25 p->nlink = buf->st_nlink; in stat64_to_hostfs()
26 p->uid = buf->st_uid; in stat64_to_hostfs()
27 p->gid = buf->st_gid; in stat64_to_hostfs()
28 p->size = buf->st_size; in stat64_to_hostfs()
30 p->atime.tv_nsec = 0; in stat64_to_hostfs()
32 p->ctime.tv_nsec = 0; in stat64_to_hostfs()
34 p->mtime.tv_nsec = 0; in stat64_to_hostfs()
36 p->blocks = buf->st_blocks; in stat64_to_hostfs()
[all …]
/openbmc/linux/tools/perf/util/
H A Dcgroup.c261 e = p ? p : eos; in list_cgroups()
279 if (!p) in list_cgroups()
281 str = p+1; in list_cgroups()
313 e = p ? p : eos; in match_cgroups()
344 if (!p) in match_cgroups()
346 str = p+1; in match_cgroups()
368 e = p ? p : eos; in parse_cgroups()
383 if (!p) in parse_cgroups()
385 str = p+1; in parse_cgroups()
526 p = &(*p)->rb_left; in __cgroup__findnew()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-axi-spi-engine.c82 struct spi_engine_program *p; member
122 p->instructions[p->length] = cmd; in spi_engine_program_add_cmd()
123 p->length++; in spi_engine_program_add_cmd()
221 spi_engine_program_add_cmd(p, dry, in spi_engine_compile_message()
413 kfree(st->p); in spi_engine_irq()
453 p = kzalloc(sizeof(*p) + size, GFP_KERNEL); in spi_engine_transfer_one_message()
454 if (!p) { in spi_engine_transfer_one_message()
461 kfree(p); in spi_engine_transfer_one_message()
475 st->p = p; in spi_engine_transfer_one_message()
477 st->cmd_buf = p->instructions; in spi_engine_transfer_one_message()
[all …]
/openbmc/u-boot/tools/
H A Dprelink-riscv.inc29 Elf_Phdr *p;
31 for (p = phdrs; p < phdrs + phnum; ++p)
32 if (p->p_vaddr <= addr && p->p_vaddr + p->p_memsz > addr)
33 return data + p->p_offset + (addr - p->p_vaddr);
41 Elf_Phdr *p;
51 for (p = phdrs; p < phdrs + ehdr->e_phnum; ++p) {
52 if (p->p_type == PT_DYNAMIC) {
53 dyns = data + p->p_offset;
/openbmc/linux/arch/s390/include/asm/
H A Dbitops.h119 unsigned long *p = __bitops_word(nr, addr); in arch___set_bit() local
122 *p |= mask; in arch___set_bit()
128 unsigned long *p = __bitops_word(nr, addr); in arch___clear_bit() local
131 *p &= ~mask; in arch___clear_bit()
140 *p ^= mask; in arch___change_bit()
150 old = *p; in arch___test_and_set_bit()
151 *p |= mask; in arch___test_and_set_bit()
162 old = *p; in arch___test_and_clear_bit()
163 *p &= ~mask; in arch___test_and_clear_bit()
174 old = *p; in arch___test_and_change_bit()
[all …]
/openbmc/linux/tools/testing/radix-tree/
H A Dlinux.c59 void *p; in kmem_cache_alloc_lru() local
75 p = node; in kmem_cache_alloc_lru()
81 p = malloc(cachep->size); in kmem_cache_alloc_lru()
83 cachep->ctor(p); in kmem_cache_alloc_lru()
85 memset(p, 0, cachep->size); in kmem_cache_alloc_lru()
93 return p; in kmem_cache_alloc_lru()
137 void **p) in kmem_cache_alloc_bulk() argument
159 p[i] = node; in kmem_cache_alloc_bulk()
170 p[i] = malloc(cachep->size * size); in kmem_cache_alloc_bulk()
173 cachep->ctor(p[i]); in kmem_cache_alloc_bulk()
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dftrace_dyn.c287 struct kprobe *p; in kprobe_ftrace_handler() local
297 p = get_kprobe((kprobe_opcode_t *)ip); in kprobe_ftrace_handler()
298 if (unlikely(!p) || kprobe_disabled(p)) in kprobe_ftrace_handler()
307 kprobes_inc_nmissed_count(p); in kprobe_ftrace_handler()
313 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
315 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
320 instruction_pointer_set(regs, (unsigned long)p->addr + MCOUNT_INSN_SIZE); in kprobe_ftrace_handler()
321 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
323 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
339 int arch_prepare_kprobe_ftrace(struct kprobe *p) in arch_prepare_kprobe_ftrace() argument
[all …]

1...<<41424344454647484950>>...362