/linux/drivers/mtd/ |
H A D | mtdpstore.c | 27 static int mtdpstore_block_isbad(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_block_isbad() argument 30 struct mtd_info *mtd = cxt->mtd; in mtdpstore_block_isbad() 36 if (test_bit(blknum, cxt->badmap)) in mtdpstore_block_isbad() 43 set_bit(blknum, cxt->badmap); in mtdpstore_block_isbad() 49 static inline int mtdpstore_panic_block_isbad(struct mtdpstore_context *cxt, in mtdpstore_panic_block_isbad() argument 52 struct mtd_info *mtd = cxt->mtd; in mtdpstore_panic_block_isbad() 57 return test_bit(blknum, cxt->badmap); in mtdpstore_panic_block_isbad() 60 static inline void mtdpstore_mark_used(struct mtdpstore_context *cxt, in mtdpstore_mark_used() argument 63 struct mtd_info *mtd = cxt->mtd; in mtdpstore_mark_used() 64 u64 zonenum = div_u64(off, cxt in mtdpstore_mark_used() 70 mtdpstore_mark_unused(struct mtdpstore_context * cxt,loff_t off) mtdpstore_mark_unused() argument 80 mtdpstore_block_mark_unused(struct mtdpstore_context * cxt,loff_t off) mtdpstore_block_mark_unused() argument 97 mtdpstore_is_used(struct mtdpstore_context * cxt,loff_t off) mtdpstore_is_used() argument 107 mtdpstore_block_is_used(struct mtdpstore_context * cxt,loff_t off) mtdpstore_block_is_used() argument 125 mtdpstore_is_empty(struct mtdpstore_context * cxt,char * buf,size_t size) mtdpstore_is_empty() argument 140 mtdpstore_mark_removed(struct mtdpstore_context * cxt,loff_t off) mtdpstore_mark_removed() argument 149 mtdpstore_block_clear_removed(struct mtdpstore_context * cxt,loff_t off) mtdpstore_block_clear_removed() argument 165 mtdpstore_block_is_removed(struct mtdpstore_context * cxt,loff_t off) mtdpstore_block_is_removed() argument 183 mtdpstore_erase_do(struct mtdpstore_context * cxt,loff_t off) mtdpstore_erase_do() argument 212 struct mtdpstore_context *cxt = &oops_cxt; mtdpstore_erase() local 237 mtdpstore_security(struct mtdpstore_context * cxt,loff_t off) mtdpstore_security() argument 276 struct mtdpstore_context *cxt = &oops_cxt; mtdpstore_write() local 312 struct mtdpstore_context *cxt = &oops_cxt; mtdpstore_read() local 358 struct mtdpstore_context *cxt = &oops_cxt; mtdpstore_panic_write() local 384 struct mtdpstore_context *cxt = &oops_cxt; mtdpstore_notify_add() local 447 mtdpstore_flush_removed_do(struct mtdpstore_context * cxt,loff_t off,size_t size) mtdpstore_flush_removed_do() argument 500 mtdpstore_flush_removed(struct mtdpstore_context * cxt) mtdpstore_flush_removed() argument 525 struct mtdpstore_context *cxt = &oops_cxt; mtdpstore_notify_remove() local 545 struct mtdpstore_context *cxt = &oops_cxt; mtdpstore_init() local [all...] |
/linux/fs/pstore/ |
H A D | ram.c | 113 struct ramoops_context *cxt = psi->data; in ramoops_pstore_open() local 115 cxt->dump_read_cnt = 0; in ramoops_pstore_open() 116 cxt->console_read_cnt = 0; in ramoops_pstore_open() 117 cxt->ftrace_read_cnt = 0; in ramoops_pstore_open() 118 cxt->pmsg_read_cnt = 0; in ramoops_pstore_open() 185 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read() local 200 while (cxt->dump_read_cnt < cxt->max_dump_cnt && !prz) { in ramoops_pstore_read() 201 prz = ramoops_get_next_prz(cxt->dprzs, cxt in ramoops_pstore_read() 315 struct ramoops_context *cxt = record->psi->data; ramoops_pstore_write() local 402 struct ramoops_context *cxt = record->psi->data; ramoops_pstore_write_user() local 414 struct ramoops_context *cxt = record->psi->data; ramoops_pstore_erase() local 456 ramoops_free_przs(struct ramoops_context * cxt) ramoops_free_przs() argument 487 ramoops_init_przs(const char * name,struct device * dev,struct ramoops_context * cxt,struct persistent_ram_zone *** przs,phys_addr_t * paddr,size_t mem_sz,ssize_t record_size,unsigned int * cnt,u32 sig,u32 flags) ramoops_init_przs() argument 585 ramoops_init_prz(const char * name,struct device * dev,struct ramoops_context * cxt,struct persistent_ram_zone ** prz,phys_addr_t * paddr,size_t sz,u32 sig) ramoops_init_prz() argument 728 struct ramoops_context *cxt = &oops_cxt; ramoops_probe() local 886 struct ramoops_context *cxt = &oops_cxt; ramoops_remove() local [all...] |
H A D | zone.c | 317 struct psz_context *cxt = &pstore_zone_cxt; in psz_flush_all_dirty_zones() local 320 if (cxt->ppsz) in psz_flush_all_dirty_zones() 321 ret |= psz_flush_dirty_zone(cxt->ppsz); in psz_flush_all_dirty_zones() 322 if (cxt->cpsz) in psz_flush_all_dirty_zones() 323 ret |= psz_flush_dirty_zone(cxt->cpsz); in psz_flush_all_dirty_zones() 324 if (cxt->kpszs) in psz_flush_all_dirty_zones() 325 ret |= psz_flush_dirty_zones(cxt->kpszs, cxt->kmsg_max_cnt); in psz_flush_all_dirty_zones() 326 if (cxt->fpszs) in psz_flush_all_dirty_zones() 327 ret |= psz_flush_dirty_zones(cxt in psz_flush_all_dirty_zones() 332 psz_kmsg_recover_data(struct psz_context * cxt) psz_kmsg_recover_data() argument 371 psz_kmsg_recover_meta(struct psz_context * cxt) psz_kmsg_recover_meta() argument 460 psz_kmsg_recover(struct psz_context * cxt) psz_kmsg_recover() argument 481 psz_recover_zone(struct psz_context * cxt,struct pstore_zone * zone) psz_recover_zone() argument 568 psz_recover_zones(struct psz_context * cxt,struct pstore_zone ** zones,unsigned int cnt) psz_recover_zones() argument 601 psz_recovery(struct psz_context * cxt) psz_recovery() argument 634 struct psz_context *cxt = psi->data; psz_pstore_open() local 657 psz_kmsg_erase(struct psz_context * cxt,struct pstore_zone * zone,struct pstore_record * record) psz_kmsg_erase() argument 680 psz_record_erase(struct psz_context * cxt,struct pstore_zone * zone) psz_record_erase() argument 701 struct psz_context *cxt = record->psi->data; psz_pstore_erase() local 723 struct psz_context *cxt = record->psi->data; psz_write_kmsg_hdr() local 745 psz_kmsg_write_record(struct psz_context * cxt,struct pstore_record * record) psz_kmsg_write_record() argument 795 psz_kmsg_write(struct psz_context * cxt,struct pstore_record * record) psz_kmsg_write() argument 874 struct psz_context *cxt = record->psi->data; psz_pstore_write() local 906 psz_read_next_zone(struct psz_context * cxt) psz_read_next_zone() argument 1004 struct psz_context *cxt; psz_ftrace_read() local 1060 struct psz_context *cxt = record->psi->data; psz_pstore_read() local 1140 psz_free_all_zones(struct psz_context * cxt) psz_free_all_zones() argument 1240 psz_alloc_zones(struct psz_context * cxt) psz_alloc_zones() argument 1302 struct psz_context *cxt = &pstore_zone_cxt; register_pstore_zone() local 1438 struct psz_context *cxt = &pstore_zone_cxt; unregister_pstore_zone() local [all...] |
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | tlb.c | 20 struct tlb_inv_context *cxt, in enter_vmid_context() argument 29 cxt->mmu = NULL; in enter_vmid_context() 65 cxt->mmu = vcpu->arch.hw_mmu; in enter_vmid_context() 71 cxt->mmu = host_s2_mmu; in enter_vmid_context() 86 val = cxt->tcr = read_sysreg_el1(SYS_TCR); in enter_vmid_context() 92 val = cxt->sctlr = read_sysreg_el1(SYS_SCTLR); in enter_vmid_context() 100 cxt->sctlr = SCTLR_ELx_M; in enter_vmid_context() 118 static void exit_vmid_context(struct tlb_inv_context *cxt) in exit_vmid_context() argument 120 struct kvm_s2_mmu *mmu = cxt->mmu; in exit_vmid_context() 139 if (!(cxt in exit_vmid_context() 151 struct tlb_inv_context cxt; __kvm_tlb_flush_vmid_ipa() local 181 struct tlb_inv_context cxt; __kvm_tlb_flush_vmid_ipa_nsh() local 211 struct tlb_inv_context cxt; __kvm_tlb_flush_vmid_range() local 237 struct tlb_inv_context cxt; __kvm_tlb_flush_vmid() local 251 struct tlb_inv_context cxt; __kvm_flush_cpu_context() local [all...] |
/linux/kernel/locking/ |
H A D | locktorture.c | 163 static struct lock_torture_cxt cxt = { 0, 0, false, false, variable 178 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold))) in torture_lock_busted_write_delay() 180 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay() 200 (cxt.nrealwriters_stress * factor))) { in __torture_rt_boost() 214 (cxt.nrealwriters_stress * factor * 2))) { in __torture_rt_boost() 257 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold))) { in torture_spin_lock_write_delay() 262 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 200 * shortdelay_us))) in torture_spin_lock_write_delay() 264 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_spin_lock_write_delay() 291 cxt.cur_ops->flags = flags; in torture_spin_lock_write_lock_irq() 298 spin_unlock_irqrestore(&torture_spinlock, cxt in torture_lock_spin_write_unlock_irq() [all...] |
/linux/drivers/scsi/qedi/ |
H 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() 505 set_local_completion_context(cxt); in init_rw_iscsi_task() 509 cxt->ystorm_st_context.pdu_hdr.r2t.desired_data_trns_len = val; in init_rw_iscsi_task() 510 cxt->mstorm_st_context.expected_itt = in init_rw_iscsi_task() 514 cxt->ystorm_st_context.pdu_hdr.cmd.expected_transfer_length = in init_rw_iscsi_task() 516 init_initiator_rw_cdb_ystorm_context(&cxt->ystorm_st_context, in init_rw_iscsi_task() 519 cxt->mstorm_st_context.sense_db.lo = val; in init_rw_iscsi_task() 522 cxt->mstorm_st_context.sense_db.hi = val; in init_rw_iscsi_task() 526 init_dif_context_flags(&cxt in init_rw_iscsi_task() 618 struct iscsi_task_context *cxt; init_initiator_login_request_task() local 660 struct iscsi_task_context *cxt; init_initiator_nop_out_task() local 706 struct iscsi_task_context *cxt; init_initiator_logout_request_task() local 761 struct iscsi_task_context *cxt; init_initiator_text_request_task() local [all...] |
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_ll2.h | 126 * @cxt: Pointer to the hw-function [opaque to some]. 131 int qed_ll2_acquire_connection(void *cxt, struct qed_ll2_acquire_data *data); 136 * @cxt: Pointer to the hw-function [opaque to some]. 142 int qed_ll2_establish_connection(void *cxt, u8 connection_handle); 147 * @cxt: Pointer to the hw-function [opaque to some]. 157 int qed_ll2_post_rx_buffer(void *cxt, 166 * @cxt: Pointer to the hw-function [opaque to some]. 173 int qed_ll2_prepare_tx_packet(void *cxt, 182 * @cxt: Pointer to the hw-function [opaque to some]. 188 void qed_ll2_release_connection(void *cxt, u [all...] |
H A D | qed_ll2.c | 91 static void qed_ll2b_complete_tx_packet(void *cxt, in qed_ll2b_complete_tx_packet() argument 98 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_tx_packet() 164 static void qed_ll2b_complete_rx_packet(void *cxt, in qed_ll2b_complete_rx_packet() argument 167 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_rx_packet() 1378 int qed_ll2_acquire_connection(void *cxt, struct qed_ll2_acquire_data *data) in qed_ll2_acquire_connection() argument 1380 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_acquire_connection() 1561 int qed_ll2_establish_connection(void *cxt, u8 connection_handle) in qed_ll2_establish_connection() argument 1566 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_establish_connection() 1774 int qed_ll2_post_rx_buffer(void *cxt, in qed_ll2_post_rx_buffer() argument 1779 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_post_rx_buffer() 1996 qed_ll2_prepare_tx_packet(void * cxt,u8 connection_handle,struct qed_ll2_tx_pkt_info * pkt,bool notify_fw) qed_ll2_prepare_tx_packet() argument 2049 qed_ll2_set_fragment_of_tx_packet(void * cxt,u8 connection_handle,dma_addr_t addr,u16 nbytes) qed_ll2_set_fragment_of_tx_packet() argument 2089 qed_ll2_terminate_connection(void * cxt,u8 connection_handle) qed_ll2_terminate_connection() argument 2172 qed_ll2_release_connection(void * cxt,u8 connection_handle) qed_ll2_release_connection() argument 2318 __qed_ll2_get_stats(void * cxt,u8 connection_handle,struct qed_ll2_stats * p_stats) __qed_ll2_get_stats() argument 2352 qed_ll2_get_stats(void * cxt,u8 connection_handle,struct qed_ll2_stats * p_stats) qed_ll2_get_stats() argument 2359 qed_ll2b_release_rx_packet(void * cxt,u8 connection_handle,void * cookie,dma_addr_t rx_buf_addr,bool b_last_packet) qed_ll2b_release_rx_packet() argument [all...] |
H 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() 2355 qed_iwarp_ll2_comp_syn_pkt(void *cxt, struct qed_ll2_comp_rx_data *data) in qed_iwarp_ll2_comp_syn_pkt() argument 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,u8 connection_handle,u32 opaque_data_0,u32 opaque_data_1) qed_iwarp_ll2_slowpath() argument [all...] |
/linux/include/linux/qed/ |
H 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/tools/perf/util/bpf_skel/ |
H A D | kwork_top.bpf.c | 197 int on_irq_handler_entry(u64 *cxt) in on_irq_handler_entry() argument 231 int on_irq_handler_exit(u64 *cxt) in on_irq_handler_exit() argument 269 int on_softirq_entry(u64 *cxt) in on_softirq_entry() argument 303 int on_softirq_exit(u64 *cxt) in on_softirq_exit() argument
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H 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() 308 bnx2x_vfq(vf, qid, cxt)->ustorm_ag_context.cdu_usage = 0; in bnx2x_vf_queue_destroy() 309 bnx2x_vfq(vf, qid, cxt)->xstorm_ag_context.cdu_reserved = 0; in bnx2x_vf_queue_destroy() 1338 struct hw_dma *cxt = &bp->vfdb->context[i]; in bnx2x_iov_free_mem() local 1339 BNX2X_PCI_FREE(cxt->addr, cxt->mapping, cxt->size); in bnx2x_iov_free_mem() 1368 struct hw_dma *cxt = BP_VF_CXT_PAGE(bp, i); in bnx2x_iov_alloc_mem() local 1369 cxt in bnx2x_iov_alloc_mem() [all...] |
H A D | bnx2x_sriov.h | 73 struct eth_context *cxt; member
|
H A D | bnx2x_cmn.c | 5072 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, in bnx2x_set_ctx_validation() argument 5075 if (!cxt) { in bnx2x_set_ctx_validation() 5076 BNX2X_ERR("bad context pointer %p\n", cxt); in bnx2x_set_ctx_validation() 5080 /* ustorm cxt validation */ in bnx2x_set_ctx_validation() 5081 cxt->ustorm_ag_context.cdu_usage = in bnx2x_set_ctx_validation() 5085 cxt->xstorm_ag_context.cdu_reserved = in bnx2x_set_ctx_validation()
|
H A D | bnx2x_cmn.h | 1267 * @cxt: context of the connection on the host memory 1270 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt,
|
/linux/drivers/infiniband/hw/qedr/ |
H 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/ |
H 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()
|