Home
last modified time | relevance | path

Searched full:contexts (Results 1 – 25 of 580) sorted by relevance

12345678910>>...24

/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon54 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
59 'N-1' under the contexts/ directory.
61 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
67 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
80 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/addr_unit
87 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us
94 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us
101 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us
108 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goa…
116 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goa…
[all …]
H A Dsysfs-class-ocxl8 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
/linux/tools/testing/selftests/damon/
H A Dsysfs_update_removed_scheme_dir.sh23 echo 1 > "$damon_sysfs/kdamonds/0/contexts/nr_contexts"
24 echo "vaddr" > "$damon_sysfs/kdamonds/0/contexts/0/operations"
25 echo 1 > "$damon_sysfs/kdamonds/0/contexts/0/targets/nr_targets"
26 echo $$ > "$damon_sysfs/kdamonds/0/contexts/0/targets/0/pid_target"
27 echo 1 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes"
28 scheme_dir="$damon_sysfs/kdamonds/0/contexts/0/schemes/0"
36 echo 0 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes"
H A D_damon_sysfs.py613 return os.path.join(self.kdamond.sysfs_dir(), 'contexts',
657 contexts = None
661 def __init__(self, contexts=[]):
662 self.contexts = contexts
663 for idx, context in enumerate(self.contexts):
672 'contexts', 'nr_contexts')
676 if int(content) != len(self.contexts):
677 err = write_file(nr_contexts_file, '%d' % len(self.contexts))
681 for context in self.contexts
378 contexts = None global() variable in Kdamond
382 __init__(self, contexts=[]) global() argument
[all...]
H A Ddamon_nr_regions.py23 contexts=[_damon_sysfs.DamonCtx(
31 )] # contexts
49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
91 contexts=[_damon_sysfs.DamonCtx(
98 )] # contexts
110 attrs = kdamonds.kdamonds[0].contexts[0].monitoring_attrs
128 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Ddamos_tried_regions.py16 contexts=[_damon_sysfs.DamonCtx(
21 )] # contexts
39 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Dsysfs_update_schemes_tried_regions_wss_estimation.py14 contexts=[_damon_sysfs.DamonCtx(
21 )] # contexts
38 kdamonds.kdamonds[0].contexts[0].schemes[0].tried_bytes)
H A Ddamos_quota.py18 contexts=[_damon_sysfs.DamonCtx(
28 )] # contexts
49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Ddamos_apply_interval.py16 contexts=[_damon_sysfs.DamonCtx(
34 )] # contexts
50 schemes = kdamonds.kdamonds[0].contexts[0].schemes
/linux/mm/damon/
H A Dsysfs.c1057 * contexts directory
1071 static void damon_sysfs_contexts_rm_dirs(struct damon_sysfs_contexts *contexts) in damon_sysfs_contexts_rm_dirs() argument
1073 struct damon_sysfs_context **contexts_arr = contexts->contexts_arr; in damon_sysfs_contexts_rm_dirs()
1076 for (i = 0; i < contexts->nr; i++) { in damon_sysfs_contexts_rm_dirs()
1080 contexts->nr = 0; in damon_sysfs_contexts_rm_dirs()
1082 contexts->contexts_arr = NULL; in damon_sysfs_contexts_rm_dirs()
1085 static int damon_sysfs_contexts_add_dirs(struct damon_sysfs_contexts *contexts, in damon_sysfs_contexts_add_dirs() argument
1091 damon_sysfs_contexts_rm_dirs(contexts); in damon_sysfs_contexts_add_dirs()
1099 contexts->contexts_arr = contexts_arr; in damon_sysfs_contexts_add_dirs()
1104 damon_sysfs_contexts_rm_dirs(contexts); in damon_sysfs_contexts_add_dirs()
[all …]
/linux/Documentation/gpu/rfc/
H A Di915_scheduler.rst26 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
/linux/arch/microblaze/include/asm/
H A Dmmu_context_mm.h21 * 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.
/linux/arch/powerpc/mm/nohash/
H A Dmmu_context.c47 * 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()
251 /* No more free contexts, let's try to steal one */ in switch_mmu_context()
[all …]
/linux/drivers/gpu/drm/tegra/
H A Duapi.c55 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()
/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c77 /* 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 Dpio.c141 int count; /* count of contexts in the pool */
358 "Send context memory pool %d has %u contexts, but no blocks\n", in init_sc_pools_and_sizes()
367 "Send context memory pool %d has %u blocks, but zero contexts\n", in init_sc_pools_and_sizes()
425 * All send contexts have their credit sizes. Allocate credits in init_send_contexts()
531 * kernel contexts.
762 * For Ack contexts, set a threshold for half the credits. in sc_alloc()
763 * For User contexts use the given percentage. This has been in sc_alloc()
765 * For Kernel contexts, use the default MTU plus a header in sc_alloc()
791 /* User send contexts should not allow sending on VL15 */ in sc_alloc()
805 * User contexts do not get a shadow ring. in sc_alloc()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dmain.c609 priv->contexts[i].ctxid = i; in iwl_init_context()
611 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context()
612 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context()
613 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context()
614 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context()
615 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context()
616 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context()
617 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context()
618 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context()
619 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; in iwl_init_context()
[all …]
/linux/drivers/misc/vmw_vmci/
H A Dvmci_host.c102 * 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 …]
H A Dvmci_context.c24 /* 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()
412 * Fire event to all contexts interested in knowing this in ctx_free_ctx()
575 * Add remote_cid to list of contexts current contexts wants
[all …]
/linux/drivers/irqchip/
H A Dirq-aclint-sswi.c64 u32 contexts = of_irq_count(to_of_node(fwnode)); in aclint_sswi_parse_irq() local
66 if (!(contexts)) { in aclint_sswi_parse_irq()
71 for (u32 i = 0; i < contexts; i++) { in aclint_sswi_parse_irq()
98 pr_info("%pfwP: register %u CPU%s\n", fwnode, contexts, str_plural(contexts)); in aclint_sswi_parse_irq()
/linux/drivers/gpu/drm/i915/
H A Di915_sysfs.c79 spin_lock(&i915->gem.contexts.lock); in i915_l3_read()
84 spin_unlock(&i915->gem.contexts.lock); in i915_l3_read()
112 spin_lock(&i915->gem.contexts.lock); in i915_l3_write()
125 list_for_each_entry(ctx, &i915->gem.contexts.list, link) in i915_l3_write()
128 spin_unlock(&i915->gem.contexts.lock); in i915_l3_write()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_global_func_ctx_args.c14 * KPROBE contexts
78 * RAW_TRACEPOINT contexts
94 * RAW_TRACEPOINT_WRITABLE contexts
110 * PERF_EVENT contexts
/linux/include/linux/
H A Dasync.h50 * 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.
/linux/arch/powerpc/platforms/cell/spufs/
H A Dgang.c38 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang()
58 gang->contexts++; in spu_gang_add_ctx()
71 gang->contexts--; in spu_gang_remove_ctx()
/linux/drivers/md/dm-vdo/
H A Ddedupe.h57 /* These fields are used to manage the dedupe contexts */
66 /* The dedupe contexts for querying the index from this zone */
67 struct dedupe_context contexts[MAXIMUM_VDO_USER_VIOS]; member

12345678910>>...24