| /OK3568_Linux_fs/kernel/scripts/selinux/ |
| H A D | install_policy.sh | 44 mkdir -p /etc/selinux/dummy/contexts/files 47 echo "base_r:base_t:s0" > /etc/selinux/dummy/contexts/failsafe_context 49 cat > /etc/selinux/dummy/contexts/x_contexts <<EOF 56 touch /etc/selinux/dummy/contexts/virtual_domain_context 57 touch /etc/selinux/dummy/contexts/virtual_image_context 59 cp file_contexts /etc/selinux/dummy/contexts/files 60 cp dbus_contexts /etc/selinux/dummy/contexts 62 FC_FILE=/etc/selinux/dummy/contexts/files/file_contexts 77 cd /etc/selinux/dummy/contexts/files
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase_js_defs.h | 74 * - In the case of the runpool, it is a cache of "Do any contexts owned by 83 * in the context, and in the runpool for all running contexts. Specifically: 84 * - The runpool holds a refcount of how many contexts in the runpool have this 119 * contexts will still not always get marked with this attribute. Instead, 169 * Each is large enough to hold a refcount of the number of contexts 201 * Run Pool mutex, for managing contexts within the runpool. 211 * Queue Lock, used to access the Policy's queue of contexts independently 225 * List of contexts that can currently be pulled from 229 * List of contexts that can not currently be pulled from, but have 234 /** Number of currently scheduled user contexts (excluding ones that are not submitting jobs) */ [all …]
|
| H A D | mali_kbase_ctx_sched.h | 29 * contexts. Instead it relies on the Job Scheduler/CSF to make decisions of 30 * when to schedule/evict contexts if address spaces are starved. In the 54 * This must be called during device termination after all contexts have been 103 * other contexts as needed. 127 * contexts. It can be used after the GPU is reset.
|
| H A D | mali_kbase_js.h | 288 * contexts in a rollback of kbasep_js_try_schedule_head_ctx() might have an 371 * attempt to schedule new contexts. 426 * Causes all contexts to be removed from the runpool, and prevents any 427 * contexts from (re)entering the runpool. 433 * contexts on the runpool to be released, without running any more atoms. 449 * - Schedules contexts back into the runpool 545 * @brief Submit atoms from all available contexts. 548 * slots. It will exit when either all job slots are full, or all contexts have 814 /* Track total contexts */ in kbase_js_runpool_inc_context_count() 819 /* Track contexts that can submit jobs */ in kbase_js_runpool_inc_context_count() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/jm/ |
| H A D | mali_kbase_js_defs.h | 67 * - In the case of the runpool, it is a cache of "Do any contexts owned by 76 * in the context, and in the runpool for all running contexts. Specifically: 77 * - The runpool holds a refcount of how many contexts in the runpool have this 110 * contexts will still not always get marked with this attribute. Instead, 185 /* Default priority in the case of contexts with no atoms, or being lenient 227 * Each is large enough to hold a refcount of the number of contexts 250 * @ctx_list_pullable: List of contexts that can currently be pulled from 251 * @ctx_list_unpullable: List of contexts that can not currently be pulled 253 * @nr_user_contexts_running: Number of currently scheduled user contexts 255 * @nr_all_contexts_running: Number of currently scheduled contexts (including [all …]
|
| H A D | mali_kbase_jm_js.h | 298 * contexts in a rollback of kbasep_js_try_schedule_head_ctx() might have an 399 * attempt to schedule new contexts. 466 * Causes all contexts to be removed from the runpool, and prevents any 467 * contexts from (re)entering the runpool. 473 * contexts on the runpool to be released, without running any more atoms. 491 * * Schedules contexts back into the runpool 597 * kbase_js_sched - Submit atoms from all available contexts. 603 * slots. It will exit when either all job slots are full, or all contexts have 855 * kbase_js_runpool_inc_context_count - Increment number of running contexts. 876 /* Track total contexts */ in kbase_js_runpool_inc_context_count() [all …]
|
| /OK3568_Linux_fs/kernel/arch/microblaze/include/asm/ |
| H A D | mmu_context_mm.h | 21 * This function defines the mapping from contexts to VSIDs (virtual 30 MicroBlaze has 256 contexts, so we can just rotate through these 31 as a way of "switching" contexts. If the TID of the TLB is zero, 33 to represent all kernel pages as shared among all contexts. 57 * Bitmap of contexts in use. 70 * Since we don't have sufficient contexts to give one to every task 71 * that could be in the system, we need to be able to steal contexts.
|
| /OK3568_Linux_fs/kernel/arch/powerpc/mm/nohash/ |
| H A D | mmu_context.c | 54 * The MPC8xx has only 16 contexts. We rotate through them on each task switch. 55 * A better way would be to keep track of tasks that own contexts, and implement 61 * The IBM4xx has 256 contexts, so we can just rotate through these as a way of 62 * "switching" contexts. If the TID of the TLB is zero, the PID/TID comparison 64 * shared among all contexts. -- Dan 66 * The IBM 47x core supports 16-bit PIDs, thus 65535 contexts. We should 122 * we cannot steal active contexts in steal_context_smp() 151 /* This will happen if you have more CPUs than available contexts, in steal_context_smp() 191 /* Flush the TLB for all contexts (not to be used on SMP) */ in steal_all_contexts() 252 pr_err("MMU: More active contexts than CPUs ! (%d vs %d)\n", in context_check_map() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/powerpc/ |
| H A D | cxl.rst | 89 When using AFU directed mode, up to 16K simultaneous contexts can 141 context. Master contexts have access to the full MMIO space an 142 AFU provides. Slave contexts have access to only the per process 148 that the AFU provides (like master contexts in AFU directed). 170 An AFU directed mode AFU can have many contexts, the device can be 173 When all available contexts are allocated the open call will fail 178 the number of contexts that can be created, and therefore 182 contexts can be allocated. If 4 IRQs are needed per context, 183 then only 2037/4 = 509 contexts can be allocated. 256 In AFU directed mode, master contexts are allowed to map all of [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | netdev_rx.c | 77 /* Netdev contexts are always NO_RDMA_RTAIL */ in hfi1_netdev_allocate_ctxt() 144 * hfi1_num_netdev_contexts - Count of netdev recv contexts to use. 145 * @dd: device on which to allocate netdev contexts 146 * @available_contexts: count of available receive contexts 147 * @cpu_mask: mask of possible cpus to include for contexts 150 * contexts for netdev recv context usage up to the maximum of 153 * a memory allocation error occurs or when there are no available contexts. 165 /* Always give user contexts priority over netdev contexts */ in hfi1_num_netdev_contexts() 167 dd_dev_info(dd, "No receive contexts available for netdevs.\n"); in hfi1_num_netdev_contexts()
|
| H A D | pio.c | 183 int count; /* count of contexts in the pool */ 400 "Send context memory pool %d has %u contexts, but no blocks\n", in init_sc_pools_and_sizes() 409 "Send context memory pool %d has %u blocks, but zero contexts\n", in init_sc_pools_and_sizes() 467 * All send contexts have their credit sizes. Allocate credits in init_send_contexts() 573 * kernel contexts. 804 * For Ack contexts, set a threshold for half the credits. in sc_alloc() 805 * For User contexts use the given percentage. This has been in sc_alloc() 807 * For Kernel contexts, use the default MTU plus a header in sc_alloc() 833 /* User send contexts should not allow sending on VL15 */ in sc_alloc() 847 * User contexts do not get a shadow ring. in sc_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | main.c | 614 priv->contexts[i].ctxid = i; in iwl_init_context() 616 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context() 617 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context() 618 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context() 619 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context() 620 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context() 621 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context() 622 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context() 623 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context() 624 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; in iwl_init_context() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/vmw_vmci/ |
| H A D | vmci_host.c | 102 * are VMX'en with active VMCI contexts using the host device. 147 * The number of active contexts is used to track whether any in vmci_host_close() 362 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_send_datagram() 418 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_receive_datagram() 449 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_alloc_queuepair() 518 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_queuepair_setva() 566 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_queuepair_setpf() 637 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_qp_detach() 664 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_ctx_add_notify() 687 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_ctx_remove_notify() [all …]
|
| H A D | vmci_context.c | 24 /* Use a wide upper bound for the maximum contexts. */ 28 * List of current VMCI contexts. Contexts can be added by 41 /* Used by contexts that did not set up notify flag pointers */ 163 /* We reserve the lowest 16 ids for fixed contexts. */ in vmci_ctx_create() 199 * Fire notification for all contexts interested in given cid. 211 * scanning through all contexts. in ctx_fire_notification() 218 * Scan all contexts to find who is interested in being in ctx_fire_notification() 227 * contexts, if the two contexts are allowed to in ctx_fire_notification() 432 * Fire event to all contexts interested in knowing this in ctx_free_ctx() 595 * Add remote_cid to list of contexts current contexts wants [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-class-ocxl | 8 What: /sys/class/ocxl/<afu name>/contexts 12 Number of contexts for the AFU, in the format <n>/<max> 16 n number of currently active contexts, for debug 17 max maximum number of contexts supported by the AFU
|
| H A D | sysfs-class-cxl | 7 Slave contexts (eg. /sys/class/cxl/afu0.0s): 63 provided that no user contexts are attached. 92 contexts active on the AFU. 152 Master contexts (eg. /sys/class/cxl/afu0.0m) 159 by userspace. This includes all slave contexts space also. 232 contexts active on any one of the card AFUs. This may cause 235 contexts on the card AFUs.
|
| /OK3568_Linux_fs/external/xserver/glx/ |
| H A D | createcontext.c | 242 * forward-compatible contexts may only be requested for in __glXDisp_CreateContextAttribsARB() 279 * much matter as support for GLES contexts is only defined for direct in __glXDisp_CreateContextAttribsARB() 280 * contexts (at the moment anyway) so we can leave it up to the driver in __glXDisp_CreateContextAttribsARB() 307 * "* If <config> does not support compatible OpenGL contexts in __glXDisp_CreateContextAttribsARB() 324 /* Only allow creating indirect GLX contexts if allowed by in __glXDisp_CreateContextAttribsARB() 326 * it's only GL 1.4), it's slower than direct contexts, and in __glXDisp_CreateContextAttribsARB() 355 /* Add the new context to the various global tables of GLX contexts. in __glXDisp_CreateContextAttribsARB()
|
| /OK3568_Linux_fs/buildroot/package/libgtk3/ |
| H A D | 0006-HACK-gdk-gdkgl-Avoid-using-shared-contexts.patch | 4 Subject: [PATCH 6/6] HACK: gdk: gdkgl: Avoid using shared contexts 7 GL contexts, for example Mali DDK. 28 + * GL contexts, for example Mali DDK.
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | async.h | 50 * Note: This function may be called from atomic or non-atomic contexts. 66 * Note: This function may be called from atomic or non-atomic contexts. 85 * Note: This function may be called from atomic or non-atomic contexts. 106 * Note: This function may be called from atomic or non-atomic contexts.
|
| H A D | once.h | 8 /* Helpers used from arbitrary contexts. 15 /* Variant for process contexts only. */ 63 /* Variant of DO_ONCE() for process/sleepable contexts. */
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_context.c | 2 * Legacy: Generic DRM Contexts 127 * drm_ctxbitmap_flush() - Flush all contexts owned by a file 129 * @file: Open file to flush contexts for 131 * This iterates over all contexts on @dev and drops them if they're owned by 132 * @file. Note that after this call returns, new contexts might be added if 322 * Reserve contexts. 345 if (copy_to_user(&res->contexts[i], &ctx, sizeof(ctx))) in drm_legacy_resctx() 383 DRM_DEBUG("Not enough free contexts.\n"); in drm_legacy_addctx()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/spufs/ |
| H A D | gang.c | 37 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang() 57 gang->contexts++; in spu_gang_add_ctx() 70 gang->contexts--; in spu_gang_remove_ctx()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_heap_context_alloc.h | 29 * contexts 41 * contexts 68 * contexts for possible reuse by a future call to
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_ctx_sched.h | 34 * contexts. Instead it relies on the Job Scheduler to make decisions of 35 * when to schedule/evict contexts if address spaces are starved. In the 57 * This must be called during device termination after all contexts have been 112 * other contexts as needed. 133 * contexts. It can be used after the GPU is reset.
|
| /OK3568_Linux_fs/kernel/net/6lowpan/ |
| H A D | debugfs.c | 248 struct dentry *contexts; in lowpan_dev_debugfs_init() local 254 contexts = debugfs_create_dir("contexts", ldev->iface_debugfs); in lowpan_dev_debugfs_init() 256 debugfs_create_file("show", 0644, contexts, &lowpan_dev(dev)->ctx, in lowpan_dev_debugfs_init() 260 lowpan_dev_debugfs_ctx_init(dev, contexts, i); in lowpan_dev_debugfs_init()
|