Home
last modified time | relevance | path

Searched refs:write_len (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/i2c/busses/
Di2c-pmcmsp.c104 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()
/linux-4.19.296/drivers/fsi/
Dfsi-core.c612 size_t total_len, write_len; in fsi_slave_sysfs_raw_write() local
621 for (total_len = 0; total_len < count; total_len += write_len) { in fsi_slave_sysfs_raw_write()
622 write_len = aligned_access_size(off, count - total_len); in fsi_slave_sysfs_raw_write()
624 rc = fsi_slave_write(slave, off, buf + total_len, write_len); in fsi_slave_sysfs_raw_write()
628 off += write_len; in fsi_slave_sysfs_raw_write()
736 size_t total_len, write_len; in cfam_write() local
747 for (total_len = 0; total_len < count; total_len += write_len) { in cfam_write()
750 write_len = min_t(size_t, count, 4); in cfam_write()
751 write_len -= off & 0x3; in cfam_write()
753 rc = copy_from_user(&data, buf + total_len, write_len); in cfam_write()
[all …]
/linux-4.19.296/fs/ocfs2/
Drefcounttree.h57 u32 cpos, u32 write_len, u32 max_cpos);
85 u32 cpos, u32 write_len,
Drefcounttree.c2638 u32 write_len, in ocfs2_refcount_cal_cow_clusters() argument
2652 BUG_ON(cpos + write_len > max_cpos); in ocfs2_refcount_cal_cow_clusters()
2719 want_clusters = write_len; in ocfs2_refcount_cal_cow_clusters()
2721 want_clusters = (cpos + write_len) - in ocfs2_refcount_cal_cow_clusters()
2752 (cpos + write_len)) { in ocfs2_refcount_cal_cow_clusters()
2792 want_clusters = (cpos + write_len) - *cow_start; in ocfs2_refcount_cal_cow_clusters()
2802 if ((*cow_start + *cow_len) >= (cpos + write_len)) in ocfs2_refcount_cal_cow_clusters()
3417 u32 cpos, u32 write_len, u32 max_cpos) in ocfs2_refcount_cow_hunk() argument
3430 cpos, write_len, max_cpos, in ocfs2_refcount_cow_hunk()
3438 cpos, write_len, max_cpos, in ocfs2_refcount_cow_hunk()
[all …]
Docfs2_trace.h1095 unsigned int write_len, unsigned int max_cpos,
1097 TP_ARGS(ino, cpos, write_len, max_cpos, cow_start, cow_len),
1101 __field(unsigned int, write_len)
1109 __entry->write_len = write_len;
1115 __entry->ino, __entry->cpos, __entry->write_len,
/linux-4.19.296/fs/reiserfs/
Djournal.c984 int write_len; in flush_commit_list() local
1052 write_len = jl->j_len + 1; in flush_commit_list()
1053 if (write_len < 256) in flush_commit_list()
1054 write_len = 256; in flush_commit_list()
1055 for (i = 0 ; i < write_len ; i++) { in flush_commit_list()
/linux-4.19.296/include/linux/
Dskbuff.h2962 unsigned int write_len) in skb_try_make_writable() argument
2964 return skb_cloned(skb) && !skb_clone_writable(skb, write_len) && in skb_try_make_writable()
3383 int skb_ensure_writable(struct sk_buff *skb, int write_len);