/openbmc/linux/fs/nfs/ |
H A D | export.c | 25 static struct nfs_fh *nfs_exp_embedfh(__u32 *p) in nfs_exp_embedfh() argument 27 return (struct nfs_fh *)(p + EMBED_FH_OFF); in nfs_exp_embedfh() 35 nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) in nfs_encode_fh() argument 38 struct nfs_fh *clnt_fh = nfs_exp_embedfh(p); in nfs_encode_fh() 52 p[FILEID_HIGH_OFF] = NFS_FILEID(inode) >> 32; in nfs_encode_fh() 53 p[FILEID_LOW_OFF] = NFS_FILEID(inode); in nfs_encode_fh() 54 p[FILE_I_TYPE_OFF] = inode->i_mode & S_IFMT; in nfs_encode_fh() 55 p[len - 1] = 0; /* Padding */ in nfs_encode_fh() 74 u32 *p = fid->raw; in nfs_fh_to_dentry() local 87 fattr->fileid = ((u64)p[FILEID_HIGH_OFF] << 32) + p[FILEID_LOW_OFF]; in nfs_fh_to_dentry() [all …]
|
/openbmc/linux/drivers/dma/ti/ |
H A D | k3-udma-private.c | 107 void xudma_##res##_put(struct udma_dev *ud, struct udma_##res *p) \ 109 clear_bit(p->id, ud->res##_map); \ 121 void xudma_rflow_put(struct udma_dev *ud, struct udma_rflow *p) in xudma_rflow_put() argument 123 __udma_put_rflow(ud, p); in xudma_rflow_put() 134 int xudma_##res##_get_id(struct udma_##res *p) \ 136 return p->id; \ 145 u32 xudma_##res##rt_read(struct udma_##res *p, int reg) \ 147 if (!p) \ 149 return udma_read(p->reg_rt, reg); \ 155 if (!p) \ [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | chain_mode.c | 109 struct dma_extended_desc *p = (struct dma_extended_desc *)des; in init_dma_chain() local 112 p->basic.des3 = cpu_to_le32((unsigned int)dma_phy); in init_dma_chain() 113 p++; in init_dma_chain() 115 p->basic.des3 = cpu_to_le32((unsigned int)phy_addr); in init_dma_chain() 118 struct dma_desc *p = (struct dma_desc *)des; in init_dma_chain() local 121 p->des3 = cpu_to_le32((unsigned int)dma_phy); in init_dma_chain() 122 p++; in init_dma_chain() 124 p->des3 = cpu_to_le32((unsigned int)phy_addr); in init_dma_chain() 137 p->des3 = cpu_to_le32((unsigned int)(rx_q->dma_rx_phy + in refill_desc3() 143 static void clean_desc3(struct stmmac_tx_queue *tx_q, struct dma_desc *p) in clean_desc3() argument [all …]
|
/openbmc/linux/net/ceph/ |
H A D | osd_client.c | 1204 for (p = rb_first(&osd->o_requests); p; ) { in DEFINE_RB_FUNCS() 1208 p = rb_next(p); in DEFINE_RB_FUNCS() 1218 p = rb_next(p); in DEFINE_RB_FUNCS() 2275 oloc = p; in encode_request_finish() 2283 oid = p; in encode_request_finish() 3468 for (p = rb_first(&osd->o_requests); p; ) { in handle_timeout() 3472 p = rb_next(p); /* abort_request() */ in handle_timeout() 3486 for (p = rb_first(&osd->o_linger_requests); p; p = rb_next(p)) { in handle_timeout() 3509 p = rb_next(p); /* abort_request() */ in handle_timeout() 4191 err = handle_one_map(osdc, p, p + maplen, true, in ceph_osdc_handle_map() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | sal.c | 117 sal_desc_entry_point (void *p) in sal_desc_entry_point() argument 151 sal_desc_platform_feature (void *p) in sal_desc_platform_feature() argument 179 sal_desc_ap_wakeup (void *p) in sal_desc_ap_wakeup() argument 181 struct ia64_sal_desc_ap_wakeup *ap = p; in sal_desc_ap_wakeup() 304 char *p; in ia64_sal_init() local 327 p = (char *) (systab + 1); in ia64_sal_init() 333 switch (*p) { in ia64_sal_init() 335 sal_desc_entry_point(p); in ia64_sal_init() 338 sal_desc_platform_feature(p); in ia64_sal_init() 344 sal_desc_ap_wakeup(p); in ia64_sal_init() [all …]
|
/openbmc/linux/security/keys/trusted-keys/ |
H A D | trusted_tee.c | 73 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_seal() 74 sizeof(p->key) + sizeof(p->blob)); in trusted_tee_seal() 86 param[0].u.memref.size = p->key_len; in trusted_tee_seal() 90 param[1].u.memref.size = sizeof(p->blob); in trusted_tee_seal() 91 param[1].u.memref.shm_offs = sizeof(p->key); in trusted_tee_seal() 99 p->blob_len = param[1].u.memref.size; in trusted_tee_seal() 121 sizeof(p->key) + sizeof(p->blob)); in trusted_tee_unseal() 133 param[0].u.memref.size = p->blob_len; in trusted_tee_unseal() 134 param[0].u.memref.shm_offs = sizeof(p->key); in trusted_tee_unseal() 137 param[1].u.memref.size = sizeof(p->key); in trusted_tee_unseal() [all …]
|
/openbmc/linux/arch/loongarch/crypto/ |
H A D | crc32-loongarch.c | 35 u64 value = get_unaligned_le64(p); in crc32_loongarch_hw() 38 p += sizeof(u64); in crc32_loongarch_hw() 43 u32 value = get_unaligned_le32(p); in crc32_loongarch_hw() 46 p += sizeof(u32); in crc32_loongarch_hw() 50 u16 value = get_unaligned_le16(p); in crc32_loongarch_hw() 53 p += sizeof(u16); in crc32_loongarch_hw() 57 u8 value = *p++; in crc32_loongarch_hw() 73 p += sizeof(u64); in crc32c_loongarch_hw() 81 p += sizeof(u32); in crc32c_loongarch_hw() 88 p += sizeof(u16); in crc32c_loongarch_hw() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/sysvinit/sysvinit/ |
H A D | pidof-add-m-option.patch | 66 + PROC *p; 71 + for (p = olist; p; p = olist) { 73 + free(p); 83 PROC *p, *n; 89 p->next = plist; 90 plist = p; 91 p->pid = pid; 96 + if (o->pid == p->pid) { 98 + *n = *p; 110 +int matches(PROC *o, PROC *p) [all …]
|
/openbmc/linux/scripts/coccinelle/null/ |
H A D | deref_null.cocci | 59 position p!={pr1.p1,pr2.p2}; 85 E->f@p // bad use 93 p << r.p; 103 p << r.p; 110 cocci.print_main(msg_safe,p) 120 position p!={pr1.p1,pr2.p2}; 146 E->f@p // bad use 153 p << s.p; 162 p << s.p; 206 * E->f@p // bad use [all …]
|
/openbmc/qemu/host/include/loongarch64/host/ |
H A D | bufferiszero.c.inc | 15 const void *p = QEMU_ALIGN_PTR_DOWN(buf + 16, 16); 41 "vld $vr0,%1,0\n\t" /* p[0] */ 42 "vld $vr1,%1,16\n\t" /* p[1] */ 43 "vld $vr2,%1,32\n\t" /* p[2] */ 44 "vld $vr3,%1,48\n\t" /* p[3] */ 45 "vld $vr4,%1,64\n\t" /* p[4] */ 46 "vld $vr5,%1,80\n\t" /* p[5] */ 47 "vld $vr6,%1,96\n\t" /* p[6] */ 48 "vld $vr7,%1,112\n\t" /* p[7] */ 62 : "=&r"(ret), "+r"(p) [all …]
|
/openbmc/linux/include/linux/ |
H A D | align.h | 11 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) argument 12 #define PTR_ALIGN_DOWN(p, a) ((typeof(p))ALIGN_DOWN((unsigned long)(p), (a))) argument
|
/openbmc/linux/drivers/md/ |
H A D | dm-stats.c | 145 void *p; in dm_kvzalloc() local 151 if (p) in dm_kvzalloc() 152 return p; in dm_kvzalloc() 273 struct dm_stat_percpu *p; in dm_stats_create() local 359 if (!p) { in dm_stats_create() 363 s->stat_percpu[cpu] = p; in dm_stats_create() 373 p[ni].histogram = hi; in dm_stats_create() 559 struct dm_stat_percpu *p; in dm_stat_for_entry() local 593 p->sectors[idx] += len; in dm_stat_for_entry() 594 p->ios[idx] += 1; in dm_stat_for_entry() [all …]
|
/openbmc/qemu/tests/tcg/x86_64/ |
H A D | float_convd.ref | 51 to single: f32(-0x1.00000000000000000000p+1:0xc0000000) (OK) 57 to single: f32(-0x1.00000000000000000000p+0:0xbf800000) (OK) 69 to single: f32(-0x1.00000000000000000000p-126:0x80800000) (OK) 75 to single: f32(0x0.00000000000000000000p+0:0000000000) (OK) 81 to single: f32(0x1.00000000000000000000p-126:0x00800000) (OK) 111 to single: f32(0x1.00000000000000000000p+0:0x3f800000) (OK) 117 to single: f32(0x1.00400000000000000000p+0:0x3f802000) (OK) 141 to single: f32(0x1.00000000000000000000p+0:0x3f800000) (OK) 147 to single: f32(0x1.00000000000000000000p+1:0x40000000) (OK) 322 to single: f32(0x0.00000000000000000000p+0:0000000000) (OK) [all …]
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | float_convd.ref | 51 to single: f32(-0x1.00000000000000000000p+1:0xc0000000) (OK) 57 to single: f32(-0x1.00000000000000000000p+0:0xbf800000) (OK) 69 to single: f32(-0x1.00000000000000000000p-126:0x80800000) (OK) 75 to single: f32(0x0.00000000000000000000p+0:0000000000) (OK) 81 to single: f32(0x1.00000000000000000000p-126:0x00800000) (OK) 111 to single: f32(0x1.00000000000000000000p+0:0x3f800000) (OK) 117 to single: f32(0x1.00400000000000000000p+0:0x3f802000) (OK) 141 to single: f32(0x1.00000000000000000000p+0:0x3f800000) (OK) 147 to single: f32(0x1.00000000000000000000p+1:0x40000000) (OK) 322 to single: f32(0x0.00000000000000000000p+0:0000000000) (OK) [all …]
|
/openbmc/qemu/tests/tcg/loongarch64/ |
H A D | float_convd.ref | 51 to single: f32(-0x1.00000000000000000000p+1:0xc0000000) (OK) 57 to single: f32(-0x1.00000000000000000000p+0:0xbf800000) (OK) 69 to single: f32(-0x1.00000000000000000000p-126:0x80800000) (OK) 75 to single: f32(0x0.00000000000000000000p+0:0000000000) (OK) 81 to single: f32(0x1.00000000000000000000p-126:0x00800000) (OK) 111 to single: f32(0x1.00000000000000000000p+0:0x3f800000) (OK) 117 to single: f32(0x1.00400000000000000000p+0:0x3f802000) (OK) 141 to single: f32(0x1.00000000000000000000p+0:0x3f800000) (OK) 147 to single: f32(0x1.00000000000000000000p+1:0x40000000) (OK) 322 to single: f32(0x0.00000000000000000000p+0:0000000000) (OK) [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | float_convd.ref | 51 to single: f32(-0x1.00000000000000000000p+1:0xc0000000) (OK) 57 to single: f32(-0x1.00000000000000000000p+0:0xbf800000) (OK) 69 to single: f32(-0x1.00000000000000000000p-126:0x80800000) (OK) 75 to single: f32(0x0.00000000000000000000p+0:0000000000) (OK) 81 to single: f32(0x1.00000000000000000000p-126:0x00800000) (OK) 111 to single: f32(0x1.00000000000000000000p+0:0x3f800000) (OK) 117 to single: f32(0x1.00400000000000000000p+0:0x3f802000) (OK) 141 to single: f32(0x1.00000000000000000000p+0:0x3f800000) (OK) 147 to single: f32(0x1.00000000000000000000p+1:0x40000000) (OK) 322 to single: f32(0x0.00000000000000000000p+0:0000000000) (OK) [all …]
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-sx8.c | 77 p->cnr.len = 1; in get_snr() 79 p->cnr.stat[0].svalue = in get_snr() 94 p->strength.len = 1; in get_strength() 96 p->strength.stat[0].svalue = str; in get_strength() 187 if (p->symbol_rate >= (MCLK / 2)) in start() 209 if (p->symbol_rate >= MCLK / 2) { in start() 275 if (p->stream_id != NO_STREAM_ID_FILTER && p->stream_id != 0x80000000) in start() 288 (p->stream_id != NO_STREAM_ID_FILTER) ? p->stream_id : 0; in start() 292 if (p->stream_id == 0x80000000) in start() 359 isi = p->stream_id; in set_parameters() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | io_uring_zerocopy_tx.c | 175 sq->ring_sz = p->sq_off.array + p->sq_entries * sizeof(unsigned); in io_uring_mmap() 180 sq->khead = ptr + p->sq_off.head; in io_uring_mmap() 181 sq->ktail = ptr + p->sq_off.tail; in io_uring_mmap() 198 cq->ring_sz = p->cq_off.cqes + p->cq_entries * sizeof(struct io_uring_cqe); in io_uring_mmap() 206 cq->khead = ptr + p->cq_off.head; in io_uring_mmap() 207 cq->ktail = ptr + p->cq_off.tail; in io_uring_mmap() 211 cq->cqes = ptr + p->cq_off.cqes; in io_uring_mmap() 218 struct io_uring_params p; in io_uring_queue_init() local 222 memset(&p, 0, sizeof(p)); in io_uring_queue_init() 223 p.flags = flags; in io_uring_queue_init() [all …]
|
/openbmc/linux/lib/ |
H A D | string_helpers.c | 184 *p = '\n'; in unescape_space() 187 *p = '\r'; in unescape_space() 190 *p = '\t'; in unescape_space() 193 *p = '\v'; in unescape_space() 196 *p = '\f'; in unescape_space() 219 *p = num; in unescape_octal() 243 *p = num; in unescape_hex() 255 *p = '\"'; in unescape_special() 258 *p = '\\'; in unescape_special() 261 *p = '\a'; in unescape_special() [all …]
|
/openbmc/u-boot/scripts/dtc/ |
H A D | livetree.c | 91 while (p) { in reverse_properties() 94 head = p; in reverse_properties() 95 p = next; in reverse_properties() 257 while (*p) in add_property() 258 p = &((*p)->next); in add_property() 260 *p = prop; in add_property() 290 while (*p) in add_child() 291 p = &((*p)->next_sibling); in add_child() 293 *p = child; in add_child() 329 if (p) { in append_to_property() [all …]
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6asm.c | 335 void *p; in __q6asm_memory_unmap() local 344 if (!p) in __q6asm_memory_unmap() 347 pkt = p; in __q6asm_memory_unmap() 431 void *p; in __q6asm_memory_map_regions() local 451 if (!p) in __q6asm_memory_map_regions() 454 pkt = p; in __q6asm_memory_map_regions() 938 if (!p) in q6asm_open_write() 1019 if (!p) in __q6asm_run() 1105 if (!p) in q6asm_media_format_block_multi_ch_pcm() 1151 if (!p) in q6asm_stream_media_format_block_flac() [all …]
|
/openbmc/linux/fs/ext2/ |
H A D | inode.c | 115 __le32 *p; member 122 p->key = *(p->p = v); in add_chain() 303 for (p = ind->p - 1; p >= start; p--) in ext2_find_near() 304 if (*p) in ext2_find_near() 1052 for (p=partial; p>chain && all_zeroes((__le32*)p->bh->b_data,p->p); p--) in ext2_find_shared() 1060 if (p == chain + k - 1 && p > chain) { in ext2_find_shared() 1061 p->p--; in ext2_find_shared() 1063 *top = *p->p; in ext2_find_shared() 1064 *p->p = 0; in ext2_find_shared() 1092 for ( ; p < q ; p++) { in ext2_free_data() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | process.c | 170 childregs = task_pt_regs(p); in copy_thread() 177 p->thread.io_bitmap = NULL; in copy_thread() 178 p->thread.iopl_warn = 0; in copy_thread() 179 memset(p->thread.ptrace_bps, 0, sizeof(p->thread.ptrace_bps)); in copy_thread() 188 savesegment(es, p->thread.es); in copy_thread() 189 savesegment(ds, p->thread.ds); in copy_thread() 228 p->thread.pkru = read_pkru(); in copy_thread() 255 ret = set_new_tls(p, tls); in copy_thread() 258 io_bitmap_share(p); in copy_thread() 1050 if (!try_get_task_stack(p)) in __get_wchan() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/mm/ |
H A D | hugetlb_vs_thp_test.c | 14 char *p; in test_body() local 18 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body() 20 if (p != MAP_FAILED) { in test_body() 34 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, in test_body() 36 if (p == MAP_FAILED) { in test_body() 55 *p = 0xf; in test_body()
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | prot-none.c | 19 void *p, *q; in main() local 22 p = mmap(NULL, pagesize * 2, PROT_READ | PROT_WRITE, in main() 24 assert(p != MAP_FAILED); in main() 25 q = p + pagesize - 1; in main() 28 err = mprotect(p, pagesize * 2, PROT_NONE); in main() 33 err = mprotect(p, pagesize * 2, PROT_READ); in main()
|