Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A Dndr.c12 static inline char *ndr_get_field(struct ndr *n) in ndr_get_field() function
41 *(__le16 *)ndr_get_field(n) = cpu_to_le16(value); in ndr_write_int16()
56 *(__le32 *)ndr_get_field(n) = cpu_to_le32(value); in ndr_write_int32()
71 *(__le64 *)ndr_get_field(n) = cpu_to_le64(value); in ndr_write_int64()
86 memcpy(ndr_get_field(n), value, sz); in ndr_write_bytes()
104 memcpy(ndr_get_field(n), value, sz); in ndr_write_string()
117 len = strnlen(ndr_get_field(n), sz); in ndr_read_string()
119 memcpy(value, ndr_get_field(n), len); in ndr_read_string()
132 memcpy(value, ndr_get_field(n), sz); in ndr_read_bytes()
143 *value = le16_to_cpu(*(__le16 *)ndr_get_field(n)); in ndr_read_int16()
[all …]