/linux-master/arch/powerpc/kernel/ |
H A D | io.c | 29 u8 *tbuf = buf; local 38 *tbuf++ = tmp; 46 const u8 *tbuf = buf; local 52 *(volatile u8 __force *)port = *tbuf++; 60 u16 *tbuf = buf; local 69 *tbuf++ = tmp; 77 const u16 *tbuf = buf; local 83 *(volatile u16 __force *)port = *tbuf++; 91 u32 *tbuf = buf; local 100 *tbuf 108 const u32 *tbuf = buf; local [all...] |
/linux-master/drivers/video/backlight/ |
H A D | ili922x.c | 153 unsigned char tbuf[CMD_BUFSIZE]; local 159 xfer.tx_buf = tbuf; 164 tbuf[0] = set_tx_byte(START_BYTE(ili922x_id, START_RS_INDEX, 171 tbuf[i] = set_tx_byte(0); /* dummy */ 196 unsigned char tbuf[CMD_BUFSIZE]; local 203 xfer_regindex.tx_buf = tbuf; 208 tbuf[0] = set_tx_byte(START_BYTE(ili922x_id, START_RS_INDEX, 210 tbuf[1] = set_tx_byte(0); 211 tbuf[2] = set_tx_byte(reg); 218 tbuf[le 250 unsigned char tbuf[CMD_BUFSIZE]; local 329 unsigned char tbuf[CMD_BUFSIZE]; local [all...] |
/linux-master/drivers/scsi/snic/ |
H A D | snic_trc.c | 111 void *tbuf = NULL; local 115 tbuf = vzalloc(tbuf_sz); 116 if (!tbuf) { 124 trc->buf = (struct snic_trc_data *) tbuf;
|
/linux-master/tools/perf/ui/browsers/ |
H A D | res_sample.c | 48 char tbuf[64]; local 50 timestamp__scnprintf_nsec(res_samples[i].time, tbuf, sizeof tbuf); 51 if (asprintf(&names[i], "%s: CPU %d tid %d", tbuf,
|
/linux-master/drivers/tty/ |
H A D | n_hdlc.c | 267 struct n_hdlc_buf *tbuf; local 282 tbuf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); 283 while (tbuf) { 284 pr_debug("sending frame %p, count=%zu\n", tbuf, tbuf->count); 288 actual = tty->ops->write(tty, tbuf->buf, tbuf->count); 292 n_hdlc_buf_return(&n_hdlc->tx_buf_list, tbuf); 298 actual = tbuf->count; 300 if (actual == tbuf 525 struct n_hdlc_buf *tbuf; local [all...] |
/linux-master/drivers/char/tpm/ |
H A D | tpm2-space.c | 74 struct tpm_buf tbuf; local 79 rc = tpm_buf_init(&tbuf, TPM2_ST_NO_SESSIONS, TPM2_CC_CONTEXT_LOAD); 85 tpm_buf_append(&tbuf, &buf[*offset], body_size); 87 rc = tpm_transmit_cmd(chip, &tbuf, 4, NULL); 91 tpm_buf_destroy(&tbuf); 106 tpm_buf_destroy(&tbuf); 111 tpm_buf_destroy(&tbuf); 115 *handle = be32_to_cpup((__be32 *)&tbuf.data[TPM_HEADER_SIZE]); 118 tpm_buf_destroy(&tbuf); 125 struct tpm_buf tbuf; local [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | psock_snd.c | 52 static char tbuf[TEST_SZ], rbuf[TEST_SZ]; variable 157 off += build_vnet_header(tbuf); 158 off += build_eth_header(tbuf + off); 159 off += build_ipv4_header(tbuf + off, payload_len); 160 off += build_udp_header(tbuf + off, payload_len); 162 if (off + payload_len > sizeof(tbuf)) 165 memset(tbuf + off, DATA_CHAR, payload_len); 243 do_send(fd, tbuf, len); 374 tbuf + sizeof(struct virtio_net_hdr)); 376 do_rx(fdr, cfg_payload_len, tbuf [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | debugfs.c | 135 char tbuf[22]; local 142 ret = snprintf(tbuf, sizeof(tbuf), "%llu\n", field); 143 return simple_read_from_buffer(buf, count, pos, tbuf, ret); 173 char tbuf[6]; local 181 ret = snprintf(tbuf, sizeof(tbuf), "%d\n", field); 182 return simple_read_from_buffer(buf, count, pos, tbuf, ret); 453 char tbuf[18]; local 479 ret = snprintf(tbuf, sizeo [all...] |
/linux-master/drivers/gnss/ |
H A D | usb.c | 96 void *tbuf; local 99 tbuf = kmemdup(buf, count, GFP_KERNEL); 100 if (!tbuf) 103 ret = usb_bulk_msg(gusb->udev, gusb->write_pipe, tbuf, count, NULL, 105 kfree(tbuf);
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | max20730.c | 116 char tbuf[DEBUG_FS_DATA_MAX] = { 0 }; local 117 char *result = tbuf; 126 len = scnprintf(tbuf, DEBUG_FS_DATA_MAX, "%d.%d\n", 145 len = scnprintf(tbuf, DEBUG_FS_DATA_MAX, "%d\n", ret); 227 len = scnprintf(tbuf, DEBUG_FS_DATA_MAX, "%d\n", ret); 245 len = scnprintf(tbuf, DEBUG_FS_DATA_MAX, "%d\n", ret); 251 len = scnprintf(tbuf, DEBUG_FS_DATA_MAX, "%d\n", ret); 257 len = scnprintf(tbuf, DEBUG_FS_DATA_MAX, "%d\n", ret); 264 len = scnprintf(tbuf, DEBUG_FS_DATA_MAX, "%d\n", ret); 270 len = scnprintf(tbuf, DEBUG_FS_DATA_MA [all...] |
/linux-master/security/integrity/ima/ |
H A D | ima_policy.c | 2072 char tbuf[64] = {0,}; local 2120 snprintf(tbuf, sizeof(tbuf), "0x%lx", entry->fsmagic); 2121 seq_printf(m, pt(Opt_fsmagic), tbuf); 2126 snprintf(tbuf, sizeof(tbuf), "%s", entry->fsname); 2127 seq_printf(m, pt(Opt_fsname), tbuf); 2144 snprintf(tbuf, sizeof(tbuf), "%d", entry->pcr); 2145 seq_printf(m, pt(Opt_pcr), tbuf); [all...] |
/linux-master/fs/configfs/ |
H A D | file.c | 241 void *tbuf = NULL; local 262 tbuf = vmalloc(end_offset); 263 if (tbuf == NULL) { 270 memcpy(tbuf, buffer->bin_buffer, 276 memset(tbuf + buffer->bin_buffer_size, 0, 278 buffer->bin_buffer = tbuf;
|
/linux-master/block/ |
H A D | early-lookup.c | 258 char tbuf[BDEVT_SIZE]; local 259 snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); 260 snprintf(buf, BDEVT_SIZE, "%-9s", tbuf);
|
/linux-master/drivers/mtd/ubi/ |
H A D | cdev.c | 179 void *tbuf; local 204 tbuf = vmalloc(tbuf_size); 205 if (!tbuf) 217 err = ubi_eba_read_leb(ubi, vol, lnum, tbuf, off, len, 0); 230 err = copy_to_user(buf, tbuf, len); 240 vfree(tbuf); 256 char *tbuf; local 285 tbuf = vmalloc(tbuf_size); 286 if (!tbuf) 297 err = copy_from_user(tbuf, bu [all...] |
/linux-master/drivers/w1/masters/ |
H A D | ds2490.c | 911 u8 *tbuf; local 916 tbuf = kmemdup(buf, len, GFP_KERNEL); 917 if (!tbuf) 920 ds_write_block(dev, tbuf, len); 922 kfree(tbuf); 929 u8 *tbuf; local 934 tbuf = kmalloc(len, GFP_KERNEL); 935 if (!tbuf) 938 err = ds_read_block(dev, tbuf, len); 940 memcpy(buf, tbuf, le [all...] |
/linux-master/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 879 u8 *tbuf; local 881 tbuf = buf; 885 rx_stream = (void *) tbuf; 905 __carl9170_rx(ar, tbuf, tlen); 920 skb_put_data(ar->rx_failover, tbuf, tlen); 962 skb_put_data(ar->rx_failover, tbuf, tlen); 968 tbuf += wlen + 4;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | sd.c | 400 char tbuf[32]; local 404 ret = snprintf(tbuf, sizeof(tbuf), "%s vhca %#x\n", pci_name(dev->pdev), 407 return simple_read_from_buffer(buf, count, pos, tbuf, ret);
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-qcom-cci.c | 102 u16 tbuf; /* bus free time between a STOP and START condition */ member in struct:hw_params 285 val = hw->tbuf; 710 .tbuf = 118, 722 .tbuf = 32, 744 .tbuf = 118, 756 .tbuf = 32, 778 .tbuf = 227, 790 .tbuf = 62, 802 .tbuf = 24,
|
/linux-master/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 151 int dialog_textbox(const char *title, const char *tbuf, int initial_height, argument 164 buf = tbuf;
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | user_exp_rcv.c | 18 struct tid_user_buf *tbuf, 633 * @tbuf: pointer to struct tid_user_buf that has the user buffer starting 656 static int program_rcvarray(struct hfi1_filedata *fd, struct tid_user_buf *tbuf, argument 699 npages = tbuf->psets[setidx].count; 700 pageidx = tbuf->psets[setidx].idx; 702 ret = set_rcvarray_entry(fd, tbuf, 724 struct tid_user_buf *tbuf, 733 struct page **pages = tbuf->pages + pageidx; 765 tbuf->vaddr + (pageidx * PAGE_SIZE), npages * PAGE_SIZE, 723 set_rcvarray_entry(struct hfi1_filedata *fd, struct tid_user_buf *tbuf, u32 rcventry, struct tid_group *grp, u16 pageidx, unsigned int npages) argument
|
/linux-master/ipc/ |
H A D | shm.c | 1082 int cmd, struct shmid64_ds *tbuf) 1087 memset(tbuf, 0, sizeof(*tbuf)); 1131 kernel_to_ipc64_perm(&shp->shm_perm, &tbuf->shm_perm); 1132 tbuf->shm_segsz = shp->shm_segsz; 1133 tbuf->shm_atime = shp->shm_atim; 1134 tbuf->shm_dtime = shp->shm_dtim; 1135 tbuf->shm_ctime = shp->shm_ctim; 1137 tbuf->shm_atime_high = shp->shm_atim >> 32; 1138 tbuf 1081 shmctl_stat(struct ipc_namespace *ns, int shmid, int cmd, struct shmid64_ds *tbuf) argument [all...] |
/linux-master/drivers/iio/adc/ |
H A D | ad9467.c | 130 unsigned char tbuf[2], rbuf[1]; local 133 tbuf[0] = 0x80 | (reg >> 8); 134 tbuf[1] = reg & 0xFF; 137 tbuf, ARRAY_SIZE(tbuf),
|
/linux-master/drivers/usb/core/ |
H A D | message.c | 910 static int usb_get_langid(struct usb_device *dev, unsigned char *tbuf) argument 920 err = usb_string_sub(dev, 0, 0, tbuf); 943 dev->string_langid = tbuf[2] | (tbuf[3] << 8); 970 unsigned char *tbuf; local 980 tbuf = kmalloc(256, GFP_NOIO); 981 if (!tbuf) 984 err = usb_get_langid(dev, tbuf); 988 err = usb_string_sub(dev, dev->string_langid, index, tbuf); 993 err = utf16s_to_utf8s((wchar_t *) &tbuf[ [all...] |
/linux-master/drivers/comedi/drivers/ |
H A D | dt9812.c | 243 void *tbuf; local 247 tbuf = kzalloc(tbuf_size, GFP_KERNEL); 248 if (!tbuf) 251 cmd = tbuf; 265 tbuf, buf_size, &count, DT9812_USB_TIMEOUT); 268 memcpy(buf, tbuf, buf_size); 273 kfree(tbuf);
|
/linux-master/drivers/crypto/hisilicon/ |
H A D | debugfs.c | 713 char tbuf[QM_DBG_TMP_BUF_LEN]; local 738 ret = scnprintf(tbuf, QM_DBG_TMP_BUF_LEN, "%u\n", val); 739 return simple_read_from_buffer(buf, count, pos, tbuf, ret); 754 char tbuf[QM_DBG_TMP_BUF_LEN]; local 763 len = simple_write_to_buffer(tbuf, QM_DBG_TMP_BUF_LEN - 1, pos, buf, 768 tbuf[len] = '\0'; 769 if (kstrtoul(tbuf, 0, &val))
|