Searched refs:c1 (Results 1 – 4 of 4) sorted by relevance
98 static inline int mls_context_cmp(struct context *c1, struct context *c2) in mls_context_cmp() argument100 return ((c1->range.level[0].sens == c2->range.level[0].sens) && in mls_context_cmp()101 ebitmap_cmp(&c1->range.level[0].cat, &c2->range.level[0].cat) && in mls_context_cmp()102 (c1->range.level[1].sens == c2->range.level[1].sens) && in mls_context_cmp()103 ebitmap_cmp(&c1->range.level[1].cat, &c2->range.level[1].cat)); in mls_context_cmp()151 static inline int context_cmp(struct context *c1, struct context *c2) in context_cmp() argument153 if (c1->len && c2->len) in context_cmp()154 return (c1->len == c2->len && !strcmp(c1->str, c2->str)); in context_cmp()155 if (c1->len || c2->len) in context_cmp()157 return ((c1->user == c2->user) && in context_cmp()[all …]
34 static const u32 c1 = 0xcc9e2d51; in avtab_hash() local45 v *= c1; \ in avtab_hash()
849 int c1, c2; in sel_write_create() local853 c1 = *r++; in sel_write_create()854 if (c1 == '+') in sel_write_create()855 c1 = ' '; in sel_write_create()856 else if (c1 == '%') { in sel_write_create()857 c1 = hex_to_bin(*r++); in sel_write_create()858 if (c1 < 0) in sel_write_create()863 c1 = (c1 << 4) | c2; in sel_write_create()865 *w++ = c1; in sel_write_create()866 } while (c1 != '\0'); in sel_write_create()
355 static inline u8 tomoyo_make_byte(const u8 c1, const u8 c2, const u8 c3) in tomoyo_make_byte() argument357 return ((c1 - '0') << 6) + ((c2 - '0') << 3) + (c3 - '0'); in tomoyo_make_byte()