/linux-master/arch/arm/kernel/ |
H A D | spectre.c | 26 void spectre_v2_update_state(unsigned int state, unsigned int method) argument 30 spectre_v2_methods |= method; 36 const char *method; local 49 method = "Branch predictor hardening"; 53 method = "I-cache invalidation"; 58 method = "Firmware call"; 62 method = "History overwrite"; 66 method = "Multiple mitigations"; 70 return sprintf(buf, "Mitigation: %s\n", method);
|
H A D | cpuidle.c | 54 * @method: the method name 57 * method name. 61 static const struct cpuidle_ops *__init arm_cpuidle_get_ops(const char *method) argument 65 for (; m->method; m++) 66 if (!strcmp(m->method, method)) 77 * Get the method name defined in the 'enable-method' property, retrieve the 82 * Return 0 on sucess, -ENOENT if no 'enable-method' i [all...] |
H A D | devtree.c | 36 const char *method; local 39 if (of_property_read_string(node, "enable-method", &method)) 42 for (; m->method; m++) 43 if (!strcmp(m->method, method)) { 144 * Fallback to an enable-method in the cpus node if nothing found in
|
/linux-master/tools/testing/selftests/mm/ |
H A D | write_hugetlb_memory.sh | 11 method=$6 19 echo "Method is $method" 22 ./write_to_hugetlbfs -p "$path" -s "$size" "$write" "$populate" -m "$method" \
|
H A D | charge_reserved_hugetlb.sh | 158 local method="$6" 183 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] || 187 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output & 220 "$cgroup" "$path" "$method" "$private" "$reserve" 276 local method="$7" 296 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \ 324 local method="${12}" 350 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \ 367 "$populate2" "$write2" "/mnt/huge/test2" "$method" " [all...] |
H A D | write_to_hugetlbfs.c | 21 enum method { enum 71 enum method method = MAX_METHOD; local 98 method = atoi(optarg); 147 if (method == MAX_METHOD) { 152 printf("Using method=%d\n", method); 164 switch (method) { 219 err(1, "Invalid method."); 236 if (method [all...] |
/linux-master/arch/arm/mm/ |
H A D | proc-v7-bugs.c | 66 static unsigned int spectre_v2_install_workaround(unsigned int method) argument 74 switch (method) { 109 static unsigned int spectre_v2_install_workaround(unsigned int method) argument 119 unsigned int state, method = 0; local 129 method = SPECTRE_V2_METHOD_BPIALL; 135 method = SPECTRE_V2_METHOD_ICIALLU; 161 method = SPECTRE_V2_METHOD_HVC; 165 method = SPECTRE_V2_METHOD_SMC; 175 state = spectre_v2_install_workaround(method); 177 spectre_v2_update_state(state, method); 183 spectre_bhb_method_name(int method) argument 197 spectre_bhb_install_workaround(int method) argument 219 spectre_bhb_install_workaround(int method) argument 227 unsigned int state, method = 0; local [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | dsmethod.c | 4 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing 34 * PARAMETERS: node - Namespace Node of the method 39 * DESCRIPTION: Parse a control method AML to scan for control methods that 43 * there is only a problem if the method actually blocks during execution. 46 * detect whether a method will block or not, so we simply mark all suspicious 50 * control method. 68 /* Create/Init a root op for the method parse tree */ 70 op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start); 88 obj_desc->method.aml_start, 89 obj_desc->method [all...] |
H A D | dbmethod.c | 36 * DESCRIPTION: Set a breakpoint in a control method at the specified 50 acpi_os_printf("There is no method currently executing\n"); 78 * DESCRIPTION: Set a breakpoint in a control method at the specified 87 acpi_os_printf("There is no method currently executing\n"); 104 * DESCRIPTION: Set a local or argument for the running control method. 151 acpi_os_printf("There is no method currently executing\n"); 168 /* Set a method argument */ 191 /* Set a method local */ 241 acpi_os_printf("There is no method currently executing\n"); 256 * PARAMETERS: name - Name of control method 271 struct acpi_namespace_node *method; local [all...] |
H A D | psxface.c | 37 * method execution 68 * parameters - List of parameters to pass to the method, 71 * return_object - Where to put method's return value (if 74 * return_object - Where to put method's return value (if 80 * DESCRIPTION: Execute a control method 96 /* Validate the Info and method Node */ 102 /* Init for new method, wait on concurrency semaphore */ 116 * Execute the method. Performs parse simultaneously 124 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); 134 acpi_ds_create_walk_state(info->obj_desc->method [all...] |
H A D | dbutils.c | 327 union acpi_parse_object *method; local 340 method = op; 354 method->named.data; 357 method->named.data + method->named.length; 369 (method->common.value.arg)->common.aml_offset + 1; 370 start_op = (method->common.value.arg)->common.next;
|
/linux-master/arch/sh/boards/ |
H A D | of-generic.c | 57 const char *method = NULL; local 68 if (!method) 69 of_property_read_string(np, "enable-method", &method); 76 if (!method) { 78 of_property_read_string(np, "enable-method", &method); 82 pr_info("CPU enable method: %s\n", method); 83 if (method) [all...] |
/linux-master/arch/arm/include/asm/ |
H A D | cpuidle.h | 41 const char *method; member in struct:of_cpuidle_method 47 __cpuidle_method_section = { .method = _method, .ops = _ops }
|
H A D | spectre.h | 36 int spectre_bhb_update_vectors(unsigned int method);
|
H A D | smp.h | 105 const char *method; member in struct:of_cpu_method 112 = { .method = _method, .ops = _ops }
|
/linux-master/drivers/remoteproc/ |
H A D | imx_rproc.h | 18 /* Remote core start/stop method */ 38 enum imx_rproc_method method; member in struct:imx_rproc_dcfg
|
/linux-master/drivers/iio/adc/ |
H A D | twl4030-madc.c | 122 * @method: RT, SW1, SW2 123 * @type: Polling or interrupt based method 132 u16 method; member in struct:twl4030_madc_request 183 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; 467 const struct twl4030_madc_conversion_method *method; local 496 /* No pending results for this method, move to next one */ 499 method = &twl4030_conversion_methods[r->method]; 501 twl4030_madc_read_channels(madc, method->rbase, 520 method 544 const struct twl4030_madc_conversion_method *method; local 606 const struct twl4030_madc_conversion_method *method; local [all...] |
/linux-master/drivers/acpi/dptf/ |
H A D | dptf_pch_fivr.c | 17 static int pch_fivr_read(acpi_handle handle, char *method, struct pch_fivr_resp *fivr_resp) argument 26 status = acpi_evaluate_object(handle, method, NULL, &buffer); 56 #define PCH_FIVR_SHOW(name, method) \ 65 status = pch_fivr_read(acpi_dev->handle, #method, &fivr_resp);\ 72 #define PCH_FIVR_STORE(name, method) \ 84 status = acpi_execute_simple_method(acpi_dev->handle, #method, val);\
|
/linux-master/drivers/infiniband/core/ |
H A D | sa.h | 52 struct ib_device *device, u32 port_num, u8 method,
|
/linux-master/arch/sh/include/asm/ |
H A D | smp.h | 68 const char *method; member in struct:of_cpu_method 75 = { .method = _method, .ops = _ops }
|
/linux-master/net/mac80211/ |
H A D | mesh_sync.c | 32 u8 method; member in struct:sync_method 198 .method = IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET, 206 const struct ieee80211_mesh_sync_ops *ieee80211_mesh_sync_ops_get(u8 method) argument 211 if (sync_methods[i].method == method)
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_mad.c | 116 mad->mad_hdr.method == IB_MGMT_METHOD_SET) { 155 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP && 210 if (in->mad_hdr.method == IB_MGMT_METHOD_TRAP && !slid) { 223 if (in->mad_hdr.method != IB_MGMT_METHOD_GET && 224 in->mad_hdr.method != IB_MGMT_METHOD_SET && 225 in->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) 239 if (in->mad_hdr.method != IB_MGMT_METHOD_GET && 240 in->mad_hdr.method != IB_MGMT_METHOD_SET) 246 in->mad_hdr.method == IB_MGMT_METHOD_SET && 270 if (in->mad_hdr.method [all...] |
/linux-master/net/tipc/ |
H A D | bcast.c | 61 * @rc_ratio: dest count as percentage of cluster size where send method changes 213 struct tipc_mc_method *method) 216 unsigned long exp = method->expires; 220 method->rcast = true; 225 method->rcast = false; 228 /* Can current method be changed ? */ 229 method->expires = jiffies + TIPC_METHOD_EXPIRE; 230 if (method->mandatory) 237 /* Configuration as force 'broadcast' method */ 239 method 212 tipc_bcast_select_xmit_method(struct net *net, int dests, struct tipc_mc_method *method) argument 317 tipc_mcast_send_sync(struct net *net, struct sk_buff *skb, struct tipc_mc_method *method, struct tipc_nlist *dests) argument 378 tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_mc_method *method, struct tipc_nlist *dests, u16 *cong_link_cnt) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | efx_common.c | 705 void efx_reset_down(struct efx_nic *efx, enum reset_type method) argument 709 if (method == RESET_TYPE_MCDI_TIMEOUT) 739 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) argument 745 if (method == RESET_TYPE_MCDI_TIMEOUT) 758 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && 759 method != RESET_TYPE_DATAPATH) { 803 /* Reset the NIC using the specified method. Note that the reset may 808 int efx_reset(struct efx_nic *efx, enum reset_type method) argument 814 RESET_TYPE(method)); 821 efx_reset_down(efx, method); 875 enum reset_type method; local 905 enum reset_type method; local [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | efx_common.c | 716 void efx_siena_reset_down(struct efx_nic *efx, enum reset_type method) argument 720 if (method == RESET_TYPE_MCDI_TIMEOUT) 750 int efx_siena_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) argument 756 if (method == RESET_TYPE_MCDI_TIMEOUT) 769 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && 770 method != RESET_TYPE_DATAPATH) { 816 /* Reset the NIC using the specified method. Note that the reset may 821 int efx_siena_reset(struct efx_nic *efx, enum reset_type method) argument 827 RESET_TYPE(method)); 834 efx_siena_reset_down(efx, method); 888 enum reset_type method; local 918 enum reset_type method; local [all...] |