Home
last modified time | relevance | path

Searched refs:context (Results 101 – 125 of 2965) sorted by relevance

12345678910>>...119

/openbmc/linux/arch/m68k/sun3/
H A Dmmu_emu.c212 if(context) { in clear_context()
213 if(!ctx_alloc[context]) in clear_context()
216 ctx_alloc[context]->context = SUN3_INVALID_CONTEXT; in clear_context()
223 sun3_put_context(context); in clear_context()
296 curr_pmeg, context, vaddr); in mmu_emu_map_pmeg()
303 sun3_put_context(context); in mmu_emu_map_pmeg()
316 sun3_put_context(context); in mmu_emu_map_pmeg()
323 pmeg_ctx[curr_pmeg] = context; in mmu_emu_map_pmeg()
356 unsigned char context; in mmu_emu_handle_fault() local
362 context = 0; in mmu_emu_handle_fault()
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dchip.c1755 void *context, int vl, in access_misc_efuse_csr_parity_err_cnt() argument
2185 void *context, int vl, in access_cce_csr_read_bad_addr_err_cnt() argument
2216 void *context, int vl, in access_rx_csr_write_bad_addr_err_cnt() argument
2648 void *context, int vl, in access_rx_rbuf_free_list_cor_err_cnt() argument
2657 void *context, int vl, in access_rx_rbuf_free_list_unc_err_cnt() argument
2877 void *context, int vl, in access_pio_vlf_v1_len_parity_err_cnt() argument
2913 void *context, int vl, in access_pio_write_data_parity_err_cnt() argument
2922 void *context, int vl, in access_pio_host_addr_mem_cor_err_cnt() argument
2931 void *context, int vl, in access_pio_host_addr_mem_unc_err_cnt() argument
3093 void *context, int vl, in access_pio_write_addr_parity_err_cnt() argument
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.h50 struct dc_state *context,
59 bool dcn30_validate_bandwidth(struct dc *dc, struct dc_state *context,
63 struct dc_state *context,
70 struct dc *dc, struct dc_state *context,
74 void dcn30_update_soc_for_wm_a(struct dc *dc, struct dc_state *context);
79 struct dc *dc, struct dc_state *context,
103 …n30_can_support_mclk_switch_using_fw_based_vblank_stretch(struct dc *dc, struct dc_state *context);
104 void dcn30_setup_mclk_switch_using_fw_based_vblank_stretch(struct dc *dc, struct dc_state *context);
105 int dcn30_find_dummy_latency_index_for_fw_based_mclk_switch(struct dc *dc, struct dc_state *context,
/openbmc/linux/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.xs32 common_pc(context)
33 struct scripting_context * context
36 common_flags(context)
37 struct scripting_context * context
40 common_lock_depth(context)
41 struct scripting_context * context
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Ddoorbell.c48 int mlx5_ib_db_map_user(struct mlx5_ib_ucontext *context, unsigned long virt, in mlx5_ib_db_map_user() argument
54 mutex_lock(&context->db_page_mutex); in mlx5_ib_db_map_user()
56 list_for_each_entry(page, &context->db_page_list, list) in mlx5_ib_db_map_user()
69 page->umem = ib_umem_get(context->ibucontext.device, virt & PAGE_MASK, in mlx5_ib_db_map_user()
79 list_add(&page->list, &context->db_page_list); in mlx5_ib_db_map_user()
88 mutex_unlock(&context->db_page_mutex); in mlx5_ib_db_map_user()
93 void mlx5_ib_db_unmap_user(struct mlx5_ib_ucontext *context, struct mlx5_db *db) in mlx5_ib_db_unmap_user() argument
95 mutex_lock(&context->db_page_mutex); in mlx5_ib_db_unmap_user()
104 mutex_unlock(&context->db_page_mutex); in mlx5_ib_db_unmap_user()
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_restrack.c47 struct hns_roce_v2_cq_context context; in hns_roce_fill_res_cq_entry_raw() local
53 ret = hr_dev->hw->query_cqc(hr_dev, hr_cq->cqn, &context); in hns_roce_fill_res_cq_entry_raw()
57 ret = nla_put(msg, RDMA_NLDEV_ATTR_RES_RAW, sizeof(context), &context); in hns_roce_fill_res_cq_entry_raw()
100 struct hns_roce_v2_qp_context context; in hns_roce_fill_res_qp_entry_raw() local
106 ret = hr_dev->hw->query_qpc(hr_dev, hr_qp->qpn, &context); in hns_roce_fill_res_qp_entry_raw()
110 ret = nla_put(msg, RDMA_NLDEV_ATTR_RES_RAW, sizeof(context), &context); in hns_roce_fill_res_qp_entry_raw()
149 struct hns_roce_v2_mpt_entry context; in hns_roce_fill_res_mr_entry_raw() local
155 ret = hr_dev->hw->query_mpt(hr_dev, hr_mr->key, &context); in hns_roce_fill_res_mr_entry_raw()
159 ret = nla_put(msg, RDMA_NLDEV_ATTR_RES_RAW, sizeof(context), &context); in hns_roce_fill_res_mr_entry_raw()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c315 mthca_cleanup_user_db_tab(to_mdev(ibdev), &context->uar, context->db_tab); in mthca_alloc_ucontext()
329 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext()
478 context->db_tab, in mthca_create_qp()
485 context->db_tab, in mthca_create_qp()
507 mthca_unmap_user_db(dev, &context->uar, context->db_tab, in mthca_create_qp()
509 mthca_unmap_user_db(dev, &context->uar, context->db_tab, in mthca_create_qp()
562 &context->uar, in mthca_destroy_qp()
563 context->db_tab, in mthca_destroy_qp()
566 &context->uar, in mthca_destroy_qp()
782 &context->uar, in mthca_destroy_cq()
[all …]
/openbmc/linux/security/selinux/ss/
H A Dsidtab.c59 static u32 context_to_sid(struct sidtab *s, struct context *context, u32 hash) in context_to_sid() argument
68 if (context_cmp(&entry->context, context)) { in context_to_sid()
77 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context) in sidtab_set_initial() argument
88 rc = context_cpy(&isid->entry.context, context); in sidtab_set_initial()
265 int sidtab_context_to_sid(struct sidtab *s, struct context *context, in sidtab_context_to_sid() argument
311 rc = context_cpy(&dst->context, context); in sidtab_context_to_sid()
331 context, &dst_convert->context, in sidtab_context_to_sid()
345 if (context->len) in sidtab_context_to_sid()
347 context->str); in sidtab_context_to_sid()
565 if (entry->context.len) in sidtab_sid2str_put()
[all …]
H A Dsidtab.h23 struct context context; member
106 int sidtab_set_initial(struct sidtab *s, u32 sid, struct context *context);
110 static inline struct context *sidtab_search(struct sidtab *s, u32 sid) in sidtab_search()
114 return entry ? &entry->context : NULL; in sidtab_search()
117 static inline struct context *sidtab_search_force(struct sidtab *s, u32 sid) in sidtab_search_force()
121 return entry ? &entry->context : NULL; in sidtab_search_force()
131 int sidtab_context_to_sid(struct sidtab *s, struct context *context, u32 *sid);
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dencx24j600-regmap.c46 static void regmap_lock_mutex(void *context) in regmap_lock_mutex() argument
48 struct encx24j600_context *ctx = context; in regmap_lock_mutex()
53 static void regmap_unlock_mutex(void *context) in regmap_unlock_mutex() argument
55 struct encx24j600_context *ctx = context; in regmap_unlock_mutex()
63 struct encx24j600_context *ctx = context; in regmap_encx24j600_sfr_read()
171 struct encx24j600_context *ctx = context; in regmap_encx24j600_sfr_write()
192 struct encx24j600_context *ctx = context; in regmap_encx24j600_reg_update_bits()
223 struct encx24j600_context *ctx = context; in regmap_encx24j600_spi_write()
235 struct encx24j600_context *ctx = context; in regmap_encx24j600_spi_read()
348 struct encx24j600_context *ctx = context; in regmap_encx24j600_phy_reg_read()
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dldt.c47 ldt = READ_ONCE(mm->context.ldt); in load_mm_ldt()
193 if (mm->context.ldt) { in do_sanity_check()
423 mutex_lock(&mm->context.lock); in install_ldt()
431 mutex_unlock(&mm->context.lock); in install_ldt()
459 mutex_lock(&old_mm->context.lock); in ldt_dup_context()
460 if (!old_mm->context.ldt) in ldt_dup_context()
479 mm->context.ldt = new_ldt; in ldt_dup_context()
493 free_ldt_struct(mm->context.ldt); in destroy_context_ldt()
494 mm->context.ldt = NULL; in destroy_context_ldt()
510 if (!mm->context.ldt) { in read_ldt()
[all …]
/openbmc/linux/drivers/staging/vt6656/
H A Dusbpipe.c152 if (!context->skb) in vnt_int_report_rate()
171 context->in_use = false; in vnt_int_report_rate()
426 struct vnt_usb_send_context *context = urb->context; in vnt_tx_context_complete() local
437 context->in_use = false; in vnt_tx_context_complete()
449 if (context->skb) in vnt_tx_context_complete()
452 context->in_use = false; in vnt_tx_context_complete()
471 context->in_use = false; in vnt_tx_context()
476 context->in_use = false; in vnt_tx_context()
482 context->in_use = false; in vnt_tx_context()
492 context); in vnt_tx_context()
[all …]
/openbmc/phosphor-mboxd/
H A Dmboxd_flash.h16 int init_flash_dev(struct mbox_context *context);
17 void free_flash_dev(struct mbox_context *context);
18 int64_t copy_flash(struct mbox_context *context, uint32_t offset, void *mem,
20 int set_flash_bytemap(struct mbox_context *context, uint32_t offset,
22 int erase_flash(struct mbox_context *context, uint32_t offset, uint32_t count);
23 int write_flash(struct mbox_context *context, uint32_t offset, void *buf,
/openbmc/phosphor-mboxd/test/
H A Dmbox.h18 int mbox_set_mtd_data(struct mbox_context *context, const void *data,
21 void mbox_dump(struct mbox_context *context);
23 void mbox_rspcpy(struct mbox_context *context, struct mbox_msg *msg);
25 int mbox_cmp(struct mbox_context *context, const uint8_t *expected, size_t len);
27 int mbox_command_write(struct mbox_context *context, const uint8_t *command,
30 int mbox_command_dispatch(struct mbox_context *context, const uint8_t *command,
/openbmc/linux/arch/s390/include/asm/
H A Dmmu.h46 .context.lock = __SPIN_LOCK_UNLOCKED(name.context.lock), \
47 .context.pgtable_list = LIST_HEAD_INIT(name.context.pgtable_list), \
48 .context.gmap_list = LIST_HEAD_INIT(name.context.gmap_list),
/openbmc/linux/drivers/acpi/
H A Dbus.c128 void *context) in acpi_bus_private_data_handler() argument
196 if (!context) in acpi_run_osc()
201 context->ret.pointer = NULL; in acpi_run_osc()
258 if (!context->ret.pointer) { in acpi_run_osc()
305 struct acpi_osc_context context = { in acpi_bus_osc_negotiate_platform_control() local
355 capbuf_ret = context.ret.pointer; in acpi_bus_osc_negotiate_platform_control()
357 kfree(context.ret.pointer); in acpi_bus_osc_negotiate_platform_control()
367 kfree(context.ret.pointer); in acpi_bus_osc_negotiate_platform_control()
372 capbuf_ret = context.ret.pointer; in acpi_bus_osc_negotiate_platform_control()
388 kfree(context.ret.pointer); in acpi_bus_osc_negotiate_platform_control()
[all …]
/openbmc/hiomapd/test/
H A Dmbox.h19 int mbox_set_mtd_data(struct mbox_context *context, const void *data,
22 void mbox_dump(struct mbox_context *context);
24 void mbox_rspcpy(struct mbox_context *context, struct mbox_msg *msg);
26 int mbox_cmp(struct mbox_context *context, const uint8_t *expected, size_t len);
28 int mbox_command_write(struct mbox_context *context, const uint8_t *command,
31 int mbox_command_dispatch(struct mbox_context *context, const uint8_t *command,
/openbmc/linux/arch/xtensa/include/asm/
H A Dmmu_context.h82 mm->context.asid[cpu] = asid; in get_new_mmu_context()
83 mm->context.cpu = cpu; in get_new_mmu_context()
93 unsigned long asid = mm->context.asid[cpu]; in get_mmu_context()
104 set_rasid_register(ASID_INSERT(mm->context.asid[cpu])); in activate_context()
120 mm->context.asid[cpu] = NO_CONTEXT; in init_new_context()
122 mm->context.cpu = -1; in init_new_context()
130 int migrated = next->context.cpu != cpu; in switch_mm()
134 next->context.cpu = cpu; in switch_mm()
/openbmc/qemu/tests/qtest/
H A Dtulip-test.c53 struct tulip_descriptor context; in tulip_large_tx() local
60 context_pa = guest_alloc(alloc, sizeof(context)); in tulip_large_tx()
63 context.status = TDES0_OWN; in tulip_large_tx()
64 context.control = TDES1_BUF2_SIZE_MASK << TDES1_BUF2_SIZE_SHIFT | in tulip_large_tx()
66 context.buf_addr2 = guest_pa; in tulip_large_tx()
67 context.buf_addr1 = guest_pa; in tulip_large_tx()
69 qtest_memwrite(dev->bus->qts, context_pa, &context, sizeof(context)); in tulip_large_tx()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.c1070 context->resp_status = cmd->resp.status; in psp_ta_unload()
1125 struct ta_context *context) in psp_prep_ta_load_cmd_buf() argument
1127 cmd->cmd_id = context->ta_load_type; in psp_prep_ta_load_cmd_buf()
1165 struct ta_context *context) in psp_ta_invoke() argument
1175 context->resp_status = cmd->resp.status; in psp_ta_invoke()
1190 context->bin_desc.size_bytes); in psp_ta_load()
1197 context->resp_status = cmd->resp.status; in psp_ta_load()
1557 if (!psp->ras_context.context.initialized) in psp_ras_enable_features()
1587 if (!psp->ras_context.context.initialized) in psp_ras_terminate()
1699 if (!psp->ras_context.context.initialized) in psp_ras_trigger_error()
[all …]
/openbmc/qemu/block/
H A Dnfs.c57 struct nfs_context *context; member
195 int ev = nfs_which_events(client->context); in nfs_set_events()
211 nfs_service(client->context, POLLIN); in nfs_process_read()
221 nfs_service(client->context, POLLOUT); in nfs_process_write()
390 if (client->context) { in nfs_client_close()
400 nfs_umount(client->context); in nfs_client_close()
402 nfs_destroy_context(client->context); in nfs_client_close()
403 client->context = NULL; in nfs_client_close()
445 client->context = nfs_init_context(); in nfs_client_open()
446 if (client->context == NULL) { in nfs_client_open()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dhw_sequencer.h191 struct dc_state *context);
193 struct dc_state *context);
200 struct dc_state *context);
202 struct dc_state *context);
204 struct dc_state *context);
306 struct dc_state *context);
309 struct dc_state *context);
401 struct dc_state *context,
411 struct dc_state *context,
437 struct dc_state *context,
[all …]
/openbmc/linux/arch/hexagon/mm/
H A Dvm_tlb.c30 if (mm->context.ptbase == current->active_mm->context.ptbase) in flush_tlb_range()
59 if (current->active_mm->context.ptbase == mm->context.ptbase) in flush_tlb_mm()
70 if (mm->context.ptbase == current->active_mm->context.ptbase) in flush_tlb_page()
/openbmc/phosphor-mboxd/vpnor/
H A Dmboxd_lpc_reset.cpp30 int reset_lpc(struct mbox_context *context) in reset_lpc() argument
34 destroy_vpnor(context); in reset_lpc()
36 rc = init_vpnor(context); in reset_lpc()
40 rc = vpnor_copy_bootloader_partition(context); in reset_lpc()
44 return point_to_memory(context); in reset_lpc()
/openbmc/linux/lib/
H A Dbitfield_kunit.c16 KUNIT_ASSERT_FALSE_MSG(context, _res != res, \
19 KUNIT_ASSERT_FALSE(context, \
29 KUNIT_ASSERT_FALSE_MSG(context, \
34 KUNIT_ASSERT_FALSE(context, \
44 KUNIT_ASSERT_FALSE_MSG(context, \
49 KUNIT_ASSERT_FALSE(context, \
60 static void __init test_bitfields_constants(struct kunit *context) in test_bitfields_constants() argument
99 KUNIT_ASSERT_FALSE(context, \
103 static void __init test_bitfields_variables(struct kunit *context) in test_bitfields_variables() argument
129 static void __init test_bitfields_compile(struct kunit *context) in test_bitfields_compile() argument

12345678910>>...119