/linux/drivers/mtd/ |
A D | mtdoops.c | 105 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_inc_counter() 111 if (page_is_used(cxt, cxt->nextpage)) { in mtdoops_inc_counter() 117 cxt->nextpage, cxt->nextcount); in mtdoops_inc_counter() 135 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_workfunc_erase() 145 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_workfunc_erase() 159 ret = mtdoops_erase_block(cxt, cxt->nextpage * record_size); in mtdoops_workfunc_erase() 163 cxt->nextpage, cxt->nextcount); in mtdoops_workfunc_erase() 206 mark_page_used(cxt, cxt->nextpage); in mtdoops_write() 264 cxt->nextpage = cxt->oops_pages - 1; in find_next_position() 312 if (mtd->index != cxt->mtd_index || cxt->mtd_index < 0) in mtdoops_notify_add() [all …]
|
A D | mtdpstore.c | 242 u32 zonecnt = (u32)div_u64(cxt->mtd->size, cxt->info.kmsg_size); in mtdpstore_security() 243 u32 blkcnt = (u32)div_u64(cxt->mtd->size, cxt->mtd->erasesize); in mtdpstore_security() 391 if (mtd->index != cxt->index || cxt->index < 0) in mtdpstore_notify_add() 440 cxt->mtd = mtd; in mtdpstore_notify_add() 524 if (mtd->index != cxt->index || cxt->index < 0) in mtdpstore_notify_remove() 530 kfree(cxt->badmap); in mtdpstore_notify_remove() 531 kfree(cxt->usedmap); in mtdpstore_notify_remove() 532 kfree(cxt->rmmap); in mtdpstore_notify_remove() 533 cxt->mtd = NULL; in mtdpstore_notify_remove() 534 cxt->index = -1; in mtdpstore_notify_remove() [all …]
|
/linux/fs/pstore/ |
A D | ram.c | 236 while (cxt->ftrace_read_cnt < cxt->max_ftrace_cnt) { in ramoops_pstore_read() 364 prz = cxt->dprzs[cxt->dump_write_cnt]; in ramoops_pstore_write() 387 cxt->dump_write_cnt = (cxt->dump_write_cnt + 1) % cxt->max_dump_cnt; in ramoops_pstore_write() 513 if (*paddr + mem_sz - cxt->phys_addr > cxt->size) { in ramoops_init_przs() 517 cxt->size, (unsigned long long)cxt->phys_addr); in ramoops_init_przs() 578 if (*paddr + sz - cxt->phys_addr > cxt->size) { in ramoops_init_prz() 581 cxt->size, (unsigned long long)cxt->phys_addr); in ramoops_init_prz() 769 dump_mem_sz = cxt->size - cxt->console_size - cxt->ftrace_size in ramoops_probe() 798 cxt->pstore.data = cxt; in ramoops_probe() 823 cxt->pstore.bufsize = cxt->dprzs[0]->buffer_size; in ramoops_probe() [all …]
|
A D | zone.c | 612 ret = psz_recover_zone(cxt, cxt->ppsz); in psz_recovery() 616 ret = psz_recover_zone(cxt, cxt->cpsz); in psz_recovery() 620 ret = psz_recover_zones(cxt, cxt->fpszs, cxt->ftrace_max_cnt); in psz_recovery() 709 return psz_record_erase(cxt, cxt->ppsz); in psz_pstore_erase() 711 return psz_record_erase(cxt, cxt->cpsz); in psz_pstore_erase() 778 cxt->kmsg_write_cnt %= cxt->kmsg_max_cnt; in psz_kmsg_write_record() 911 zone = cxt->kpszs[cxt->kmsg_read_cnt++]; in psz_read_next_zone() 916 if (cxt->ftrace_read_cnt < cxt->ftrace_max_cnt) in psz_read_next_zone() 922 return cxt->fpszs[cxt->ftrace_read_cnt++]; in psz_read_next_zone() 1023 if (cxt->ftrace_read_cnt < cxt->ftrace_max_cnt) in psz_ftrace_read() [all …]
|
/linux/kernel/locking/ |
A D | locktorture.c | 747 n_stress = write ? cxt.nrealwriters_stress : cxt.nrealreaders_stress; in __torture_print_stats() 835 cxt.nrealwriters_stress, cxt.nrealreaders_stress, stat_interval, in lock_torture_print_module_parms() 854 if (!cxt.lwsa && !cxt.lrsa) in lock_torture_cleanup() 886 kfree(cxt.lwsa); in lock_torture_cleanup() 887 cxt.lwsa = NULL; in lock_torture_cleanup() 888 kfree(cxt.lrsa); in lock_torture_cleanup() 889 cxt.lrsa = NULL; in lock_torture_cleanup() 971 cxt.lwsa = kmalloc_array(cxt.nrealwriters_stress, in lock_torture_init() 997 cxt.nrealreaders_stress = cxt.nrealwriters_stress; in lock_torture_init() 1001 cxt.lrsa = kmalloc_array(cxt.nrealreaders_stress, in lock_torture_init() [all …]
|
/linux/arch/arm64/kvm/hyp/vhe/ |
A D | tlb.c | 20 struct tlb_inv_context *cxt) in __tlb_switch_to_guest() argument 24 local_irq_save(cxt->flags); in __tlb_switch_to_guest() 79 local_irq_restore(cxt->flags); in __tlb_switch_to_host() 85 struct tlb_inv_context cxt; in __kvm_tlb_flush_vmid_ipa() local 90 __tlb_switch_to_guest(mmu, &cxt); in __kvm_tlb_flush_vmid_ipa() 111 __tlb_switch_to_host(&cxt); in __kvm_tlb_flush_vmid_ipa() 116 struct tlb_inv_context cxt; in __kvm_tlb_flush_vmid() local 121 __tlb_switch_to_guest(mmu, &cxt); in __kvm_tlb_flush_vmid() 127 __tlb_switch_to_host(&cxt); in __kvm_tlb_flush_vmid() 132 struct tlb_inv_context cxt; in __kvm_flush_cpu_context() local [all …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
A D | tlb.c | 18 struct tlb_inv_context *cxt) in __tlb_switch_to_guest() argument 54 write_sysreg_el1(cxt->tcr, SYS_TCR); in __tlb_switch_to_host() 61 struct tlb_inv_context cxt; in __kvm_tlb_flush_vmid_ipa() local 66 __tlb_switch_to_guest(mmu, &cxt); in __kvm_tlb_flush_vmid_ipa() 109 __tlb_switch_to_host(&cxt); in __kvm_tlb_flush_vmid_ipa() 114 struct tlb_inv_context cxt; in __kvm_tlb_flush_vmid() local 119 __tlb_switch_to_guest(mmu, &cxt); in __kvm_tlb_flush_vmid() 125 __tlb_switch_to_host(&cxt); in __kvm_tlb_flush_vmid() 130 struct tlb_inv_context cxt; in __kvm_flush_cpu_context() local 133 __tlb_switch_to_guest(mmu, &cxt); in __kvm_flush_cpu_context() [all …]
|
/linux/drivers/scsi/qedi/ |
A D | qedi_fw_api.c | 490 struct iscsi_task_context *cxt; in init_rw_iscsi_task() local 501 cxt = task_params->context; in init_rw_iscsi_task() 618 struct iscsi_task_context *cxt; in init_initiator_login_request_task() local 620 cxt = task_params->context; in init_initiator_login_request_task() 627 &cxt->ustorm_ag_context, in init_initiator_login_request_task() 662 cxt = task_params->context; in init_initiator_nop_out_task() 682 &cxt->ustorm_ag_context, in init_initiator_nop_out_task() 708 cxt = task_params->context; in init_initiator_logout_request_task() 725 &cxt->ustorm_ag_context, in init_initiator_logout_request_task() 763 cxt = task_params->context; in init_initiator_text_request_task() [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_ll2.h | 131 int qed_ll2_acquire_connection(void *cxt, struct qed_ll2_acquire_data *data); 142 int qed_ll2_establish_connection(void *cxt, u8 connection_handle); 157 int qed_ll2_post_rx_buffer(void *cxt, 173 int qed_ll2_prepare_tx_packet(void *cxt, 188 void qed_ll2_release_connection(void *cxt, u8 connection_handle); 203 int qed_ll2_set_fragment_of_tx_packet(void *cxt, 216 int qed_ll2_terminate_connection(void *cxt, u8 connection_handle); 228 int qed_ll2_get_stats(void *cxt,
|
A D | qed_ll2.c | 98 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_tx_packet() 164 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_rx_packet() 1378 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_acquire_connection() 1564 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_establish_connection() 1777 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_post_rx_buffer() 1999 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_prepare_tx_packet() 2052 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_set_fragment_of_tx_packet() 2089 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_terminate_connection() 2172 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_release_connection() 2319 struct qed_hwfn *p_hwfn = cxt; in __qed_ll2_get_stats() [all …]
|
A D | qed_iwarp.c | 2309 qed_iwarp_ll2_comp_mpa_pkt(void *cxt, struct qed_ll2_comp_rx_data *data) in qed_iwarp_ll2_comp_mpa_pkt() argument 2313 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_comp_mpa_pkt() 2361 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_comp_syn_pkt() 2467 static void qed_iwarp_ll2_rel_rx_pkt(void *cxt, u8 connection_handle, in qed_iwarp_ll2_rel_rx_pkt() argument 2472 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_rel_rx_pkt() 2479 static void qed_iwarp_ll2_comp_tx_pkt(void *cxt, u8 connection_handle, in qed_iwarp_ll2_comp_tx_pkt() argument 2485 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_comp_tx_pkt() 2505 static void qed_iwarp_ll2_rel_tx_pkt(void *cxt, u8 connection_handle, in qed_iwarp_ll2_rel_tx_pkt() argument 2510 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_rel_tx_pkt() 2534 qed_iwarp_ll2_slowpath(void *cxt, in qed_iwarp_ll2_slowpath() argument [all …]
|
/linux/include/linux/qed/ |
A D | qed_ll2_if.h | 108 void (*qed_ll2_complete_rx_packet_cb)(void *cxt, 112 void (*qed_ll2_release_rx_packet_cb)(void *cxt, 119 void (*qed_ll2_complete_tx_packet_cb)(void *cxt, 127 void (*qed_ll2_release_tx_packet_cb)(void *cxt, 134 void (*qed_ll2_slowpath_cb)(void *cxt, u8 connection_handle,
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_sriov.c | 189 init_p->cxts[0] = q->cxt; in bnx2x_vfop_qctor_prep() 307 if (bnx2x_vfq(vf, qid, cxt)) { in bnx2x_vf_queue_destroy() 1325 struct hw_dma *cxt = &bp->vfdb->context[i]; in bnx2x_iov_free_mem() local 1326 BNX2X_PCI_FREE(cxt->addr, cxt->mapping, cxt->size); in bnx2x_iov_free_mem() 1358 if (cxt->size) { in bnx2x_iov_alloc_mem() 1359 cxt->addr = BNX2X_PCI_ALLOC(&cxt->mapping, cxt->size); in bnx2x_iov_alloc_mem() 1360 if (!cxt->addr) in bnx2x_iov_alloc_mem() 1363 cxt->addr = NULL; in bnx2x_iov_alloc_mem() 1364 cxt->mapping = 0; in bnx2x_iov_alloc_mem() 1366 tot_size -= cxt->size; in bnx2x_iov_alloc_mem() [all …]
|
A D | bnx2x_sriov.h | 73 struct eth_context *cxt; member
|
A D | bnx2x_cmn.c | 5058 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, in bnx2x_set_ctx_validation() argument 5061 if (!cxt) { in bnx2x_set_ctx_validation() 5062 BNX2X_ERR("bad context pointer %p\n", cxt); in bnx2x_set_ctx_validation() 5067 cxt->ustorm_ag_context.cdu_usage = in bnx2x_set_ctx_validation() 5071 cxt->xstorm_ag_context.cdu_reserved = in bnx2x_set_ctx_validation()
|
A D | bnx2x_cmn.h | 1270 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt,
|
/linux/drivers/infiniband/hw/qedr/ |
A D | qedr_roce_cm.c | 67 static void qedr_ll2_complete_tx_packet(void *cxt, u8 connection_handle, in qedr_ll2_complete_tx_packet() argument 73 struct qedr_dev *dev = (struct qedr_dev *)cxt; in qedr_ll2_complete_tx_packet() 96 static void qedr_ll2_complete_rx_packet(void *cxt, in qedr_ll2_complete_rx_packet() argument 99 struct qedr_dev *dev = (struct qedr_dev *)cxt; in qedr_ll2_complete_rx_packet() 125 static void qedr_ll2_release_rx_packet(void *cxt, u8 connection_handle, in qedr_ll2_release_rx_packet() argument
|
/linux/drivers/staging/media/meson/vdec/ |
A D | codec_vp9.c | 1492 int cxt; in adapt_coef_probs_cxt() local 1494 for (cxt = 0; cxt < cxt_num; cxt++) { in adapt_coef_probs_cxt()
|