Release 4.14 arch/s390/include/asm/schid.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ASM_SCHID_H
#define ASM_SCHID_H
#include <linux/string.h>
#include <uapi/asm/schid.h>
/* Helper function for sane state of pre-allocated subchannel_id. */
static inline void
init_subchannel_id(struct subchannel_id *schid)
{
memset(schid, 0, sizeof(struct subchannel_id));
schid->one = 1;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Cornelia Huck | 31 | 100.00% | 1 | 100.00% |
Total | 31 | 100.00% | 1 | 100.00% |
static inline int
schid_equal(struct subchannel_id *schid1, struct subchannel_id *schid2)
{
return !memcmp(schid1, schid2, sizeof(struct subchannel_id));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Cornelia Huck | 32 | 100.00% | 1 | 100.00% |
Total | 32 | 100.00% | 1 | 100.00% |
#endif /* ASM_SCHID_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Cornelia Huck | 75 | 93.75% | 3 | 50.00% |
David Howells | 2 | 2.50% | 1 | 16.67% |
Heiko Carstens | 2 | 2.50% | 1 | 16.67% |
Greg Kroah-Hartman | 1 | 1.25% | 1 | 16.67% |
Total | 80 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.