| /linux/drivers/char/tpm/ |
| H A D | tpm-interface.c | 92 static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz) in tpm_try_transmit() argument 100 if (bufsiz < TPM_HEADER_SIZE) in tpm_try_transmit() 103 if (bufsiz > TPM_BUFSIZE) in tpm_try_transmit() 104 bufsiz = TPM_BUFSIZE; in tpm_try_transmit() 110 if (count > bufsiz) { in tpm_try_transmit() 112 "invalid count value %x %zx\n", count, bufsiz); in tpm_try_transmit() 116 rc = chip->ops->send(chip, buf, bufsiz, count); in tpm_try_transmit() 174 len = chip->ops->recv(chip, buf, bufsiz); in tpm_try_transmit() 204 ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz) in tpm_transmit() argument 212 const size_t save_size = min(sizeof(save), bufsiz); in tpm_transmit() [all …]
|
| H A D | tpm_svsm.c | 28 static int tpm_svsm_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_svsm_send() argument 49 return svsm_vtpm_cmd_response_parse(priv->buffer, buf, bufsiz); in tpm_svsm_send()
|
| H A D | tpm-dev-common.c | 25 u8 *buf, size_t bufsiz) in tpm_dev_transmit() argument 33 ret = tpm2_prepare_space(chip, space, buf, bufsiz); in tpm_dev_transmit() 47 len = tpm_transmit(chip, buf, bufsiz); in tpm_dev_transmit()
|
| H A D | tpm2-space.c | 541 void *buf, size_t *bufsiz) in tpm2_commit_space() argument 549 rc = tpm2_map_response_header(chip, chip->last_cc, buf, *bufsiz); in tpm2_commit_space() 555 rc = tpm2_map_response_body(chip, chip->last_cc, buf, *bufsiz); in tpm2_commit_space() 567 *bufsiz = be32_to_cpu(header->length); in tpm2_commit_space()
|
| H A D | tpm_i2c_atmel.c | 40 static int i2c_atmel_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in i2c_atmel_send() argument
|
| H A D | tpm_atmel.c | 151 static int tpm_atml_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_atml_send() argument
|
| H A D | tpm_nsc.c | 181 static int tpm_nsc_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_nsc_send() argument
|
| H A D | xen-tpmfront.c | 134 static int vtpm_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in vtpm_send() argument
|
| H A D | tpm_infineon.c | 315 static int tpm_inf_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_inf_send() argument
|
| H A D | tpm_ibmvtpm.c | 201 static int tpm_ibmvtpm_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_ibmvtpm_send() argument
|
| H A D | tpm_vtpm_proxy.c | 330 static int vtpm_proxy_tpm_op_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in vtpm_proxy_tpm_op_send() argument
|
| H A D | tpm_i2c_nuvoton.c | 353 static int i2c_nuvoton_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in i2c_nuvoton_send() argument
|
| H A D | tpm_crb.c | 442 static int crb_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, size_t len) in crb_send() argument
|
| H A D | tpm_tis_core.c | 582 static int tpm_tis_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_tis_send() argument
|
| /linux/arch/sh/include/asm/ |
| H A D | platform_early.h | 40 #define sh_early_platform_init_buffer(class_string, platdrv, buf, bufsiz) \ argument 44 .bufsize = bufsiz, \ 54 #define sh_early_platform_init_buffer(class_string, platdrv, buf, bufsiz) \ argument 57 return bufsiz ? buf : NULL; \
|
| /linux/drivers/spi/ |
| H A D | spidev.c | 86 static unsigned bufsiz = 4096; variable 87 module_param(bufsiz, uint, S_IRUGO); 88 MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message"); 146 if (count > bufsiz) in spidev_read() 183 if (count > bufsiz) in spidev_write() 254 if (rx_total > bufsiz) { in spidev_message() 264 if (tx_total > bufsiz) { in spidev_message() 590 spidev->tx_buffer = kmalloc(bufsiz, GFP_KERNEL); in spidev_open() 598 spidev->rx_buffer = kmalloc(bufsiz, GFP_KERNEL); in spidev_open()
|
| /linux/drivers/input/ |
| H A D | mousedev.c | 105 unsigned char ready, buffer, bufsiz; member 594 client->bufsiz = 4; in mousedev_packet() 605 client->bufsiz = 4; in mousedev_packet() 615 client->bufsiz = 3; in mousedev_packet() 637 client->bufsiz++; /* account for leading ACK */ in mousedev_generate_response() 652 client->bufsiz = 2; in mousedev_generate_response() 657 client->bufsiz = 4; in mousedev_generate_response() 664 client->bufsiz = 3; in mousedev_generate_response() 668 client->bufsiz = 1; in mousedev_generate_response() 671 client->buffer = client->bufsiz; in mousedev_generate_response() [all …]
|
| /linux/kernel/locking/ |
| H A D | lockdep_proc.c | 433 static void snprint_time(char *buf, size_t bufsiz, s64 nr) in snprint_time() argument 440 snprintf(buf, bufsiz, "%lld.%02d", (long long)div, (int)rem/10); in snprint_time()
|
| /linux/include/linux/ |
| H A D | tpm.h | 92 int (*send)(struct tpm_chip *chip, u8 *buf, size_t bufsiz,
|
| H A D | syscalls.h | 524 int bufsiz); 1193 char __user *buf, int bufsiz);
|
| /linux/fs/ecryptfs/ |
| H A D | inode.c | 639 static char *ecryptfs_readlink_lower(struct dentry *dentry, size_t *bufsiz) in ecryptfs_readlink_lower() argument 651 rc = ecryptfs_decode_and_decrypt_filename(&buf, bufsiz, dentry->d_sb, in ecryptfs_readlink_lower()
|
| /linux/fs/ubifs/ |
| H A D | lpt.c | 1659 int bufsiz = max_t(int, c->nnode_sz, c->pnode_sz); in ubifs_lpt_calc_hash() local 1676 buf = kmalloc(bufsiz, GFP_NOFS); in ubifs_lpt_calc_hash()
|