Searched refs:context (Results 1 - 25 of 2081) sorted by relevance

1234567891011>>

/linux-master/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
/linux-master/tools/tracing/rtla/src/
H A Dosnoise.c24 char *osnoise_get_cpus(struct osnoise_context *context) argument
26 if (context->curr_cpus)
27 return context->curr_cpus;
29 if (context->orig_cpus)
30 return context->orig_cpus;
32 context->orig_cpus = tracefs_instance_file_read(NULL, "osnoise/cpus", NULL);
38 return context->orig_cpus;
48 int osnoise_set_cpus(struct osnoise_context *context, char *cpus) argument
50 char *orig_cpus = osnoise_get_cpus(context);
57 context
82 osnoise_restore_cpus(struct osnoise_context *context) argument
110 osnoise_put_cpus(struct osnoise_context *context) argument
168 osnoise_get_runtime(struct osnoise_context *context) argument
194 osnoise_get_period(struct osnoise_context *context) argument
215 __osnoise_write_runtime(struct osnoise_context *context, unsigned long long runtime) argument
231 __osnoise_write_period(struct osnoise_context *context, unsigned long long period) argument
254 osnoise_set_runtime_period(struct osnoise_context *context, unsigned long long runtime, unsigned long long period) argument
304 osnoise_restore_runtime_period(struct osnoise_context *context) argument
330 osnoise_put_runtime_period(struct osnoise_context *context) argument
345 osnoise_get_timerlat_period_us(struct osnoise_context *context) argument
369 osnoise_set_timerlat_period_us(struct osnoise_context *context, long long timerlat_period_us) argument
389 osnoise_restore_timerlat_period_us(struct osnoise_context *context) argument
410 osnoise_put_timerlat_period_us(struct osnoise_context *context) argument
424 osnoise_get_stop_us(struct osnoise_context *context) argument
448 osnoise_set_stop_us(struct osnoise_context *context, long long stop_us) argument
468 osnoise_restore_stop_us(struct osnoise_context *context) argument
489 osnoise_put_stop_us(struct osnoise_context *context) argument
503 osnoise_get_stop_total_us(struct osnoise_context *context) argument
527 osnoise_set_stop_total_us(struct osnoise_context *context, long long stop_total_us) argument
547 osnoise_restore_stop_total_us(struct osnoise_context *context) argument
569 osnoise_put_stop_total_us(struct osnoise_context *context) argument
583 osnoise_get_print_stack(struct osnoise_context *context) argument
607 osnoise_set_print_stack(struct osnoise_context *context, long long print_stack) argument
627 osnoise_restore_print_stack(struct osnoise_context *context) argument
648 osnoise_put_print_stack(struct osnoise_context *context) argument
662 osnoise_get_tracing_thresh(struct osnoise_context *context) argument
686 osnoise_set_tracing_thresh(struct osnoise_context *context, long long tracing_thresh) argument
706 osnoise_restore_tracing_thresh(struct osnoise_context *context) argument
727 osnoise_put_tracing_thresh(struct osnoise_context *context) argument
783 osnoise_get_irq_disable(struct osnoise_context *context) argument
796 osnoise_set_irq_disable(struct osnoise_context *context, bool onoff) argument
816 osnoise_restore_irq_disable(struct osnoise_context *context) argument
834 osnoise_put_irq_disable(struct osnoise_context *context) argument
844 osnoise_get_workload(struct osnoise_context *context) argument
857 osnoise_set_workload(struct osnoise_context *context, bool onoff) argument
877 osnoise_restore_workload(struct osnoise_context *context) argument
895 osnoise_put_workload(struct osnoise_context *context) argument
929 osnoise_get_context(struct osnoise_context *context) argument
951 struct osnoise_context *context; local
986 osnoise_put_context(struct osnoise_context *context) argument
[all...]
H A Dosnoise.h59 int osnoise_get_context(struct osnoise_context *context);
60 void osnoise_put_context(struct osnoise_context *context);
62 int osnoise_set_cpus(struct osnoise_context *context, char *cpus);
63 void osnoise_restore_cpus(struct osnoise_context *context);
65 int osnoise_set_runtime_period(struct osnoise_context *context,
68 void osnoise_restore_runtime_period(struct osnoise_context *context);
70 int osnoise_set_stop_us(struct osnoise_context *context,
72 void osnoise_restore_stop_us(struct osnoise_context *context);
74 int osnoise_set_stop_total_us(struct osnoise_context *context,
76 void osnoise_restore_stop_total_us(struct osnoise_context *context);
98 struct osnoise_context *context; member in struct:osnoise_tool
[all...]
/linux-master/security/selinux/ss/
H A Dmls.h23 #include "context.h"
27 int mls_compute_context_len(struct policydb *p, struct context *context);
28 void mls_sid_to_context(struct policydb *p, struct context *context,
30 int mls_context_isvalid(struct policydb *p, struct context *c);
35 struct context *context, struct sidtab *s, u32 def_sid);
37 int mls_from_string(struct policydb *p, char *str, struct context *context,
62 mls_export_netlbl_lvl(struct policydb *p, struct context *context, struct netlbl_lsm_secattr *secattr) argument
68 mls_import_netlbl_lvl(struct policydb *p, struct context *context, struct netlbl_lsm_secattr *secattr) argument
74 mls_export_netlbl_cat(struct policydb *p, struct context *context, struct netlbl_lsm_secattr *secattr) argument
80 mls_import_netlbl_cat(struct policydb *p, struct context *context, struct netlbl_lsm_secattr *secattr) argument
[all...]
/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_route.c18 * devices. Will set the source context if it is invalid.
41 /* Must have a valid destination context. */
42 if (VMCI_INVALID_ID == dst->context)
46 if (VMCI_HYPERVISOR_CONTEXT_ID == dst->context) {
63 /* And we cannot send if the source is the host context. */
64 if (VMCI_HOST_CONTEXT_ID == src->context)
69 * respect it (both context and resource are invalid).
70 * However, if they passed only an invalid context,
72 * should set the real context here before passing it
75 if (VMCI_INVALID_ID == src->context
[all...]
H A Dvmci_context.c30 * These, along with context lookup, are protected by the
35 spinlock_t lock; /* Spinlock for context list operations */
44 static void ctx_signal_notify(struct vmci_ctx *context) argument
46 *context->notify = true;
49 static void ctx_clear_notify(struct vmci_ctx *context) argument
51 *context->notify = false;
58 static void ctx_clear_notify_call(struct vmci_ctx *context) argument
60 if (context->pending_datagrams == 0 &&
61 vmci_handle_arr_get_size(context->pending_doorbell_array) == 0)
62 ctx_clear_notify(context);
69 vmci_ctx_check_signal_notify(struct vmci_ctx *context) argument
85 struct vmci_ctx *context; local
188 vmci_ctx_destroy(struct vmci_ctx *context) argument
278 struct vmci_ctx *context; local
299 struct vmci_ctx *context; local
372 struct vmci_ctx *context; local
393 struct vmci_ctx *c, *context = NULL; local
426 struct vmci_ctx *context = container_of(kref, struct vmci_ctx, kref); local
495 vmci_ctx_put(struct vmci_ctx *context) argument
508 vmci_ctx_dequeue_datagram(struct vmci_ctx *context, size_t *max_size, struct vmci_datagram **dg) argument
576 vmci_ctx_unset_notify(struct vmci_ctx *context) argument
600 struct vmci_ctx *context; local
667 struct vmci_ctx *context; local
697 vmci_ctx_get_chkpt_notifiers(struct vmci_ctx *context, u32 *buf_size, void **pbuf) argument
729 vmci_ctx_get_chkpt_doorbells(struct vmci_ctx *context, u32 *buf_size, void **pbuf) argument
769 struct vmci_ctx *context; local
861 struct vmci_ctx *context; local
897 struct vmci_ctx *context = vmci_ctx_get(context_id); local
943 struct vmci_ctx *context; local
972 struct vmci_ctx *context; local
1000 struct vmci_ctx *context; local
1114 vmci_ctx_supports_host_qp(struct vmci_ctx *context) argument
1123 vmci_ctx_qp_create(struct vmci_ctx *context, struct vmci_handle handle) argument
1143 vmci_ctx_qp_destroy(struct vmci_ctx *context, struct vmci_handle handle) argument
1160 vmci_ctx_qp_exists(struct vmci_ctx *context, struct vmci_handle handle) argument
1178 struct vmci_ctx *context; local
1204 struct vmci_ctx *context = vmci_ctx_get(context_id); local
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_config.c12 i915_fence_context_timeout(const struct drm_i915_private *i915, u64 context) argument
14 if (CONFIG_DRM_I915_FENCE_TIMEOUT && context)
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_migrate_types.h12 struct intel_context *context; member in struct:intel_migrate
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_resources.c42 int user_prio, struct mlx4_qp_context *context)
47 memset(context, 0, sizeof(*context));
48 context->flags = cpu_to_be32(7 << 16 | rss << MLX4_RSS_QPC_FLAG_OFFSET);
49 context->pd = cpu_to_be32(mdev->priv_pdn);
50 context->mtu_msgmax = 0xff;
52 context->rq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4);
54 context->sq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4);
56 context->params2 |= cpu_to_be32(MLX4_QP_BIT_FPP);
59 context
40 mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, int is_tx, int rss, int qpn, int cqn, int user_prio, struct mlx4_qp_context *context) argument
[all...]
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_iommu.c28 to_v1_context(struct etnaviv_iommu_context *context) argument
30 return container_of(context, struct etnaviv_iommuv1_context, base);
33 static void etnaviv_iommuv1_free(struct etnaviv_iommu_context *context) argument
35 struct etnaviv_iommuv1_context *v1_context = to_v1_context(context);
37 drm_mm_takedown(&context->mm);
39 dma_free_wc(context->global->dev, PT_SIZE, v1_context->pgtable_cpu,
42 context->global->v1.shared_context = NULL;
47 static int etnaviv_iommuv1_map(struct etnaviv_iommu_context *context, argument
51 struct etnaviv_iommuv1_context *v1_context = to_v1_context(context);
62 static size_t etnaviv_iommuv1_unmap(struct etnaviv_iommu_context *context, argument
76 etnaviv_iommuv1_dump_size(struct etnaviv_iommu_context *context) argument
81 etnaviv_iommuv1_dump(struct etnaviv_iommu_context *context, void *buf) argument
89 etnaviv_iommuv1_restore(struct etnaviv_gpu *gpu, struct etnaviv_iommu_context *context) argument
130 struct etnaviv_iommu_context *context; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn351/
H A Ddcn351_fpu.h13 struct dc_state *context,
17 void dcn351_decide_zstate_support(struct dc *dc, struct dc_state *context);
/linux-master/drivers/md/dm-vdo/
H A Drepair.h11 void vdo_replay_into_slab_journals(struct block_allocator *allocator, void *context);
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
H A Ddce110_clk_mgr.h34 const struct dc_state *context,
40 struct dc_state *context);
42 uint32_t dce110_get_min_vblank_time_us(const struct dc_state *context);
/linux-master/arch/arm64/kernel/
H A Didle.c25 struct arm_cpuidle_irq_context context; local
27 arm_cpuidle_save_irq_context(&context);
32 arm_cpuidle_restore_irq_context(&context);
/linux-master/arch/s390/include/asm/
H A Dmmu_context.h24 spin_lock_init(&mm->context.lock);
25 INIT_LIST_HEAD(&mm->context.gmap_list);
26 cpumask_clear(&mm->context.cpu_attach_mask);
27 atomic_set(&mm->context.flush_count, 0);
28 atomic_set(&mm->context.protected_count, 0);
29 mm->context.gmap_asce = 0;
30 mm->context.flush_mm = 0;
32 mm->context.alloc_pgste = page_table_allocate_pgste ||
34 (current->mm && current->mm->context.alloc_pgste);
35 mm->context
[all...]
H A Dtlbflush.h55 atomic_inc(&mm->context.flush_count);
57 cpumask_copy(mm_cpumask(mm), &mm->context.cpu_attach_mask);
59 gmap_asce = READ_ONCE(mm->context.gmap_asce);
63 __tlb_flush_idte(mm->context.asce);
68 atomic_dec(&mm->context.flush_count);
75 __tlb_flush_idte(init_mm.context.asce);
82 spin_lock(&mm->context.lock);
83 if (mm->context.flush_mm) {
84 mm->context.flush_mm = 0;
87 spin_unlock(&mm->context
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.h30 struct dc_state *context,
34 struct dc_state *context,
37 struct dc_state *context, bool safe_to_lower);
49 struct dc_state *context,
54 struct dc_state *context);
/linux-master/tools/testing/selftests/arm64/signal/testcases/
H A Dzt_no_regs.c19 } context; variable in typeref:union:__anon5138
24 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context);
27 * Get a signal context which should not have a ZT frame and
30 if (!get_current_context(td, &context.uc, sizeof(context)))
33 head = get_header(head, ZT_MAGIC, GET_BUF_RESV_SIZE(context), &offset);
35 fprintf(stderr, "Got unexpected ZT context\n");
/linux-master/arch/riscv/include/asm/
H A Dsuspend.h31 int __cpu_suspend_enter(struct suspend_context *context);
33 /* High-level CPU suspend which will save context and call finish() */
37 unsigned long context));
40 int __cpu_resume_enter(unsigned long hartid, unsigned long context);
43 void suspend_save_csrs(struct suspend_context *context);
44 void suspend_restore_csrs(struct suspend_context *context);
/linux-master/fs/xfs/
H A Dxfs_attr_list.c55 struct xfs_attr_list_context *context)
57 struct xfs_attrlist_cursor_kern *cursor = &context->cursor;
58 struct xfs_inode *dp = context->dp;
69 trace_xfs_attr_list_sf(context);
80 if (context->bufsize == 0 ||
82 (dp->i_af.if_bytes + sf->count * 16) < context->bufsize)) {
84 if (XFS_IS_CORRUPT(context->dp->i_mount,
87 xfs_dirattr_mark_sick(context->dp, XFS_ATTR_FORK);
90 context->put_listent(context,
54 xfs_attr_shortform_list( struct xfs_attr_list_context *context) argument
205 xfs_attr_node_list_lookup( struct xfs_attr_list_context *context, struct xfs_attrlist_cursor_kern *cursor, struct xfs_buf **pbp) argument
290 xfs_attr_node_list( struct xfs_attr_list_context *context) argument
396 xfs_attr3_leaf_list_int( struct xfs_buf *bp, struct xfs_attr_list_context *context) argument
495 xfs_attr_leaf_list( struct xfs_attr_list_context *context) argument
514 xfs_attr_list_ilocked( struct xfs_attr_list_context *context) argument
534 xfs_attr_list( struct xfs_attr_list_context *context) argument
[all...]
/linux-master/arch/riscv/kernel/
H A Dsuspend.c15 void suspend_save_csrs(struct suspend_context *context) argument
17 context->scratch = csr_read(CSR_SCRATCH);
19 context->envcfg = csr_read(CSR_ENVCFG);
20 context->tvec = csr_read(CSR_TVEC);
21 context->ie = csr_read(CSR_IE);
34 context->satp = csr_read(CSR_SATP);
38 void suspend_restore_csrs(struct suspend_context *context) argument
40 csr_write(CSR_SCRATCH, context->scratch);
42 csr_write(CSR_ENVCFG, context->envcfg);
43 csr_write(CSR_TVEC, context
51 cpu_suspend(unsigned long arg, int (*finish)(unsigned long arg, unsigned long entry, unsigned long context)) argument
57 struct suspend_context context = { 0 }; local
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Duapi.c31 static void tegra_drm_channel_context_close(struct tegra_drm_context *context) argument
36 if (context->memory_context)
37 host1x_memory_context_put(context->memory_context);
39 xa_for_each(&context->mappings, id, mapping)
42 xa_destroy(&context->mappings);
44 host1x_channel_put(context->channel);
46 kfree(context);
51 struct tegra_drm_context *context; local
55 xa_for_each(&file->contexts, id, context)
56 tegra_drm_channel_context_close(context);
83 struct tegra_drm_context *context; local
166 struct tegra_drm_context *context; local
190 struct tegra_drm_context *context; local
277 struct tegra_drm_context *context; local
[all...]
/linux-master/arch/hexagon/mm/
H A Dvm_tlb.c31 if (mm->context.ptbase == current->active_mm->context.ptbase)
60 if (current->active_mm->context.ptbase == mm->context.ptbase)
71 if (mm->context.ptbase == current->active_mm->context.ptbase)
/linux-master/arch/parisc/include/asm/
H A Dmmu_context.h23 mm->context.space_id = alloc_sid();
31 free_sid(mm->context.space_id);
32 mm->context.space_id = 0;
35 static inline unsigned long __space_to_prot(mm_context_t context) argument
38 return context.space_id << 1;
40 return context.space_id >> (SPACEID_SHIFT - 1);
44 static inline void load_context(mm_context_t context) argument
46 mtsp(context.space_id, SR_USER);
47 mtctl(__space_to_prot(context), 8);
61 load_context(next->context);
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_mall_phantom.h42 unsigned int dml2_helper_calculate_num_ways_for_subvp(struct dml2_context *ctx, struct dc_state *context);
48 bool dml2_svp_validate_static_schedulability(struct dml2_context *ctx, struct dc_state *context, enum dml_dram_clock_change_support pstate_change_type);
50 bool dml2_svp_drr_schedulable(struct dml2_context *ctx, struct dc_state *context, struct dc_crtc_timing *drr_timing);

Completed in 594 milliseconds

1234567891011>>