Home
last modified time | relevance | path

Searched refs:p (Results 326 – 350 of 8793) sorted by relevance

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dmdwe_test.c38 void *p; in FIXTURE() local
72 self->p = NULL; in FIXTURE_SETUP()
103 if (self->p && self->p != MAP_FAILED) in FIXTURE_TEARDOWN()
104 munmap(self->p, self->size); in FIXTURE_TEARDOWN()
110 EXPECT_NE(self->p, MAP_FAILED); in TEST_F()
128 ASSERT_NE(self->p, MAP_FAILED); in TEST_F()
139 ASSERT_NE(self->p, MAP_FAILED); in TEST_F()
154 ASSERT_NE(self->p, MAP_FAILED); in TEST_F()
166 void *p; in TEST_F() local
172 p = mmap(self->p, self->size, PROT_READ | PROT_EXEC, in TEST_F()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dmemory.h59 #define nvkm_memory_target(p) (p)->func->target(p) argument
60 #define nvkm_memory_page(p) (p)->func->page(p) argument
61 #define nvkm_memory_bar2(p) (p)->func->bar2(p) argument
62 #define nvkm_memory_addr(p) (p)->func->addr(p) argument
63 #define nvkm_memory_size(p) (p)->func->size(p) argument
64 #define nvkm_memory_boot(p,v) (p)->func->boot((p),(v)) argument
65 #define nvkm_memory_map(p,o,vm,va,av,ac) \ argument
66 (p)->func->map((p),(o),(vm),(va),(av),(ac))
67 #define nvkm_memory_kmap(p,i) ((p)->func->kmap ? (p)->func->kmap((p), (i)) : -ENOSYS) argument
90 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
[all …]
H A Dos.h18 #define iowrite64_native(v,p) do { \ argument
19 u32 __iomem *_p = (u32 __iomem *)(p); \
38 #define nvkm_list_find_next(p,h,m,c) ({ \ argument
39 typeof(p) _p = NULL; \
40 list_for_each_entry_continue(p, (h), m) { \
42 _p = p; \
48 #define nvkm_list_find(p,h,m,c) \ argument
49 (p = container_of((h), typeof(*p), m), nvkm_list_find_next(p, (h), m, (c)))
50 #define nvkm_list_foreach(p,h,m,c) \ argument
51 for (p = nvkm_list_find(p, (h), m, (c)); p; p = nvkm_list_find_next(p, (h), m, (c)))
/openbmc/linux/arch/powerpc/kernel/
H A Dirq.c92 seq_printf(p, "%*s: ", prec, "TAU"); in arch_show_interrupts()
99 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts()
104 seq_printf(p, "%*s: ", prec, "BCT"); in arch_show_interrupts()
109 seq_printf(p, "%*s: ", prec, "LOC"); in arch_show_interrupts()
114 seq_printf(p, "%*s: ", prec, "SPU"); in arch_show_interrupts()
119 seq_printf(p, "%*s: ", prec, "PMI"); in arch_show_interrupts()
124 seq_printf(p, "%*s: ", prec, "MCE"); in arch_show_interrupts()
131 seq_printf(p, "%*s: ", prec, "HMI"); in arch_show_interrupts()
138 seq_printf(p, "%*s: ", prec, "NMI"); in arch_show_interrupts()
144 seq_printf(p, "%*s: ", prec, "WDG"); in arch_show_interrupts()
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dio.h247 #define outsb(p,d,l) __raw_writesb(__io(p),d,l) argument
251 #define insb(p,d,l) __raw_readsb(__io(p),d,l) argument
252 #define insw(p,d,l) __raw_readsw(__io(p),d,l) argument
253 #define insl(p,d,l) __raw_readsl(__io(p),d,l) argument
292 #define readsb(p,d,l) __raw_readsb(p,d,l) argument
293 #define readsw(p,d,l) __raw_readsw(p,d,l) argument
294 #define readsl(p,d,l) __raw_readsl(p,d,l) argument
296 #define writesb(p,d,l) __raw_writesb(p,d,l) argument
297 #define writesw(p,d,l) __raw_writesw(p,d,l) argument
298 #define writesl(p,d,l) __raw_writesl(p,d,l) argument
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Dxz_config.h14 static inline uint32_t swab32p(void *p) in swab32p() argument
16 uint32_t *q = p; in swab32p()
22 #define get_le32(p) (*((uint32_t *) (p))) argument
24 static inline u32 be32_to_cpup(const u32 *p) in be32_to_cpup() argument
26 return swab32p((u32 *)p); in be32_to_cpup()
29 #define get_le32(p) swab32p(p) argument
31 static inline u32 be32_to_cpup(const u32 *p) in be32_to_cpup() argument
33 return *p; in be32_to_cpup()
39 return be32_to_cpup(p); in get_unaligned_be32()
42 static inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32() argument
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dirq_32.c159 struct irq_bucket *p; in irq_link() local
167 p = &irq_table[irq]; in irq_link()
168 pil = p->pil; in irq_link()
171 irq_map[pil] = p; in irq_link()
185 p = &irq_table[irq]; in irq_unlink()
188 while (*pnext != p) in irq_unlink()
190 *pnext = p->next; in irq_unlink()
221 struct irq_bucket *p; in handler_irq() local
227 p = irq_map[pil]; in handler_irq()
228 while (p) { in handler_irq()
[all …]
/openbmc/linux/tools/perf/
H A Dbuiltin-timechart.c265 if (p->current && !p->current->start_time) { in pid_fork()
446 if (p && p->current && p->current->state == TYPE_NONE) { in sched_wakeup()
450 if (p && p->current && p->current->state == TYPE_BLOCKED) { in sched_wakeup()
472 if (p && p->current) { in sched_switch()
1086 p = p->next; in draw_wakeups()
1136 p = p->next; in draw_cpu_usage()
1251 p = p->next; in draw_io_bars()
1308 p = p->next; in draw_process_bars()
1379 p = p->next; in determine_display_tasks_filtered()
1420 p = p->next; in determine_display_tasks()
[all …]
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dmad.c64 int p; in rvt_create_mad_agents() local
67 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_create_mad_agents()
68 rvp = rdi->ports[p]; in rvt_create_mad_agents()
81 rdi->driver_f.notify_create_mad_agent(rdi, p); in rvt_create_mad_agents()
87 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_create_mad_agents()
88 rvp = rdi->ports[p]; in rvt_create_mad_agents()
94 rdi->driver_f.notify_free_mad_agent(rdi, p); in rvt_create_mad_agents()
111 int p; in rvt_free_mad_agents() local
113 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_free_mad_agents()
114 rvp = rdi->ports[p]; in rvt_free_mad_agents()
[all …]
/openbmc/linux/fs/lockd/
H A Dclnt4xdr.c91 __be32 *p; in encode_bool() local
99 __be32 *p; in encode_int32() local
111 __be32 *p; in encode_netobj() local
143 __be32 *p; in decode_cookie() local
204 __be32 *p; in encode_nlm4_stat() local
208 *p = stat; in encode_nlm4_stat()
213 __be32 *p; in decode_nlm4_stat() local
244 __be32 *p; in encode_nlm4_holder() local
252 p = xdr_encode_hyper(p, l_offset); in encode_nlm4_holder()
285 p = xdr_decode_hyper(p, &l_offset); in decode_nlm4_holder()
[all …]
/openbmc/linux/arch/riscv/kernel/probes/
H A Dftrace.c9 struct kprobe *p; in kprobe_ftrace_handler() local
21 p = get_kprobe((kprobe_opcode_t *)ip); in kprobe_ftrace_handler()
22 if (unlikely(!p) || kprobe_disabled(p)) in kprobe_ftrace_handler()
28 kprobes_inc_nmissed_count(p); in kprobe_ftrace_handler()
34 __this_cpu_write(current_kprobe, p); in kprobe_ftrace_handler()
36 if (!p->pre_handler || !p->pre_handler(p, regs)) { in kprobe_ftrace_handler()
42 (unsigned long)p->addr + MCOUNT_INSN_SIZE); in kprobe_ftrace_handler()
43 if (unlikely(p->post_handler)) { in kprobe_ftrace_handler()
45 p->post_handler(p, regs, 0); in kprobe_ftrace_handler()
61 int arch_prepare_kprobe_ftrace(struct kprobe *p) in arch_prepare_kprobe_ftrace() argument
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dpush.h71 #define PUSH_PRINTF(p,f,a...) argument
91 #define PUSH_DATA_(X,p,m,i0,i1,d,s,f,a...) PUSH_DATA__((p), (d), "-> "#m f, ##a) argument
92 #define PUSH_DATA(p,d) PUSH_DATA__((p), (d), " data - %s", __func__) argument
95 #define PUSH_RSVD(p,d) do { \ argument
96 struct nvif_push *__p = (p); \
264 #define PUSH_NVIM(p,c,m,d) do { \ argument
265 struct nvif_push *__p = (p); \
277 #define PUSH_NV_1(X,o,p,c,mA,d...) \ argument
278 PUSH_##o(p,c,c##_##mA,d)
279 #define PUSH_NV_2(X,o,p,c,mA,dA,mB,d...) \ argument
[all …]
/openbmc/u-boot/cmd/
H A Dpcmcia.c145 if (p == NULL) in print_fixed()
150 switch (*p) { in print_fixed()
161 uchar f2 = *(p+4); in print_fixed()
205 if (p == NULL) in identify()
222 p += 2; in identify()
268 code = *p; p += 2; in check_ide_device()
274 len = *p; p += 2; in check_ide_device()
288 ident = p + 4; in check_ide_device()
292 func_id = *p & 0x7F; in check_ide_device()
299 config_base = (*(p+6) << 8) + (*(p+4)); in check_ide_device()
[all …]
/openbmc/linux/scripts/coccinelle/api/alloc/
H A Dzalloc-simple.cocci157 p << r.p;
166 p << r.p;
187 p << r1.p;
196 p << r1.p;
217 p << r2.p;
226 p << r2.p;
247 p << r3.p;
256 p << r3.p;
277 p << r4.p;
286 p << r4.p;
[all …]
/openbmc/linux/include/asm-generic/bitops/
H A Dlock.h19 arch_test_and_set_bit_lock(unsigned int nr, volatile unsigned long *p) in arch_test_and_set_bit_lock() argument
24 p += BIT_WORD(nr); in arch_test_and_set_bit_lock()
25 if (READ_ONCE(*p) & mask) in arch_test_and_set_bit_lock()
28 old = raw_atomic_long_fetch_or_acquire(mask, (atomic_long_t *)p); in arch_test_and_set_bit_lock()
41 arch_clear_bit_unlock(unsigned int nr, volatile unsigned long *p) in arch_clear_bit_unlock() argument
43 p += BIT_WORD(nr); in arch_clear_bit_unlock()
63 p += BIT_WORD(nr); in arch___clear_bit_unlock()
64 old = READ_ONCE(*p); in arch___clear_bit_unlock()
66 raw_atomic_long_set_release((atomic_long_t *)p, old); in arch___clear_bit_unlock()
80 volatile unsigned long *p) in arch_clear_bit_unlock_is_negative_byte() argument
[all …]
/openbmc/linux/mm/
H A Dswapfile.c1338 if (p) in swap_free()
2075 (p = p->next) != &init_mm.mmlist) { in try_to_unuse()
2317 p->list.prio = -p->prio; in setup_swap_info()
2320 p->avail_lists[i].prio = -p->prio; in setup_swap_info()
2325 p->avail_lists[i].prio = -p->prio; in setup_swap_info()
2382 setup_swap_info(p, p->prio, p->swap_map, p->cluster_info); in reinsert_swap_info()
2502 if (!p->bdev || !bdev_nonrot(p->bdev)) in SYSCALL_DEFINE1()
2785 p->old_block_size = block_size(p->bdev); in claim_swapfile()
3085 if (p->bdev && bdev_synchronous(p->bdev)) in SYSCALL_DEFINE2()
3088 if (p->bdev && bdev_nonrot(p->bdev)) { in SYSCALL_DEFINE2()
[all …]
/openbmc/linux/scripts/kconfig/
H A Dutil.c85 if (p) in xmalloc()
86 return p; in xmalloc()
94 if (p) in xcalloc()
95 return p; in xcalloc()
102 p = realloc(p, size); in xrealloc()
103 if (p) in xrealloc()
104 return p; in xrealloc()
111 char *p; in xstrdup() local
114 if (p) in xstrdup()
122 char *p; in xstrndup() local
[all …]
/openbmc/linux/sound/drivers/
H A Dmts64.c215 mts64_disable_readout(p); in mts64_device_init()
280 mts64_smpte_stop(p); in mts64_probe()
285 c = mts64_read(p); in mts64_probe()
304 mts64_device_ready(p); in mts64_read()
305 mts64_enable_readout(p); in mts64_read()
382 mts64_device_ready(p); in mts64_write_command()
395 mts64_device_ready(p); in mts64_write_data()
419 mts64_write_data(p, c); in mts64_write_midi()
907 struct parport *p; in snd_mts64_probe() local
936 card->shortname, p->base, p->irq); in snd_mts64_probe()
[all …]
/openbmc/linux/drivers/net/fjes/
H A Dfjes_ethtool.c49 char *p; in fjes_get_ethtool_stats() local
55 ? *(u64 *)p : *(u32 *)p; in fjes_get_ethtool_stats()
90 u8 *p = data; in fjes_get_strings() local
98 p += ETH_GSTRING_LEN; in fjes_get_strings()
104 p += ETH_GSTRING_LEN; in fjes_get_strings()
106 p += ETH_GSTRING_LEN; in fjes_get_strings()
108 p += ETH_GSTRING_LEN; in fjes_get_strings()
110 p += ETH_GSTRING_LEN; in fjes_get_strings()
112 p += ETH_GSTRING_LEN; in fjes_get_strings()
114 p += ETH_GSTRING_LEN; in fjes_get_strings()
[all …]
/openbmc/linux/net/bridge/
H A Dbr_forward.c26 vg = nbp_vlan_group_rcu(p); in should_deliver()
27 return ((p->flags & BR_HAIRPIN_MODE) || skb->dev != p->dev) && in should_deliver()
28 (br_mst_is_enabled(p->br) || p->state == BR_STATE_FORWARDING) && in should_deliver()
30 !br_skb_isolated(p, skb); in should_deliver()
194 br_multicast_count(p->br, p, skb, igmp_type, BR_MCAST_DIR_TX); in maybe_deliver()
196 return p; in maybe_deliver()
205 struct net_bridge_port *p; in br_flood() local
305 p = NULL; in br_multicast_flood()
309 while (p || rp) { in br_multicast_flood()
312 lport = p ? p->key.port : NULL; in br_multicast_flood()
[all …]
/openbmc/linux/lib/raid6/
H A Dsse2.c39 u8 *p, *q; in raid6_sse21_gen_syndrome() local
43 p = dptr[z0+1]; /* XOR parity */ in raid6_sse21_gen_syndrome()
91 u8 *p, *q; in raid6_sse21_xor_syndrome() local
95 p = dptr[disks-2]; /* XOR parity */ in raid6_sse21_xor_syndrome()
149 u8 *p, *q; in raid6_sse22_gen_syndrome() local
153 p = dptr[z0+1]; /* XOR parity */ in raid6_sse22_gen_syndrome()
202 u8 *p, *q; in raid6_sse22_xor_syndrome() local
206 p = dptr[disks-2]; /* XOR parity */ in raid6_sse22_xor_syndrome()
281 u8 *p, *q; in raid6_sse24_gen_syndrome() local
285 p = dptr[z0+1]; /* XOR parity */ in raid6_sse24_gen_syndrome()
[all …]
H A Davx2.c37 u8 *p, *q; in raid6_avx21_gen_syndrome() local
41 p = dptr[z0+1]; /* XOR parity */ in raid6_avx21_gen_syndrome()
86 u8 *p, *q; in raid6_avx21_xor_syndrome() local
90 p = dptr[disks-2]; /* XOR parity */ in raid6_avx21_xor_syndrome()
144 u8 *p, *q; in raid6_avx22_gen_syndrome() local
148 p = dptr[z0+1]; /* XOR parity */ in raid6_avx22_gen_syndrome()
196 u8 *p, *q; in raid6_avx22_xor_syndrome() local
200 p = dptr[disks-2]; /* XOR parity */ in raid6_avx22_xor_syndrome()
276 u8 *p, *q; in raid6_avx24_gen_syndrome() local
280 p = dptr[z0+1]; /* XOR parity */ in raid6_avx24_gen_syndrome()
[all …]
/openbmc/linux/drivers/net/mdio/
H A Dmdio-cavium.c18 if (m == p->mode) in cavium_mdiobus_set_mode()
21 smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); in cavium_mdiobus_set_mode()
24 oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); in cavium_mdiobus_set_mode()
25 p->mode = m; in cavium_mdiobus_set_mode()
35 cavium_mdiobus_set_mode(p, C45); in cavium_mdiobus_c45_addr()
62 struct cavium_mdiobus *p = bus->priv; in cavium_mdiobus_read_c22() local
67 cavium_mdiobus_set_mode(p, C22); in cavium_mdiobus_read_c22()
93 struct cavium_mdiobus *p = bus->priv; in cavium_mdiobus_read_c45() local
127 struct cavium_mdiobus *p = bus->priv; in cavium_mdiobus_write_c22() local
132 cavium_mdiobus_set_mode(p, C22); in cavium_mdiobus_write_c22()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_em.c41 writeb(value, p->membase); in serial8250_em_serial_out_helper()
46 writel(value, p->membase + ((offset + 1) << 2)); in serial8250_em_serial_out_helper()
57 writel(value, p->membase + (offset << 2)); in serial8250_em_serial_out_helper()
66 return readb(p->membase); in serial8250_em_serial_in()
72 return readl(p->membase + ((offset + 1) << 2)); in serial8250_em_serial_in()
80 return readl(p->membase + (offset << 2)); in serial8250_em_serial_in()
89 ier = serial8250_em_serial_in(p, UART_IER); in serial8250_em_reg_update()
90 fcr = serial8250_em_serial_in(p, UART_FCR_EM); in serial8250_em_reg_update()
91 lcr = serial8250_em_serial_in(p, UART_LCR); in serial8250_em_reg_update()
92 mcr = serial8250_em_serial_in(p, UART_MCR); in serial8250_em_reg_update()
[all …]
/openbmc/linux/drivers/parport/
H A Dparport_atari.c25 parport_atari_read_data(struct parport *p) in parport_atari_read_data() argument
49 parport_atari_read_control(struct parport *p) in parport_atari_read_control() argument
86 parport_atari_read_status(struct parport *p) in parport_atari_read_status() argument
108 parport_atari_enable_irq(struct parport *p) in parport_atari_enable_irq() argument
114 parport_atari_disable_irq(struct parport *p) in parport_atari_disable_irq() argument
175 struct parport *p; in parport_atari_init() local
194 if (!p) in parport_atari_init()
197 p)) { in parport_atari_init()
198 parport_put_port (p); in parport_atari_init()
202 this_port = p; in parport_atari_init()
[all …]

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