Home
last modified time | relevance | path

Searched refs:len_op (Results 1 – 2 of 2) sorted by relevance

/linux/include/uapi/linux/
H A Dtarget_core_user.h74 __u32 len_op; member
86 static inline enum tcmu_opcode tcmu_hdr_get_op(__u32 len_op) in tcmu_hdr_get_op() argument
88 return len_op & TCMU_OP_MASK; in tcmu_hdr_get_op()
91 static inline void tcmu_hdr_set_op(__u32 *len_op, enum tcmu_opcode op) in tcmu_hdr_set_op() argument
93 *len_op &= ~TCMU_OP_MASK; in tcmu_hdr_set_op()
94 *len_op |= (op & TCMU_OP_MASK); in tcmu_hdr_set_op()
97 static inline __u32 tcmu_hdr_get_len(__u32 len_op) in tcmu_hdr_get_len() argument
99 return len_op & ~TCMU_OP_MASK; in tcmu_hdr_get_len()
102 static inline void tcmu_hdr_set_len(__u32 *len_op, __u32 len) in tcmu_hdr_set_len() argument
104 *len_op &= TCMU_OP_MASK; in tcmu_hdr_set_len()
[all …]
/linux/Documentation/target/
H A Dtcmu-design.rst163 containing "len_op", a 32-bit value that stores the length, as well as
359 if (tcmu_hdr_get_op(ent->hdr.len_op) == TCMU_OP_CMD) {
374 else if (tcmu_hdr_get_op(ent->hdr.len_op) != TCMU_OP_PAD) {