| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-kernel-mm-damon | 43 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts 48 'N-1' under the contexts/ directory. 50 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations 56 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations 69 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us 76 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us 83 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us 90 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min 98 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max 105 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets [all …]
|
| 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
|
| /kernel/linux/linux-5.10/scripts/selinux/ |
| 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
|
| /kernel/linux/linux-6.6/scripts/selinux/ |
| D | install_policy.sh | 40 mkdir -p /etc/selinux/dummy/contexts/files 43 echo "base_r:base_t:s0" > /etc/selinux/dummy/contexts/failsafe_context 45 cat > /etc/selinux/dummy/contexts/x_contexts <<EOF 52 touch /etc/selinux/dummy/contexts/virtual_domain_context 53 touch /etc/selinux/dummy/contexts/virtual_image_context 55 cp file_contexts /etc/selinux/dummy/contexts/files 56 cp dbus_contexts /etc/selinux/dummy/contexts 58 FC_FILE=/etc/selinux/dummy/contexts/files/file_contexts 73 cd /etc/selinux/dummy/contexts/files
|
| /kernel/linux/linux-6.6/tools/testing/selftests/damon/ |
| D | sysfs_update_removed_scheme_dir.sh | 25 echo 1 > "$damon_sysfs/kdamonds/0/contexts/nr_contexts" 26 echo "vaddr" > "$damon_sysfs/kdamonds/0/contexts/0/operations" 27 echo 1 > "$damon_sysfs/kdamonds/0/contexts/0/targets/nr_targets" 28 echo $$ > "$damon_sysfs/kdamonds/0/contexts/0/targets/0/pid_target" 29 echo 1 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes" 30 scheme_dir="$damon_sysfs/kdamonds/0/contexts/0/schemes/0" 38 echo 0 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes"
|
| /kernel/linux/linux-6.6/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
| D | usage.rst | 49 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts 50 # echo vaddr > kdamonds/0/contexts/0/operations 51 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets 52 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid_target 64 │ │ │ contexts/nr_contexts 112 在每个kdamond目录中,存在两个文件(``state`` 和 ``pid`` )和一个目录( ``contexts`` )。 125 ``contexts`` 目录包含控制这个kdamond要执行的监测上下文的文件。 127 kdamonds/<N>/contexts/ 134 contexts/<N>/ 146 contexts/<N>/monitoring_attrs/ [all …]
|
| /kernel/linux/linux-6.6/mm/damon/ |
| D | sysfs.c | 810 * contexts directory 824 static void damon_sysfs_contexts_rm_dirs(struct damon_sysfs_contexts *contexts) in damon_sysfs_contexts_rm_dirs() argument 826 struct damon_sysfs_context **contexts_arr = contexts->contexts_arr; in damon_sysfs_contexts_rm_dirs() 829 for (i = 0; i < contexts->nr; i++) { in damon_sysfs_contexts_rm_dirs() 833 contexts->nr = 0; in damon_sysfs_contexts_rm_dirs() 835 contexts->contexts_arr = NULL; in damon_sysfs_contexts_rm_dirs() 838 static int damon_sysfs_contexts_add_dirs(struct damon_sysfs_contexts *contexts, in damon_sysfs_contexts_add_dirs() argument 844 damon_sysfs_contexts_rm_dirs(contexts); in damon_sysfs_contexts_add_dirs() 852 contexts->contexts_arr = contexts_arr; in damon_sysfs_contexts_add_dirs() 857 damon_sysfs_contexts_rm_dirs(contexts); in damon_sysfs_contexts_add_dirs() [all …]
|
| /kernel/linux/linux-6.6/Documentation/gpu/rfc/ |
| D | i915_scheduler.rst | 26 which configures a slot with N contexts 94 contexts in parallel with the GuC the context must be explicitly registered with 95 N contexts and all N contexts must be submitted in a single command to the GuC. 96 The GuC interfaces do not support dynamically changing between N contexts as the 105 * A 'set_parallel' extension to configure contexts for parallel 115 submission interface currently only supports submitting multiple contexts to 125 A 'set_parallel' extension to configure contexts for parallel submission 128 It is a setup step that must be called before using any of the contexts. See 147 Contexts that have been configured with the 'set_parallel' extension can only
|
| /kernel/linux/linux-6.6/arch/microblaze/include/asm/ |
| 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. 53 * Bitmap of contexts in use. 66 * Since we don't have sufficient contexts to give one to every task 67 * that could be in the system, we need to be able to steal contexts.
|
| /kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
| 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.
|
| /kernel/linux/linux-6.6/arch/powerpc/mm/nohash/ |
| D | mmu_context.c | 47 * The MPC8xx has only 16 contexts. We rotate through them on each task switch. 48 * A better way would be to keep track of tasks that own contexts, and implement 54 * The IBM4xx has 256 contexts, so we can just rotate through these as a way of 55 * "switching" contexts. If the TID of the TLB is zero, the PID/TID comparison 57 * shared among all contexts. -- Dan 59 * The IBM 47x core supports 16-bit PIDs, thus 65535 contexts. We should 110 * we cannot steal active contexts in steal_context_smp() 138 /* This will happen if you have more CPUs than available contexts, in steal_context_smp() 169 /* Flush the TLB for all contexts (not to be used on SMP) */ in steal_all_contexts() 262 /* No more free contexts, let's try to steal one */ in switch_mmu_context() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
| D | uapi.c | 55 xa_for_each(&file->contexts, id, context) in tegra_drm_uapi_close_file() 61 xa_destroy(&file->contexts); in tegra_drm_uapi_close_file() 127 * OK, HW does not support contexts or contexts in tegra_drm_ioctl_channel_open() 135 err = xa_alloc(&fpriv->contexts, &args->context, context, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_open() 170 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 176 xa_erase(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 200 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map() 281 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_unmap()
|
| /kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | test_global_func_ctx_args.c | 14 * KPROBE contexts 59 * RAW_TRACEPOINT contexts 75 * RAW_TRACEPOINT_WRITABLE contexts 91 * PERF_EVENT contexts
|
| /kernel/linux/linux-6.6/Documentation/powerpc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/powerpc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
| 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()
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/mm/damon/ |
| D | usage.rst | 50 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts 51 # echo vaddr > kdamonds/0/contexts/0/operations 52 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets 53 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid_target 67 │ │ │ contexts/nr_contexts 122 (``contexts``) exist. 145 ``contexts`` directory contains files for controlling the monitoring contexts 148 kdamonds/<N>/contexts/ 159 contexts/<N>/ 186 contexts/<N>/monitoring_attrs/ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
| D | main.c | 608 priv->contexts[i].ctxid = i; in iwl_init_context() 610 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context() 611 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context() 612 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context() 613 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context() 614 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context() 615 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context() 616 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context() 617 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context() 618 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; in iwl_init_context() [all …]
|
| /kernel/linux/linux-6.6/drivers/misc/vmw_vmci/ |
| 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() 369 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_send_datagram() 425 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_receive_datagram() 456 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_alloc_queuepair() 525 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_queuepair_setva() 573 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_queuepair_setpf() 644 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_qp_detach() 671 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_ctx_add_notify() 694 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_ctx_remove_notify() [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
| 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() 368 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_send_datagram() 424 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_receive_datagram() 455 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_alloc_queuepair() 524 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_queuepair_setva() 572 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_queuepair_setpf() 643 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_qp_detach() 670 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_ctx_add_notify() 693 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_ctx_remove_notify() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| 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. 108 * Note: This function may be called from atomic or non-atomic contexts.
|