/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_reqmgr.c | 74 static inline void free_pentry(struct otx2_cpt_pending_entry *pentry) in free_pentry() argument 76 pentry->completion_addr = NULL; in free_pentry() 77 pentry->info = NULL; in free_pentry() 78 pentry->callback = NULL; in free_pentry() 79 pentry->areq = NULL; in free_pentry() 80 pentry->resume_sender = false; in free_pentry() 81 pentry->busy = false; in free_pentry() 89 struct otx2_cpt_pending_entry *pentry = NULL; in process_request() local 115 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request() 117 while (unlikely(!pentry) && retry--) { in process_request() [all …]
|
H A D | otx2_cpt_reqmgr.h | 143 struct otx2_cpt_pending_entry *pentry; member
|
/linux/drivers/mtd/parsers/ |
H A D | qcomsmempart.c | 54 struct smem_flash_pentry pentry[SMEM_FLASH_PTABLE_MAX_PARTS_V4]; member 63 struct smem_flash_pentry *pentry; in parse_qcomsmem_part() local 121 pentry = &ptable->pentry[i]; in parse_qcomsmem_part() 122 if (pentry->name[0] != '\0') in parse_qcomsmem_part() 131 pentry = &ptable->pentry[i]; in parse_qcomsmem_part() 132 if (pentry->name[0] == '\0') in parse_qcomsmem_part() 135 name = kstrdup(pentry->name, GFP_KERNEL); in parse_qcomsmem_part() 146 parts[j].offset = le32_to_cpu(pentry->offset) * mtd->erasesize; in parse_qcomsmem_part() 147 parts[j].mask_flags = pentry->attr; in parse_qcomsmem_part() 148 parts[j].size = le32_to_cpu(pentry->length) * mtd->erasesize; in parse_qcomsmem_part() [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_reqmgr.c | 86 static inline void free_pentry(struct otx_cpt_pending_entry *pentry) in free_pentry() argument 88 pentry->completion_addr = NULL; in free_pentry() 89 pentry->info = NULL; in free_pentry() 90 pentry->callback = NULL; in free_pentry() 91 pentry->areq = NULL; in free_pentry() 92 pentry->resume_sender = false; in free_pentry() 93 pentry->busy = false; in free_pentry() 302 struct otx_cpt_pending_entry *pentry = NULL; in process_request() local 325 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request() 327 while (unlikely(!pentry) && retry--) { in process_request() [all …]
|
H A D | otx_cptvf_reqmgr.h | 175 struct otx_cpt_pending_entry *pentry; member
|
/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 330 struct pending_entry *pentry = NULL; in process_pending_queue() local 337 pentry = &pqueue->head[pqueue->front]; in process_pending_queue() 338 if (unlikely(!pentry->busy)) { in process_pending_queue() 343 info = (struct cpt_info_buffer *)pentry->post_arg; in process_pending_queue() 351 status = (union cpt_res_s *)pentry->completion_addr; in process_pending_queue() 358 pentry->completion_addr = NULL; in process_pending_queue() 359 pentry->busy = false; in process_pending_queue() 361 pentry->post_arg = NULL; in process_pending_queue() 372 pentry->completion_addr = NULL; in process_pending_queue() 373 pentry->busy = false; in process_pending_queue() [all …]
|
H A D | request_manager.h | 105 struct pending_entry *pentry; member
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_reg_sr.c | 98 struct xe_reg_sr_entry *pentry = xa_load(&sr->xa, idx); in xe_reg_sr_add() local 101 if (pentry) { in xe_reg_sr_add() 102 if (!compatible_entries(pentry, e)) { in xe_reg_sr_add() 107 pentry->clr_bits |= e->clr_bits; in xe_reg_sr_add() 108 pentry->set_bits |= e->set_bits; in xe_reg_sr_add() 109 pentry->read_mask |= e->read_mask; in xe_reg_sr_add() 114 pentry = alloc_entry(sr); in xe_reg_sr_add() 115 if (!pentry) { in xe_reg_sr_add() 120 *pentry = *e; in xe_reg_sr_add() 121 ret = xa_err(xa_store(&sr->xa, idx, pentry, GFP_KERNEL)); in xe_reg_sr_add()
|
/linux/fs/dlm/ |
H A D | lowcomms.c | 837 struct processqueue_entry *pentry; in new_processqueue_entry() local 839 pentry = kmalloc(sizeof(*pentry), GFP_NOFS); in new_processqueue_entry() 840 if (!pentry) in new_processqueue_entry() 843 pentry->buf = kmalloc(buflen, GFP_NOFS); in new_processqueue_entry() 844 if (!pentry->buf) { in new_processqueue_entry() 845 kfree(pentry); in new_processqueue_entry() 849 pentry->nodeid = nodeid; in new_processqueue_entry() 850 return pentry; in new_processqueue_entry() 853 static void free_processqueue_entry(struct processqueue_entry *pentry) in free_processqueue_entry() argument 855 kfree(pentry->buf); in free_processqueue_entry() [all …]
|
/linux/kernel/trace/ |
H A D | trace_events_inject.c | 196 static int parse_entry(char *str, struct trace_event_call *call, void **pentry) in parse_entry() argument 205 *pentry = entry; in parse_entry() 228 *pentry = krealloc(entry, entry_size, GFP_KERNEL); in parse_entry() 229 if (!*pentry) { in parse_entry() 233 entry = *pentry; in parse_entry()
|
/linux/kernel/ |
H A D | padata.c | 960 struct padata_sysfs_entry *pentry; in padata_sysfs_show() local 964 pentry = attr2pentry(attr); in padata_sysfs_show() 965 if (pentry->show) in padata_sysfs_show() 966 ret = pentry->show(pinst, attr, buf); in padata_sysfs_show() 975 struct padata_sysfs_entry *pentry; in padata_sysfs_store() local 979 pentry = attr2pentry(attr); in padata_sysfs_store() 980 if (pentry->show) in padata_sysfs_store() 981 ret = pentry->store(pinst, attr, buf, count); in padata_sysfs_store()
|
/linux/arch/powerpc/kvm/ |
H A D | e500.c | 29 struct id **pentry; member 79 entry->pentry = this_cpu_ptr(&pcpu_sids.entry[sid]); in local_sid_setup_one() 108 entry->pentry == this_cpu_ptr(&pcpu_sids.entry[entry->val])) in local_sid_lookup() 170 idt->id[as][pid][pr].pentry = NULL; in kvmppc_e500_id_table_reset_one()
|
/linux/net/bluetooth/ |
H A D | 6lowpan.c | 468 struct lowpan_peer *pentry; in send_mcast_pkt() local 476 list_for_each_entry_rcu(pentry, &dev->peers, list) { in send_mcast_pkt() 483 &pentry->chan->dst, pentry->chan->dst_type, in send_mcast_pkt() 484 &pentry->peer_addr, pentry->chan); in send_mcast_pkt() 485 ret = send_pkt(pentry->chan, local_skb, netdev); in send_mcast_pkt()
|
/linux/fs/proc/ |
H A D | proc_sysctl.c | 91 struct ctl_table **pentry); 377 struct ctl_table_header **phead, struct ctl_table **pentry) in first_entry() argument 391 *pentry = entry; in first_entry() 394 static void next_entry(struct ctl_table_header **phead, struct ctl_table **pentry) in next_entry() argument 397 struct ctl_table *entry = *pentry; in next_entry() 411 *pentry = entry; in next_entry() 1049 struct ctl_table **pentry) in sysctl_follow_link() argument 1059 root = (*pentry)->data; in sysctl_follow_link() 1065 const char *procname = (*pentry)->procname; in sysctl_follow_link() 1072 *pentry = entry; in sysctl_follow_link()
|
/linux/mm/ |
H A D | swap_state.c | 805 pte_t *pte = NULL, pentry; in swap_vma_readahead() local 825 pentry = ptep_get_lockless(pte); in swap_vma_readahead() 826 if (!is_swap_pte(pentry)) in swap_vma_readahead() 828 entry = pte_to_swp_entry(pentry); in swap_vma_readahead()
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 4209 uint32_t *pentry; in lpfc_idiag_queacc_read_qe() local 4219 pentry = lpfc_sli4_qe(pque, index); in lpfc_idiag_queacc_read_qe() 4222 "%08x ", *pentry); in lpfc_idiag_queacc_read_qe() 4223 pentry++; in lpfc_idiag_queacc_read_qe() 4336 uint32_t *pentry; in lpfc_idiag_queacc_write() local 4537 pentry = lpfc_sli4_qe(pque, index); in lpfc_idiag_queacc_write() 4538 pentry += offset; in lpfc_idiag_queacc_write() 4540 *pentry = value; in lpfc_idiag_queacc_write() 4542 *pentry |= value; in lpfc_idiag_queacc_write() 4544 *pentry &= ~value; in lpfc_idiag_queacc_write()
|
/linux/fs/ext4/ |
H A D | xattr.c | 323 xattr_find_entry(struct inode *inode, struct ext4_xattr_entry **pentry, in xattr_find_entry() argument 333 for (entry = *pentry; !IS_LAST_ENTRY(entry); entry = next) { in xattr_find_entry() 347 *pentry = entry; in xattr_find_entry()
|