Home
last modified time | relevance | path

Searched full:constraint (Results 1 – 25 of 272) sorted by relevance

1234567891011

/Linux-v5.4/arch/arm64/include/asm/
Datomic_ll_sc.h38 #define ATOMIC_OP(op, asm_op, constraint) \ argument
53 : __stringify(constraint) "r" (i)); \
56 #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument
72 : __stringify(constraint) "r" (i) \
78 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ argument
94 : __stringify(constraint) "r" (i) \
128 * have a constraint for this, so fall back to register. in ATOMIC_OPS()
137 #define ATOMIC64_OP(op, asm_op, constraint) \ in ATOMIC_OPS() argument
152 : __stringify(constraint) "r" (i)); \ in ATOMIC_OPS()
155 #define ATOMIC64_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument
[all …]
/Linux-v5.4/tools/perf/scripts/python/
Dexport-to-postgresql.py893 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id),'
894 'ADD CONSTRAINT processfk FOREIGN KEY (process_id) REFERENCES threads (id)')
896 'ADD CONSTRAINT threadfk FOREIGN KEY (c_thread_id) REFERENCES threads (id)')
898 'ADD CONSTRAINT commfk FOREIGN KEY (comm_id) REFERENCES comms (id),'
899 'ADD CONSTRAINT threadfk FOREIGN KEY (thread_id) REFERENCES threads (id)')
901 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id)')
903 'ADD CONSTRAINT dsofk FOREIGN KEY (dso_id) REFERENCES dsos (id)')
905 'ADD CONSTRAINT evselfk FOREIGN KEY (evsel_id) REFERENCES selected_events (id),'
906 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id),'
907 'ADD CONSTRAINT threadfk FOREIGN KEY (thread_id) REFERENCES threads (id),'
[all …]
/Linux-v5.4/drivers/base/power/
Dqos.c18 * per-device constraint data struct.
20 * Note about the per-device constraint data struct allocation:
93 * __dev_pm_qos_resume_latency - Get resume latency constraint for a given device.
94 * @dev: Device to get the PM QoS constraint value for.
106 * dev_pm_qos_read_value - Get PM QoS constraint for a given device (locked).
107 * @dev: Device to get the PM QoS constraint value for.
133 * @req: Constraint request to apply
177 * Called at the first call to add_request, for constraint data allocation
327 * @dev: target device for the constraint
338 * Returns 1 if the aggregated constraint value has changed,
[all …]
Ddomain_governor.c33 * take its current PM QoS constraint (that's the only thing in dev_update_qos_constraint()
93 * domain has a zero PM QoS constraint and it's better not to in default_suspend_ok()
290 * Start at the state picked by the dev PM QoS constraint validation. in cpu_power_down_ok()
/Linux-v5.4/include/linux/
Dpowercap.h119 * @const_id_cnt: Number of constraint defined.
156 * struct powercap_zone_constraint_ops - Define constraint callbacks
165 * @get_name: Get the name of constraint
167 * This structure is used to define the constraint callbacks for the client
189 * struct powercap_zone_constraint- Defines instance of a constraint
190 * @id: Instance Id of this constraint.
191 * @power_zone: Pointer to the power zone for this constraint.
192 * @ops: Pointer to the constraint callbacks.
194 * This defines a constraint instance.
282 * @const_ops: Pointer to constraint callback structure
Doom.h53 /* Used to print the constraint info. */
54 enum oom_constraint constraint; member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-powercap92 constraint can have an optional name. Here "X" can have values
110 constraint_X_power_limit_uw to define a power constraint.
119 Maximum allowed power in micro watts for this constraint.
127 Minimum allowed power in micro watts for this constraint.
136 constraint. Here "X" can have values from 0 to max integer.
144 constraint. Here "X" can have values from 0 to max integer.
Dsysfs-class-regulator156 NOTE: this will return the string 'constraint not defined' if
157 the power domain has no min microvolts constraint defined by
171 NOTE: this will return the string 'constraint not defined' if
172 the power domain has no max microvolts constraint defined by
186 NOTE: this will return the string 'constraint not defined' if
187 the power domain has no min microamps constraint defined by
201 NOTE: this will return the string 'constraint not defined' if
202 the power domain has no max microamps constraint defined by
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
D11h.c43 struct mwifiex_ie_types_local_pwr_constraint *constraint; in mwifiex_11h_process_infra_join() local
61 constraint = (struct mwifiex_ie_types_local_pwr_constraint *)*buffer; in mwifiex_11h_process_infra_join()
62 constraint->header.type = cpu_to_le16(WLAN_EID_PWR_CONSTRAINT); in mwifiex_11h_process_infra_join()
63 constraint->header.len = cpu_to_le16(2); in mwifiex_11h_process_infra_join()
64 constraint->chan = bss_desc->channel; in mwifiex_11h_process_infra_join()
65 constraint->constraint = bss_desc->local_constraint; in mwifiex_11h_process_infra_join()
66 *buffer += sizeof(*constraint); in mwifiex_11h_process_infra_join()
/Linux-v5.4/kernel/power/
Dqos.c211 * This function returns 1 if the aggregated constraint value has changed, 0
292 * value has changed. Returns 1 if the aggregate constraint value has changed,
684 * freq_qos_read_value - Get frequency QoS constraint for a given list.
714 * @req: Constraint request to apply.
747 * QoS constraint value for that list and initialize the @req object. The
750 * Return 1 if the effective constraint value has changed, 0 if the effective
751 * constraint value has not changed, or a negative error code on failures.
783 * Update an existing frequency QoS request along with the effective constraint
786 * Return 1 if the effective constraint value has changed, 0 if the effective
787 * constraint value has not changed, or a negative error code on failures.
[all …]
/Linux-v5.4/arch/powerpc/include/asm/
Dperf_event_server.h103 * Select field: this expresses the constraint that some set of bits
107 * MMCR* bits. The constraint checking code will ensure that two events
111 * Add field: this expresses the constraint that there can be at most
120 * NAND field: this expresses the constraint that you may not have events
129 * If an event_id is not subject to the constraint expressed by a particular
/Linux-v5.4/security/selinux/ss/
Dconstraint.h3 * A constraint is a condition that must be satisfied in
59 struct constraint_expr *expr; /* constraint on permissions */
60 struct constraint_node *next; /* next constraint */
Dpolicydb.h31 #include "constraint.h"
153 * type set preserves data needed to determine constraint info from
155 * utilities such as audit2allow to determine constraint denials.
/Linux-v5.4/Documentation/admin-guide/pm/
Dcpuidle.rst402 [If there is a wakeup latency constraint coming from the `PM QoS framework
405 latency within the constraint is preselected without consulting the ``hits``,
588 global constraint in the ``PM_QOS_CPU_DMA_LATENCY`` class and through the
594 resume latency constraint for a CPU can be modified by user space by writing a
600 number will be interpreted as a requested PM QoS constraint in microseconds.
602 The requested value is not automatically applied as a new constraint, however,
604 constraint previously requested by someone else. For this reason, the PM QoS
607 (minimum in this particular case) value as the new constraint.
614 request represented by it as a new requested constraint value. Next, the
617 constraint. Thus setting a new requested constraint value will only change the
[all …]
/Linux-v5.4/kernel/
Dresource.c595 struct resource_constraint *constraint) in __find_resource() argument
618 resource_clip(&tmp, constraint->min, constraint->max); in __find_resource()
622 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource()
627 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource()
628 size, constraint->align); in __find_resource()
653 struct resource_constraint *constraint) in find_resource() argument
655 return __find_resource(root, NULL, new, size, constraint); in find_resource()
666 * @constraint: the size and alignment constraints to be met.
670 struct resource_constraint *constraint) in reallocate_resource() argument
678 if ((err = __find_resource(root, old, &new, newsize, constraint))) in reallocate_resource()
[all …]
/Linux-v5.4/Documentation/power/powercap/
Dpowercap.rst155 max_energy_range_uj) and constraint attributes (constraint_*) allowing controls
172 each zone there are 2 attributes representing the constraint names, 2 power
174 constraint_j_* attributes correspond to the jth constraint (j = 0,1).
221 An optional name of the constraint
/Linux-v5.4/sound/soc/codecs/
Dak4613.c94 struct snd_pcm_hw_constraint_list constraint; member
270 struct snd_pcm_hw_constraint_list *constraint = &priv->constraint; in ak4613_hw_constraints() local
274 constraint->list = ak4613_rates; in ak4613_hw_constraints()
275 constraint->mask = 0; in ak4613_hw_constraints()
276 constraint->count = 0; in ak4613_hw_constraints()
294 constraint->count = i + 1; in ak4613_hw_constraints()
298 SNDRV_PCM_HW_PARAM_RATE, constraint); in ak4613_hw_constraints()
/Linux-v5.4/include/linux/regulator/
Dmachine.h21 * Regulator operation constraint flags. These flags are used to enable
112 * @apply_uV: Apply the voltage constraint when initialising.
187 /* constraint flags */
190 unsigned apply_uV:1; /* apply uV constraint if min == max */
/Linux-v5.4/drivers/crypto/nx/
Dnx-842.h123 * compressed data can be less than the minimum constraint. It can be
125 * constraint.
129 * if any constraint is not met.
/Linux-v5.4/drivers/acpi/
Dsleep.c714 /* Device constraint entry structure */
721 /* Constraint package structure */
760 struct lpi_constraints *constraint; in lpi_device_get_constraints() local
790 constraint = &lpi_constraints_table[lpi_constraints_table_size]; in lpi_device_get_constraints()
792 status = acpi_get_handle(NULL, info.name, &constraint->handle); in lpi_device_get_constraints()
799 constraint->min_dstate = -1; in lpi_device_get_constraints()
826 constraint->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints()
831 if (constraint->min_dstate < 0) { in lpi_device_get_constraints()
833 "Incomplete constraint defined\n"); in lpi_device_get_constraints()
870 "LPI: Constraint not met; min power state:%s current power state:%s\n", in lpi_check_constraints()
/Linux-v5.4/sound/core/
Dpcm_lib.c1098 * snd_pcm_hw_rule_add - add the hw-constraint rule
1153 * snd_pcm_hw_constraint_mask - apply the given bitmap mask constraint
1158 * Apply the constraint of the given bitmap mask to a 32-bit mask parameter.
1175 * snd_pcm_hw_constraint_mask64 - apply the given bitmap mask constraint
1180 * Apply the constraint of the given bitmap mask to a 64-bit mask parameter.
1199 * snd_pcm_hw_constraint_integer - apply an integer constraint to an interval
1201 * @var: hw_params variable to apply the integer constraint
1203 * Apply the constraint of integer to an interval parameter.
1216 * snd_pcm_hw_constraint_minmax - apply a min/max range constraint to an interval
1222 * Apply the min/max range constraint to an interval parameter.
[all …]
/Linux-v5.4/drivers/cpufreq/
Dppc_cbe_cpufreq_pmi.c92 pr_warn("Failed to update freq constraint: %d\n", ret); in cbe_cpufreq_handle_pmi()
119 pr_err("Failed to add freq constraint (%d)\n", ret); in cbe_cpufreq_pmi_policy_init()
/Linux-v5.4/arch/x86/events/
Dperf_event.h74 #define PERF_X86_EVENT_DYNAMIC 0x0040 /* dynamic alloc'd constraint */
309 * a subset of any other counter mask of a constraint with an equal or
331 * Constraint on the Event code.
337 * Constraint on a range of Event codes
343 * Constraint on the Event code + UMask + fixed-mask
360 * Constraint on the Event code + UMask
365 /* Constraint on specific umask bit only + event */
385 /* Event constraint, but match on all event flags too. */
/Linux-v5.4/arch/powerpc/perf/
Dppc970-pmu.c83 * Layout of constraint bits:
89 * SP - SPCSEL constraint
92 * T0 - TTM0 constraint
95 * T1 - TTM1 constraint
98 * UC - unit constraint: can't have all three of FPU|IFU|VPU, ISU, IDU|STS
/Linux-v5.4/Documentation/arm/
Dporting.rst35 and eventually executed. The following constraint must be valid:
48 Virtual address of the initial RAM disk. The following constraint

1234567891011