1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef ASM_SCHID_H 3 #define ASM_SCHID_H 4 5 #include <linux/string.h> 6 #include <uapi/asm/schid.h> 7 8 /* Helper function for sane state of pre-alloc 9 static inline void 10 init_subchannel_id(struct subchannel_id *schid 11 { 12 memset(schid, 0, sizeof(struct subchan 13 schid->one = 1; 14 } 15 16 static inline int 17 schid_equal(struct subchannel_id *schid1, stru 18 { 19 return !memcmp(schid1, schid2, sizeof( 20 } 21 22 #endif /* ASM_SCHID_H */ 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.