Home
last modified time | relevance | path

Searched full:locality (Results 1 – 25 of 127) sorted by relevance

123456

/linux-6.8/drivers/char/tpm/
Dtpm_tis_core.c164 priv->locality = l; in check_locality()
252 rc = tpm_tis_read8(priv, TPM_STS(priv->locality), &status); in tpm_tis_status()
260 * returning 0xff because the locality hasn't been in tpm_tis_status()
286 tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_COMMAND_READY); in tpm_tis_ready()
302 rc = tpm_tis_read32(priv, TPM_STS(priv->locality), &value); in get_burstcount()
333 rc = tpm_tis_read_bytes(priv, TPM_DATA_FIFO(priv->locality), in recv_data()
416 tpm_tis_write8(priv, TPM_STS(priv->locality), in tpm_tis_recv()
458 rc = tpm_tis_write_bytes(priv, TPM_DATA_FIFO(priv->locality), in tpm_tis_send_data()
478 rc = tpm_tis_write8(priv, TPM_DATA_FIFO(priv->locality), buf[count]); in tpm_tis_send_data()
511 tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &int_mask); in __tpm_tis_disable_interrupts()
[all …]
Dtpm_i2c_infineon.c61 int locality; member
323 tpm_dev.locality = loc; in check_locality()
372 if (iic_tpm_read(TPM_STS(tpm_dev.locality), &buf, 1) < 0) in tpm_tis_i2c_status()
386 iic_tpm_write_long(TPM_STS(tpm_dev.locality), &buf, 1); in tpm_tis_i2c_ready()
400 if (iic_tpm_read(TPM_STS(tpm_dev.locality)+1, buf, 3) < 0) in get_burstcount()
454 rc = iic_tpm_read(TPM_DATA_FIFO(tpm_dev.locality), in recv_data()
513 release_locality(chip, tpm_dev.locality, 0); in tpm_tis_i2c_recv()
552 rc = iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), in tpm_tis_i2c_send()
575 iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), &(buf[count]), 1); in tpm_tis_i2c_send()
583 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1); in tpm_tis_i2c_send()
[all …]
Dtpm_tis_i2c.c80 * For most addresses this can be done by simply stripping off the locality
86 * Locality information is ignored, since this driver assumes exclusive access
87 * to the TPM and always uses locality 0.
334 const u8 locality = 0; in tpm_tis_i2c_probe() local
354 ret = tpm_tis_i2c_write_bytes(&phy->priv, TPM_LOC_SEL, sizeof(locality), in tpm_tis_i2c_probe()
355 &locality, TPM_TIS_PHYS_8); in tpm_tis_i2c_probe()
Dtpm_vtpm_proxy.c395 static int vtpm_proxy_request_locality(struct tpm_chip *chip, int locality) in vtpm_proxy_request_locality() argument
410 tpm_buf_append_u8(&buf, locality); in vtpm_proxy_request_locality()
414 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to set locality"); in vtpm_proxy_request_locality()
419 locality = rc; in vtpm_proxy_request_locality()
426 locality = -1; in vtpm_proxy_request_locality()
431 return locality; in vtpm_proxy_request_locality()
Dtpm-chip.c51 chip->locality = rc; in tpm_request_locality()
62 rc = chip->ops->relinquish_locality(chip, chip->locality); in tpm_relinquish_locality()
66 chip->locality = -1; in tpm_relinquish_locality()
111 if (chip->locality == -1) { in tpm_chip_start()
370 chip->locality = -1; in tpm_chip_alloc()
Dtpm_tis_i2c_cr50.c288 * tpm_cr50_check_locality() - Verify TPM locality 0 is active.
312 * tpm_cr50_release_locality() - Release TPM locality.
332 * tpm_cr50_request_locality() - Request TPM locality 0.
731 dev_err(dev, "Could not request locality\n"); in tpm_cr50_i2c_probe()
Dtpm_tis_spi_cr50.c252 tpm_tis_write8(data, TPM_CR50_FW_VER(data->locality), 0); in cr50_print_fw_version()
256 tpm_tis_read_bytes(data, TPM_CR50_FW_VER(data->locality), 4, in cr50_print_fw_version()
/linux-6.8/Documentation/filesystems/ext4/
Dallocators.rst6 ext4 recognizes (better than ext3, anyway) that data locality is
11 but locality can increase the size of each transfer request while
12 reducing the total number of requests. This locality may also have the
45 maintain data locality. However, there is a deliberate quirk -- when a
/linux-6.8/Documentation/core-api/
Dworkqueue.rst98 things like CPU locality, concurrency limits, priority and more. To
173 possible. Unbound wq sacrifices locality but is useful for
347 level of locality in wq operations and work item execution.
354 cache locality. For example, if a workqueue is using the default affinity
408 locality while still being able to utilize other CPUs if necessary and
423 kernel, there exists a pronounced trade-off between locality and utilization
426 Higher locality leads to higher efficiency where more work is performed for
427 the same number of consumed CPU cycles. However, higher locality may also
449 execution locality matter between the issuer and ``kcryptd``. The following
477 locality.
[all …]
/linux-6.8/drivers/char/tpm/st33zp24/
Dst33zp24.c101 * if the locality is active
126 return tpm_dev->locality; in request_locality()
135 /* Request locality is usually effective after the request */ in request_locality()
138 return tpm_dev->locality; in request_locality()
142 /* could not get locality */ in request_locality()
472 tpm_dev->locality = LOCALITY0; in st33zp24_probe()
Dst33zp24.h20 int locality; member
/linux-6.8/Documentation/mm/
Dmultigen_lru.rst18 * Try to profit from spatial locality
29 Exploiting spatial locality improves efficiency when gathering the
72 * Accesses exhibiting temporal locality
73 * Accesses not exhibiting temporal locality
189 ``lru_gen_look_around()`` exploits spatial locality to reduce the
/linux-6.8/kernel/sched/
Dfeatures.h14 * touched, increases cache locality.
20 * cache buddy being migrated away, increases cache locality.
/linux-6.8/net/netfilter/ipvs/
DKconfig179 tristate "locality-based least-connection scheduling"
181 The locality-based least-connection scheduling algorithm is for
193 tristate "locality-based least-connection with replication scheduling"
195 The locality-based least-connection with replication scheduling
Dip_vs_lblc.c3 * IPVS: Locality-Based Least-Connection scheduling module
478 * Locality-Based (weighted) Least-Connection scheduling
635 MODULE_DESCRIPTION("ipvs locality-based least-connection scheduler");
/linux-6.8/arch/sh/mm/
Dsram.c27 * This is a global pool, we don't care about node locality. in sram_pool_init()
/linux-6.8/lib/
Ddhry.h101 * (distribution of statements, operand types and locality)
172 * - operand locality
281 * 4. Operand Locality:
Dsmp_processor_id.c31 * It is valid to assume CPU-locality during early bootup: in check_preemption_disabled()
/linux-6.8/fs/ext4/
Dmballoc.h61 * We use locality group prealloc space for stream request.
156 * Locality group:
/linux-6.8/Documentation/admin-guide/mm/
Dnumaperf.rst5 NUMA Locality
14 under different domains, or "nodes", based on locality and performance
/linux-6.8/fs/xfs/libxfs/
Dxfs_alloc.c911 /* deactivate a bnobt cursor outside of locality range */ in xfs_alloc_cur_check()
927 * the candidate extent size. Compare locality for near allocation mode. in xfs_alloc_cur_check()
936 * Deactivate a bnobt cursor with worse locality than the current best. in xfs_alloc_cur_check()
998 * Locality allocation lookup algorithm. This expects a cntbt cursor and uses
999 * bno optimized lookup to search for extents with ideal size and locality.
1015 /* locality optimized lookup */ in xfs_alloc_cntbt_iter()
1056 * than absolute best locality. in xfs_alloc_cntbt_iter()
1344 * ideal locality based on the NEAR mode ->agbno locality hint.
1373 * right and lookup the closest extent to the locality hint for each in xfs_alloc_ag_vextent_locality()
1376 * locality. Otherwise the search continues until the cntbt cursor runs in xfs_alloc_ag_vextent_locality()
[all …]
/linux-6.8/include/uapi/linux/
Dvtpm_proxy.h50 /* vendor specific commands to set locality */
/linux-6.8/lib/zstd/common/
Dcompiler.h86 # define PREFETCH_L1(ptr) __builtin_prefetch((ptr), 0 /* rw==read */, 3 /* locality */)
87 # define PREFETCH_L2(ptr) __builtin_prefetch((ptr), 0 /* rw==read */, 2 /* locality */)
/linux-6.8/Documentation/arch/x86/
Dorc-unwinder.rst44 instruction cache locality improvement: 3.2% .text savings almost
47 whose cache locality is borderline."
/linux-6.8/include/xen/interface/io/
Dtpmif.h45 uint8_t locality; /* for the current request */ member

123456