/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-pmcmsp.c | 104 u8 write_len; /* Number of bytes in the write buffer */ member 434 (((cmd->write_len - 1) & 0x7) << 4) | in pmcmsptwi_cmd_to_reg() 455 tmp >>= (MSP_MAX_BYTES_PER_RW - cmd->write_len) * 8; in pmcmsptwi_xfer_cmd() 459 if (cmd->write_len > 4) in pmcmsptwi_xfer_cmd() 507 cmd.write_len = msg->len; in pmcmsptwi_master_xfer() 515 cmd.write_len = 0; in pmcmsptwi_master_xfer() 521 cmd.write_len = msg->len; in pmcmsptwi_master_xfer()
|
D | i2c-mlxbf.c | 700 u8 op_idx, data_idx, data_len, write_len, read_len; in mlxbf_i2c_smbus_start_transaction() local 714 write_len = 0; in mlxbf_i2c_smbus_start_transaction() 746 write_len += operation->length; in mlxbf_i2c_smbus_start_transaction() 766 data_len = write_len + 1; /* Add one byte of the slave address. */ in mlxbf_i2c_smbus_start_transaction() 775 ret = mlxbf_i2c_smbus_enable(priv, slave, write_len, block_en, in mlxbf_i2c_smbus_start_transaction()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | svc_rdma_rw.c | 452 unsigned int write_len; in svc_rdma_build_writes() local 462 write_len = min(remaining, length - info->wi_seg_off); in svc_rdma_build_writes() 464 (write_len >> PAGE_SHIFT) + 2); in svc_rdma_build_writes() 468 constructor(info, write_len, ctxt); in svc_rdma_build_writes() 474 trace_svcrdma_send_wseg(handle, write_len, offset); in svc_rdma_build_writes() 478 if (write_len == length - info->wi_seg_off) { in svc_rdma_build_writes() 483 info->wi_seg_off += write_len; in svc_rdma_build_writes() 485 remaining -= write_len; in svc_rdma_build_writes()
|
/kernel/linux/linux-5.10/drivers/fsi/ |
D | fsi-core.c | 610 size_t total_len, write_len; in fsi_slave_sysfs_raw_write() local 619 for (total_len = 0; total_len < count; total_len += write_len) { in fsi_slave_sysfs_raw_write() 620 write_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_write() 622 rc = fsi_slave_write(slave, off, buf + total_len, write_len); in fsi_slave_sysfs_raw_write() 626 off += write_len; in fsi_slave_sysfs_raw_write() 734 size_t total_len, write_len; in cfam_write() local 745 for (total_len = 0; total_len < count; total_len += write_len) { in cfam_write() 748 write_len = min_t(size_t, count, 4); in cfam_write() 749 write_len -= off & 0x3; in cfam_write() 751 rc = copy_from_user(&data, buf + total_len, write_len); in cfam_write() [all …]
|
/kernel/linux/linux-5.10/fs/ubifs/ |
D | journal.c | 729 int write_len; in ubifs_jnl_write_data() local 783 write_len = ALIGN(dlen, 8) + auth_len; in ubifs_jnl_write_data() 785 write_len = dlen; in ubifs_jnl_write_data() 790 err = make_reservation(c, DATAHD, write_len); in ubifs_jnl_write_data() 795 err = write_head(c, DATAHD, data, write_len, &lnum, &offs, 0); in ubifs_jnl_write_data() 846 int sync = 0, write_len = 0, ilen = UBIFS_INO_NODE_SZ; in ubifs_jnl_write_inode() local 861 write_len += UBIFS_INO_NODE_SZ * ui->xattr_cnt; in ubifs_jnl_write_inode() 865 write_len += ALIGN(ilen, 8) + ubifs_auth_node_sz(c); in ubifs_jnl_write_inode() 867 write_len += ilen; in ubifs_jnl_write_inode() 869 ino_start = ino = kmalloc(write_len, GFP_NOFS); in ubifs_jnl_write_inode() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
D | pctv452e.c | 107 unsigned int write_len, unsigned int read_len) in tt3650_ci_msg() argument 115 if (!data || (write_len > 64 - 4) || (read_len > 64 - 4)) { in tt3650_ci_msg() 129 buf[3] = write_len; in tt3650_ci_msg() 131 memcpy(buf + 4, data, write_len); in tt3650_ci_msg() 134 ret = dvb_usb_generic_rw(d, buf, 4 + write_len, in tt3650_ci_msg() 157 u8 cmd, u8 *data, unsigned int write_len, in tt3650_ci_msg_locked() argument 165 ret = tt3650_ci_msg(d, cmd, data, write_len, read_len); in tt3650_ci_msg_locked()
|
D | ttusb2.c | 120 static int tt3650_ci_msg(struct dvb_usb_device *d, u8 cmd, u8 *data, unsigned int write_len, unsign… in tt3650_ci_msg() argument 124 ret = ttusb2_msg(d, cmd, data, write_len, rx, read_len); in tt3650_ci_msg() 130 static int tt3650_ci_msg_locked(struct dvb_ca_en50221 *ca, u8 cmd, u8 *data, unsigned int write_len… in tt3650_ci_msg_locked() argument 137 ret = tt3650_ci_msg(d, cmd, data, write_len, read_len); in tt3650_ci_msg_locked()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | refcounttree.h | 49 u32 cpos, u32 write_len, u32 max_cpos); 77 u32 cpos, u32 write_len,
|
D | refcounttree.c | 2632 u32 write_len, in ocfs2_refcount_cal_cow_clusters() argument 2646 BUG_ON(cpos + write_len > max_cpos); in ocfs2_refcount_cal_cow_clusters() 2713 want_clusters = write_len; in ocfs2_refcount_cal_cow_clusters() 2715 want_clusters = (cpos + write_len) - in ocfs2_refcount_cal_cow_clusters() 2746 (cpos + write_len)) { in ocfs2_refcount_cal_cow_clusters() 2786 want_clusters = (cpos + write_len) - *cow_start; in ocfs2_refcount_cal_cow_clusters() 2796 if ((*cow_start + *cow_len) >= (cpos + write_len)) in ocfs2_refcount_cal_cow_clusters() 3411 u32 cpos, u32 write_len, u32 max_cpos) in ocfs2_refcount_cow_hunk() argument 3424 cpos, write_len, max_cpos, in ocfs2_refcount_cow_hunk() 3432 cpos, write_len, max_cpos, in ocfs2_refcount_cow_hunk() [all …]
|
D | ocfs2_trace.h | 1097 unsigned int write_len, unsigned int max_cpos, 1099 TP_ARGS(ino, cpos, write_len, max_cpos, cow_start, cow_len), 1103 __field(unsigned int, write_len) 1111 __entry->write_len = write_len; 1117 __entry->ino, __entry->cpos, __entry->write_len,
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-cadence-quadspi.c | 409 size_t write_len; in cqspi_command_write() local 434 write_len = (n_tx > 4) ? 4 : n_tx; in cqspi_command_write() 435 memcpy(&data, txbuf, write_len); in cqspi_command_write() 436 txbuf += write_len; in cqspi_command_write() 441 write_len = n_tx - 4; in cqspi_command_write() 442 memcpy(&data, txbuf, write_len); in cqspi_command_write()
|
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 332 void *write_data,unsigned int write_len, 3576 void *write_data,unsigned int write_len, in pvr2_send_request_ex() argument 3604 if (!write_data) write_len = 0; in pvr2_send_request_ex() 3606 if (write_len > PVR2_CTL_BUFFSIZE) { in pvr2_send_request_ex() 3610 write_len,PVR2_CTL_BUFFSIZE); in pvr2_send_request_ex() 3617 write_len,PVR2_CTL_BUFFSIZE); in pvr2_send_request_ex() 3620 if ((!write_len) && (!read_len)) { in pvr2_send_request_ex() 3629 if (write_len && write_data) in pvr2_send_request_ex() 3633 hdw->cmd_debug_write_len = write_len; in pvr2_send_request_ex() 3644 if (write_len && write_data) { in pvr2_send_request_ex() [all …]
|
D | pvrusb2-hdw.h | 234 void *write_ptr,unsigned int write_len,
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | virtio-iommu.c | 157 size_t write_len; in __viommu_sync_req() local 175 write_len = req->len - req->write_offset; in __viommu_sync_req() 176 if (req->writeback && len == write_len) in __viommu_sync_req() 178 write_len); in __viommu_sync_req()
|
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/ |
D | rsi_91x_hal.c | 646 u32 write_addr, write_len; in bl_write_header() local 660 write_len = sizeof(struct bl_header); in bl_write_header() 665 (u8 *)bl_hdr, write_len); in bl_write_header() 684 (u8 *)bl_hdr, write_len); in bl_write_header()
|
/kernel/linux/linux-5.10/mm/ |
D | filemap.c | 3196 size_t write_len; in generic_file_direct_write() local 3199 write_len = iov_iter_count(from); in generic_file_direct_write() 3200 end = (pos + write_len - 1) >> PAGE_SHIFT; in generic_file_direct_write() 3205 pos + write_len - 1)) in generic_file_direct_write() 3209 pos + write_len - 1); in generic_file_direct_write() 3257 write_len -= written; in generic_file_direct_write() 3264 iov_iter_revert(from, write_len - iov_iter_count(from)); in generic_file_direct_write()
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
D | regmap.c | 2092 size_t write_len; in regmap_noinc_write() local 2115 write_len = map->max_raw_write; in regmap_noinc_write() 2117 write_len = val_len; in regmap_noinc_write() 2118 ret = _regmap_raw_write(map, reg, val, write_len, true); in regmap_noinc_write() 2121 val = ((u8 *)val) + write_len; in regmap_noinc_write() 2122 val_len -= write_len; in regmap_noinc_write()
|
/kernel/linux/linux-5.10/drivers/ps3/ |
D | ps3av.c | 207 struct ps3av_reply_hdr *recv_buf, int write_len, in ps3av_send_cmd_pkt() argument 218 res = ps3av_vuart_write(ps3av->dev, send_buf, write_len); in ps3av_send_cmd_pkt()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | journal.c | 979 int write_len; in flush_commit_list() local 1047 write_len = jl->j_len + 1; in flush_commit_list() 1048 if (write_len < 256) in flush_commit_list() 1049 write_len = 256; in flush_commit_list() 1050 for (i = 0 ; i < write_len ; i++) { in flush_commit_list()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | melfas_mip4.c | 180 char *write_buf, unsigned int write_len, in mip4_i2c_xfer() argument 188 .len = write_len, in mip4_i2c_xfer()
|
/kernel/linux/linux-5.10/include/linux/ |
D | skbuff.h | 3157 unsigned int write_len) in skb_try_make_writable() argument 3159 return skb_cloned(skb) && !skb_clone_writable(skb, write_len) && in skb_try_make_writable() 3579 int skb_ensure_writable(struct sk_buff *skb, int write_len);
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 1652 unsigned int write_len) in __bpf_try_make_writable() argument 1654 return skb_ensure_writable(skb, write_len); in __bpf_try_make_writable() 1658 unsigned int write_len) in bpf_try_make_writable() argument 1660 int err = __bpf_try_make_writable(skb, write_len); in bpf_try_make_writable() 1864 unsigned int write_len) in sk_skb_try_make_writable() argument 1866 int err = __bpf_try_make_writable(skb, write_len); in sk_skb_try_make_writable()
|
D | skbuff.c | 5498 int skb_ensure_writable(struct sk_buff *skb, int write_len) in skb_ensure_writable() argument 5500 if (!pskb_may_pull(skb, write_len)) in skb_ensure_writable() 5503 if (!skb_cloned(skb) || skb_clone_writable(skb, write_len)) in skb_ensure_writable()
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 54121 + ssize_t write_len = 0; 54142 + write_len = amlkey_write((u8 *)name, (u8 *)data, len, attr); 54143 + if (write_len != len) { 54144 + pr_err("%u != %zd bytes\n", len, write_len);
|