Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  *    Copyright IBM Corp. 2007, 2012
0004  *    Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
0005  */
0006 
0007 #ifndef S390_IDSET_H
0008 #define S390_IDSET_H
0009 
0010 #include <asm/schid.h>
0011 
0012 struct idset;
0013 
0014 void idset_free(struct idset *set);
0015 void idset_fill(struct idset *set);
0016 
0017 struct idset *idset_sch_new(void);
0018 void idset_sch_add(struct idset *set, struct subchannel_id id);
0019 void idset_sch_del(struct idset *set, struct subchannel_id id);
0020 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid);
0021 int idset_sch_contains(struct idset *set, struct subchannel_id id);
0022 int idset_is_empty(struct idset *set);
0023 void idset_add_set(struct idset *to, struct idset *from);
0024 
0025 #endif /* S390_IDSET_H */