Home
last modified time | relevance | path

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

12345

/linux/drivers/char/tpm/
H A 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 …]
H A Dtpm_tis_i2c_cr50.c285 * tpm_cr50_check_locality() - Verify if required TPM locality is active.
287 * @loc: Locality to be verified
310 * tpm_cr50_release_locality() - Release TPM locality.
312 * @loc: Locality to be released
341 * tpm_cr50_request_locality() - Request TPM locality.
343 * @loc: Locality to be requested.
393 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)) < 0) in tpm_cr50_i2c_tis_status()
409 tpm_cr50_i2c_write(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)); in tpm_cr50_i2c_tis_set_ready()
439 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)) < 0) { in tpm_cr50_i2c_get_burst_and_status()
473 u8 addr = TPM_I2C_DATA_FIFO(chip->locality); in tpm_cr50_i2c_tis_recv()
[all …]
H A 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()
H A Dtpm_vtpm_proxy.c394 static int vtpm_proxy_request_locality(struct tpm_chip *chip, int locality) in vtpm_proxy_request_locality() argument
409 tpm_buf_append_u8(&buf, locality); in vtpm_proxy_request_locality()
413 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to set locality"); in vtpm_proxy_request_locality()
418 locality = rc; in vtpm_proxy_request_locality()
425 locality = -1; in vtpm_proxy_request_locality()
430 return locality; in vtpm_proxy_request_locality()
H A 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()
376 chip->locality = -1; in tpm_chip_alloc()
/linux/Documentation/security/tpm/
H A Dtpm_tis.rst28 locality 0 by setting the requestUse bit in the TPM_ACCESS register. The bit is
31 informs the chip that the locality has been relinquished.
36 - Locality 0 has the lowest priority.
37 - Locality 5 has the highest priority.
/linux/Documentation/filesystems/ext4/
H A 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/drivers/char/tpm/st33zp24/
H A 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()
H A Dst33zp24.h20 int locality; member
/linux/Documentation/core-api/
H A Dworkqueue.rst106 things like CPU locality, concurrency limits, priority and more. To
192 possible. Unbound wq sacrifices locality but is useful for
367 level of locality in wq operations and work item execution.
374 cache locality. For example, if a workqueue is using the default affinity
428 locality while still being able to utilize other CPUs if necessary and
443 kernel, there exists a pronounced trade-off between locality and utilization
446 Higher locality leads to higher efficiency where more work is performed for
447 the same number of consumed CPU cycles. However, higher locality may also
469 execution locality matter between the issuer and ``kcryptd``. The following
497 locality.
[all …]
/linux/Documentation/mm/
H A 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/kernel/sched/
H A Dfeatures.h30 * touched, increases cache locality.
36 * cache buddy being migrated away, increases cache locality.
/linux/net/netfilter/ipvs/
H A 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
H A Dip_vs_lblc.c3 * IPVS: Locality-Based Least-Connection scheduling module
477 * Locality-Based (weighted) Least-Connection scheduling
632 MODULE_DESCRIPTION("ipvs locality-based least-connection scheduler");
/linux/Documentation/filesystems/nfs/
H A Dlocalio.rst30 beginning, the ultimate use case this locality makes possible is the
108 advantage of NFS client and server locality. Policy that initiates
118 allows the NFS client to negotiate and leverage locality without
119 requiring more elaborate modeling and discovery of such locality in a
/linux/lib/
H A Ddhry.h101 * (distribution of statements, operand types and locality)
172 * - operand locality
281 * 4. Operand Locality:
H A Dsmp_processor_id.c31 * It is valid to assume CPU-locality during early bootup: in check_preemption_disabled()
/linux/arch/sh/mm/
H A Dsram.c27 * This is a global pool, we don't care about node locality. in sram_pool_init()
/linux/fs/xfs/libxfs/
H A Dxfs_alloc.c1048 /* deactivate a bnobt cursor outside of locality range */ in xfs_alloc_cur_check()
1064 * the candidate extent size. Compare locality for near allocation mode. in xfs_alloc_cur_check()
1073 * Deactivate a bnobt cursor with worse locality than the current best. in xfs_alloc_cur_check()
1133 * Locality allocation lookup algorithm. This expects a cntbt cursor and uses
1134 * bno optimized lookup to search for extents with ideal size and locality.
1150 /* locality optimized lookup */ in xfs_alloc_cntbt_iter()
1191 * than absolute best locality. in xfs_alloc_cntbt_iter()
1482 * ideal locality based on the NEAR mode ->agbno locality hint.
1511 * right and lookup the closest extent to the locality hint for each in xfs_alloc_ag_vextent_locality()
1514 * locality. Otherwise the search continues until the cntbt cursor runs in xfs_alloc_ag_vextent_locality()
[all …]
/linux/Documentation/admin-guide/mm/
H A Dnumaperf.rst5 NUMA Locality
14 under different domains, or "nodes", based on locality and performance
/linux/lib/zstd/common/
H A 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/Documentation/arch/x86/
H A Dorc-unwinder.rst44 instruction cache locality improvement: 3.2% .text savings almost
47 whose cache locality is borderline."
/linux/include/uapi/linux/
H A Dvtpm_proxy.h50 /* vendor specific commands to set locality */
/linux/include/xen/interface/io/
H A Dtpmif.h45 uint8_t locality; /* for the current request */ member
/linux/drivers/acpi/numa/
H A Dhmat.c367 pr_notice_once("Failed to allocate HMAT locality\n"); in hmat_add_locality()
428 pr_notice("Unexpected locality header length: %u\n", in hmat_parse_locality()
440 pr_notice("Unexpected locality header length:%u, minimum required:%u\n", in hmat_parse_locality()
445 pr_info("Locality: Flags:%02x Type:%s Initiator Domains:%u Target Domains:%u Base:%lld\n", in hmat_parse_locality()

12345