Home
last modified time | relevance | path

Searched +full:- +full:- +full:context (Results 1 – 25 of 1220) sorted by relevance

12345678910>>...49

/OK3568_Linux_fs/kernel/drivers/misc/vmw_vmci/
H A Dvmci_context.c1 // SPDX-License-Identifier: GPL-2.0-only
30 * 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) in ctx_signal_notify() argument
46 *context->notify = true; in ctx_signal_notify()
49 static void ctx_clear_notify(struct vmci_ctx *context) in ctx_clear_notify() argument
51 *context->notify = false; in ctx_clear_notify()
58 static void ctx_clear_notify_call(struct vmci_ctx *context) in ctx_clear_notify_call() argument
60 if (context->pending_datagrams == 0 && in ctx_clear_notify_call()
61 vmci_handle_arr_get_size(context->pending_doorbell_array) == 0) in ctx_clear_notify_call()
[all …]
H A Dvmci_route.c1 // SPDX-License-Identifier: GPL-2.0-only
18 * devices. Will set the source context if it is invalid.
38 * not touch a non-existent device. in vmci_route()
41 /* Must have a valid destination context. */ in vmci_route()
42 if (VMCI_INVALID_ID == dst->context) in vmci_route()
46 if (VMCI_HYPERVISOR_CONTEXT_ID == dst->context) { in vmci_route()
63 /* And we cannot send if the source is the host context. */ in vmci_route()
64 if (VMCI_HOST_CONTEXT_ID == src->context) in vmci_route()
69 * respect it (both context and resource are invalid). in vmci_route()
70 * However, if they passed only an invalid context, in vmci_route()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/common/
H A Dsha1.c5 * Copyright (C) 2014-2017, Marvell International Ltd.
12 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
13 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
15 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
35 (((word) << (bits)) | ((word) >> (32-(bits))))
48 * context: [in/out]
49 * The context to reset.
55 /*int SHA1Init(SHA1_CTX *context) */
57 Mrvl_SHA1Init(Mrvl_SHA1_CTX *context) in Mrvl_SHA1Init() argument
59 if (!context) { in Mrvl_SHA1Init()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dtree-pass.h1 /* Definitions for describing one tree-ssa optimization pass.
2 Copyright (C) 2004-2020 Free Software Foundation, Inc.
39 /* Metadata for a pass, non-varying across all instances of a pass. */
49 /* The -fopt-info optimization group flags as defined in dumpfile.h. */
68 class context; variable
88 /* This pass and all sub-passes are executed only if the function returns
93 be sub-passes otherwise this pass does nothing.
99 opt_pass (const pass_data&, gcc::context *);
102 /* A list of sub-passes to run, dependent on gate predicate. */
112 gcc::context *m_ctxt;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dtree-pass.h1 /* Definitions for describing one tree-ssa optimization pass.
2 Copyright (C) 2004-2020 Free Software Foundation, Inc.
39 /* Metadata for a pass, non-varying across all instances of a pass. */
49 /* The -fopt-info optimization group flags as defined in dumpfile.h. */
68 class context; variable
88 /* This pass and all sub-passes are executed only if the function returns
93 be sub-passes otherwise this pass does nothing.
99 opt_pass (const pass_data&, gcc::context *);
102 /* A list of sub-passes to run, dependent on gate predicate. */
112 gcc::context *m_ctxt;
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/proto/context/detail/preprocessed/
H A Ddefault_eval.hpp8 template<typename Expr, typename Context>
9 struct default_eval<Expr, Context, proto::tag::function, 3>
13 …name remove_reference< typename proto::result_of::child_c< Expr, 0>::type >::type , Context >::type
18 … , Context >::type , typename proto::result_of::eval< typename remove_reference< typename proto::r…
21 result_type operator ()(Expr &expr, Context &context) const in operator ()()
23 return this->invoke(expr, context, is_member_function_pointer<function_type>()); in operator ()()
26 result_type invoke(Expr &expr, Context &context, mpl::false_) const in invoke()
28 return proto::eval(proto::child_c< 0>( expr), context)( in invoke()
29 … proto::eval(proto::child_c< 1>( expr), context) , proto::eval(proto::child_c< 2>( expr), context) in invoke()
32 result_type invoke(Expr &expr, Context &context, mpl::true_) const in invoke()
[all …]
/OK3568_Linux_fs/kernel/kernel/
H A Dauditsc.c1 /* auditsc.c -- System-call auditing support
2 * Handles all system-call specific auditing features.
4 * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.
5 * Copyright 2005 Hewlett-Packard Development Company, L.P.
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 * this file -- see entry.S) is based on a GPL'd patch written by
41 * Subject and object context labeling support added by <danjones@us.ibm.com>
167 n = ctx->major; in audit_match_perm()
169 switch (audit_classify_syscall(ctx->arch, n)) { in audit_match_perm()
193 return mask & ACC_MODE(ctx->argv[1]); in audit_match_perm()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/etnaviv/
H A Detnaviv_mmu.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015-2018 Etnaviv Project
6 #include <linux/dma-mapping.h>
16 static void etnaviv_context_unmap(struct etnaviv_iommu_context *context, in etnaviv_context_unmap() argument
29 unmapped_page = context->global->ops->unmap(context, iova, in etnaviv_context_unmap()
39 static int etnaviv_context_map(struct etnaviv_iommu_context *context, in etnaviv_context_map() argument
51 return -EINVAL; in etnaviv_context_map()
55 ret = context->global->ops->map(context, iova, paddr, pgsize, in etnaviv_context_map()
62 size -= pgsize; in etnaviv_context_map()
67 etnaviv_context_unmap(context, orig_iova, orig_size - size); in etnaviv_context_map()
[all …]
H A Detnaviv_iommu.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2014-2018 Etnaviv Project
7 #include <linux/dma-mapping.h>
28 to_v1_context(struct etnaviv_iommu_context *context) in to_v1_context() argument
30 return container_of(context, struct etnaviv_iommuv1_context, base); in to_v1_context()
33 static void etnaviv_iommuv1_free(struct etnaviv_iommu_context *context) in etnaviv_iommuv1_free() argument
35 struct etnaviv_iommuv1_context *v1_context = to_v1_context(context); in etnaviv_iommuv1_free()
37 drm_mm_takedown(&context->mm); in etnaviv_iommuv1_free()
39 dma_free_wc(context->global->dev, PT_SIZE, v1_context->pgtable_cpu, in etnaviv_iommuv1_free()
40 v1_context->pgtable_dma); in etnaviv_iommuv1_free()
[all …]
H A Detnaviv_iommu_v2.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2018 Etnaviv Project
7 #include <linux/dma-mapping.h>
42 to_v2_context(struct etnaviv_iommu_context *context) in to_v2_context() argument
44 return container_of(context, struct etnaviv_iommuv2_context, base); in to_v2_context()
47 static void etnaviv_iommuv2_free(struct etnaviv_iommu_context *context) in etnaviv_iommuv2_free() argument
49 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); in etnaviv_iommuv2_free()
52 drm_mm_takedown(&context->mm); in etnaviv_iommuv2_free()
55 if (v2_context->stlb_cpu[i]) in etnaviv_iommuv2_free()
56 dma_free_wc(context->global->dev, SZ_4K, in etnaviv_iommuv2_free()
[all …]
/OK3568_Linux_fs/kernel/security/selinux/ss/
H A Dmls.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Multi-level security (MLS) policy operations.
12 * Copyright (C) 2004-2006 Trusted Computer Solutions, Inc.
15 * Updated: Hewlett-Packard <paul@paul-moore.com>
19 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006
27 #include "context.h"
31 int mls_compute_context_len(struct policydb *p, struct context *context);
32 void mls_sid_to_context(struct policydb *p, struct context *context,
34 int mls_context_isvalid(struct policydb *p, struct context *c);
41 struct context *context,
[all …]
H A Dmls.c1 // SPDX-License-Identifier: GPL-2.0
3 * Implementation of the multi-level security (MLS) policy.
12 * Copyright (C) 2004-2006 Trusted Computer Solutions, Inc.
15 * Updated: Hewlett-Packard <paul@paul-moore.com>
19 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006
34 * security context string representation of `context'.
36 int mls_compute_context_len(struct policydb *p, struct context *context) in mls_compute_context_len() argument
43 if (!p->mls_enabled) in mls_compute_context_len()
48 int index_sens = context->range.level[l].sens; in mls_compute_context_len()
49 len += strlen(sym_name(p, SYM_LEVELS, index_sens - 1)); in mls_compute_context_len()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_ctx_sched.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2017-2018, 2020-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
28 * DOC: The Context Scheduler manages address space assignment and reference
33 * The initial implementation of the Context Scheduler does not schedule
37 * provide enough information about how each context is consuming GPU resources,
43 * kbase_ctx_sched_init() - Initialise the context scheduler
44 * @kbdev: The device for which the context scheduler needs to be initialised
54 * kbase_ctx_sched_term - Terminate the context scheduler
55 * @kbdev: The device for which the context scheduler needs to be terminated
[all …]
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_attr_list.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
32 if (sa->hash < sb->hash) { in xfs_attr_shortform_compare()
33 return -1; in xfs_attr_shortform_compare()
34 } else if (sa->hash > sb->hash) { in xfs_attr_shortform_compare()
37 return sa->entno - sb->entno; in xfs_attr_shortform_compare()
42 (!((cursor)->initted) && !((cursor)->hashval) && \
43 !((cursor)->blkno) && !((cursor)->offset))
53 struct xfs_attr_list_context *context) in xfs_attr_shortform_list() argument
55 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list()
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/
H A D0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch2 From: Jeffy Chen <jeffy.chen@rock-chips.com>
8 Change-Id: I69d94ffb700eb95af83799cdd5cde476d2930f92
9 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
10 ---
11 sys/xvimage/meson.build | 4 +-
12 sys/xvimage/xvcontext.c | 71 +++++++++-
14 sys/xvimage/xvimagesink.c | 270 ++++++++++++++++++++++++++++++++++++--
16 5 files changed, 361 insertions(+), 14 deletions(-)
18 diff --git a/sys/xvimage/meson.build b/sys/xvimage/meson.build
20 --- a/sys/xvimage/meson.build
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/
H A D0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch2 From: Jeffy Chen <jeffy.chen@rock-chips.com>
8 Change-Id: I69d94ffb700eb95af83799cdd5cde476d2930f92
9 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
10 ---
11 sys/xvimage/meson.build | 4 +-
12 sys/xvimage/xvcontext.c | 71 +++++++++-
14 sys/xvimage/xvimagesink.c | 270 ++++++++++++++++++++++++++++++++++++--
16 5 files changed, 361 insertions(+), 14 deletions(-)
18 diff --git a/sys/xvimage/meson.build b/sys/xvimage/meson.build
20 --- a/sys/xvimage/meson.build
[all …]
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/
H A D0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch2 From: Jeffy Chen <jeffy.chen@rock-chips.com>
8 Change-Id: I69d94ffb700eb95af83799cdd5cde476d2930f92
9 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
10 ---
11 sys/xvimage/meson.build | 4 +-
12 sys/xvimage/xvcontext.c | 71 +++++++++-
14 sys/xvimage/xvimagesink.c | 270 ++++++++++++++++++++++++++++++++++++--
16 5 files changed, 361 insertions(+), 14 deletions(-)
18 diff --git a/sys/xvimage/meson.build b/sys/xvimage/meson.build
20 --- a/sys/xvimage/meson.build
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/kutf/
H A Dkutf_suite.c12 * Boston, MA 02110-1301, USA.
39 * struct kutf_application - Structure which represents kutf application
52 * struct kutf_test_function - Structure which represents kutf test function
68 void (*execute)(struct kutf_context *context);
76 * struct kutf_test_fixture - Structure which holds information on the kutf
93 * struct kutf_convert_table - Structure which keeps test results
123 * kutf_create_context() - Create a test context in which a specific fixture
128 * Return: Returns the created test context on success or NULL on failure
134 * kutf_destroy_context() - Destroy a previously created test context
135 * @context: Test context to destroy
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/kutf/
H A Dkutf_suite.c1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
4 * (C) COPYRIGHT 2014, 2017-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
45 * struct kutf_application - Structure which represents kutf application
58 * struct kutf_test_function - Structure which represents kutf test function
74 void (*execute)(struct kutf_context *context);
82 * struct kutf_test_fixture - Structure which holds information on the kutf
100 * struct kutf_convert_table - Structure which keeps test results
124 * kutf_create_context() - Create a test context in which a specific fixture
129 * The context's refcount will be initialized to 1.
[all …]
/OK3568_Linux_fs/external/xserver/hw/xquartz/GL/
H A Dindirect.c3 * (Indirect rendering path -- it's also used for some direct mode code too)
5 * Copyright (c) 2007-2012 Apple Inc.
12 * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
35 #include <dix-config.h>
49 #include "x-hash.h"
127 __GLXAquaContext *context; member
138 __GLXAquaContext *context; in __glXAquaScreenCreateContext() local
149 context = calloc(1, sizeof(__GLXAquaContext)); in __glXAquaScreenCreateContext()
151 if (context == NULL) in __glXAquaScreenCreateContext()
154 memset(context, 0, sizeof *context); in __glXAquaScreenCreateContext()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/mali_kutf_clk_rate_trace/kernel/
H A Dmali_kutf_clk_rate_trace_test.c1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
4 * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
46 #define MINOR_FOR_FIRST_KBASE_DEV (-1)
58 * struct clk_trace_snapshot - Trace info data on a clock.
75 * struct kutf_clk_rate_trace_fixture_data - Fixture data for the test.
83 * @pm_ctx_cnt: Net count of PM (Power Management) context INC/DEC
85 * 0 to 1 (INC), or, 1 to 0 (DEC), a PM context action is
133 #define PORTAL_MSG_LEN (KUTF_MAX_LINE_LENGTH - MAX_REPLY_NAME_LEN)
144 pr_err("%s - index: %u, new_rate: %u, listener is NULL\n", in kutf_portal_trace_write()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/phoenix/operator/detail/cpp03/preprocessed/
H A Dmem_fun_ptr_eval_10.hpp2 Copyright (c) 2005-2010 Joel de Guzman
16 template <typename This, typename A0 , typename A1, typename Context>
17 struct result<This(A0 , A1, Context)>
18 : result<This(A0 const& , A1 const&, Context)>
20 template <typename This, typename A0 , typename A1, typename Context>
21 struct result<This(A0 & , A1 &, Context)>
22 : result_of::mem_fun_ptr_eval<Context, A0 , A1>
24 template <typename A0 , typename A1, typename Context>
25 typename result_of::mem_fun_ptr_eval<Context, A0 , A1>::type
28 , Context const & ctx in operator ()()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/proto/context/
H A Ddefault.hpp3 /// Definintion of default_context, a default evaluation context for
5 /// of the built-in operators.
39 namespace context namespace
43 , typename Context
50 template<typename Expr, typename Context>
51 struct default_eval<Expr, Context, tag::terminal, 0>
57 result_type operator ()(Expr &expr, Context &) const in operator ()()
66 template<typename Expr, typename Context> \
67 struct default_eval<Expr, Context, TAG, 1> \
71 typedef typename proto::result_of::eval<UNREF(e0), Context>::type r0; \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_5000.c1 // SPDX-License-Identifier: GPL-2.0
27 TEEC_Context context; member
35 (op)->params[(param_num)].memref.size); \
38 (op)->params[(param_num)].memref.parent); \
40 (shrm)->buffer, \
41 (op)->params[(param_num)].memref.size); \
53 (op)->params[(param_num)].tmpref.size); \
56 (op)->params[(param_num)].tmpref.buffer); \
59 (op)->params[(param_num)].memref.size); \
68 shm->flags = flags; in RegisterSharedMemory()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.h3 * (C) COPYRIGHT 2015-2017 ARM Limited. All rights reserved.
12 * Boston, MA 02110-1301, USA.
26 * kbase_tlstream_init - initialize timeline infrastructure in kernel
32 * kbase_tlstream_term - terminate timeline infrastructure in kernel
39 * kbase_tlstream_acquire - acquire timeline stream file descriptor
40 * @kctx: kernel common context
55 * kbase_tlstream_flush_streams - flush timeline streams.
62 * kbase_tlstream_reset_body_streams - reset timeline body streams.
70 * kbase_tlstream_test - start timeline stream data generator
71 * @tpw_count: number of trace point writers in each context
[all …]

12345678910>>...49