/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | unicode.c | 35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local 44 c1 = c2 = 0; in hfsplus_strcasecmp() 51 while (len2 && !c2) { in hfsplus_strcasecmp() 52 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp() 57 if (c1 != c2) in hfsplus_strcasecmp() 58 return (c1 < c2) ? -1 : 1; in hfsplus_strcasecmp() 59 if (!c1 && !c2) in hfsplus_strcasecmp() 68 u16 len1, len2, c1, c2; in hfsplus_strcmp() local 79 c2 = be16_to_cpu(*p2); in hfsplus_strcmp() 80 if (c1 != c2) in hfsplus_strcmp() 392 u16 c2; hfsplus_hash_dentry() local 444 u16 c1, c2; hfsplus_compare_dentry() local [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | unicode.c | 35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local 44 c1 = c2 = 0; in hfsplus_strcasecmp() 51 while (len2 && !c2) { in hfsplus_strcasecmp() 52 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp() 57 if (c1 != c2) in hfsplus_strcasecmp() 58 return (c1 < c2) ? -1 : 1; in hfsplus_strcasecmp() 59 if (!c1 && !c2) in hfsplus_strcasecmp() 68 u16 len1, len2, c1, c2; in hfsplus_strcmp() local 79 c2 = be16_to_cpu(*p2); in hfsplus_strcmp() 80 if (c1 != c2) in hfsplus_strcmp() 392 u16 c2; hfsplus_hash_dentry() local 444 u16 c1, c2; hfsplus_compare_dentry() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/ |
H A D | tidss_scale_coefs.c | 17 .c2 = { 28, 34, 40, 46, 52, 58, 64, 70, 0, 2, 4, 8, 12, 16, 20, 24, }, 23 .c2 = { 24, 28, 32, 38, 44, 50, 56, 64, 0, 2, 4, 6, 8, 12, 16, 20, }, 29 .c2 = { 16, 20, 24, 30, 36, 42, 48, 56, 0, 0, 0, 2, 4, 8, 12, 14, }, 35 .c2 = { 12, 14, 16, 22, 28, 34, 40, 48, 0, 0, 0, 2, 4, 4, 4, 8, }, 41 .c2 = { 0, 2, 4, 8, 12, 18, 24, 32, 0, 0, 0, -2, -4, -4, -4, -2, }, 47 .c2 = { -8, -6, -4, -2, 0, 6, 12, 18, 0, -2, -4, -6, -8, -8, -8, -8, }, 53 .c2 = { -12, -12, -12, -10, -8, -4, 0, 6, 0, -2, -4, -6, -8, -10, -12, -12, }, 59 .c2 = { -16, -18, -20, -18, -16, -14, -12, -6, 0, -2, -4, -6, -8, -10, -12, -14, }, 65 .c2 = { -20, -22, -24, -24, -24, -24, -24, -20, 0, -2, -4, -6, -8, -10, -12, -16, }, 71 .c2 [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tidss/ |
H A D | tidss_scale_coefs.c | 17 .c2 = { 28, 34, 40, 46, 52, 58, 64, 70, 0, 2, 4, 8, 12, 16, 20, 24, }, 23 .c2 = { 24, 28, 32, 38, 44, 50, 56, 64, 0, 2, 4, 6, 8, 12, 16, 20, }, 29 .c2 = { 16, 20, 24, 30, 36, 42, 48, 56, 0, 0, 0, 2, 4, 8, 12, 14, }, 35 .c2 = { 12, 14, 16, 22, 28, 34, 40, 48, 0, 0, 0, 2, 4, 4, 4, 8, }, 41 .c2 = { 0, 2, 4, 8, 12, 18, 24, 32, 0, 0, 0, -2, -4, -4, -4, -2, }, 47 .c2 = { -8, -6, -4, -2, 0, 6, 12, 18, 0, -2, -4, -6, -8, -8, -8, -8, }, 53 .c2 = { -12, -12, -12, -10, -8, -4, 0, 6, 0, -2, -4, -6, -8, -10, -12, -12, }, 59 .c2 = { -16, -18, -20, -18, -16, -14, -12, -6, 0, -2, -4, -6, -8, -10, -12, -14, }, 65 .c2 = { -20, -22, -24, -24, -24, -24, -24, -20, 0, -2, -4, -6, -8, -10, -12, -16, }, 71 .c2 [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | context.h | 100 struct context *c1, struct context *c2) in mls_context_glblub() 102 struct mls_range *dr = &dst->range, *r1 = &c1->range, *r2 = &c2->range; in mls_context_glblub() 130 static inline int mls_context_cmp(struct context *c1, struct context *c2) in mls_context_cmp() argument 132 return ((c1->range.level[0].sens == c2->range.level[0].sens) && in mls_context_cmp() 133 ebitmap_cmp(&c1->range.level[0].cat, &c2->range.level[0].cat) && in mls_context_cmp() 134 (c1->range.level[1].sens == c2->range.level[1].sens) && in mls_context_cmp() 135 ebitmap_cmp(&c1->range.level[1].cat, &c2->range.level[1].cat)); in mls_context_cmp() 183 static inline int context_cmp(struct context *c1, struct context *c2) in context_cmp() argument 185 if (c1->len && c2->len) in context_cmp() 186 return (c1->len == c2 in context_cmp() 99 mls_context_glblub(struct context *dst, struct context *c1, struct context *c2) mls_context_glblub() argument [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | context.h | 100 const struct context *c1, const struct context *c2) in mls_context_glblub() 103 const struct mls_range *r1 = &c1->range, *r2 = &c2->range; in mls_context_glblub() 131 static inline int mls_context_cmp(const struct context *c1, const struct context *c2) in mls_context_cmp() argument 133 return ((c1->range.level[0].sens == c2->range.level[0].sens) && in mls_context_cmp() 134 ebitmap_cmp(&c1->range.level[0].cat, &c2->range.level[0].cat) && in mls_context_cmp() 135 (c1->range.level[1].sens == c2->range.level[1].sens) && in mls_context_cmp() 136 ebitmap_cmp(&c1->range.level[1].cat, &c2->range.level[1].cat)); in mls_context_cmp() 186 static inline int context_cmp(const struct context *c1, const struct context *c2) in context_cmp() argument 188 if (c1->len && c2->len) in context_cmp() 189 return (c1->len == c2 in context_cmp() 99 mls_context_glblub(struct context *dst, const struct context *c1, const struct context *c2) mls_context_glblub() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_cls.c | 496 struct mvpp2_cls_c2_entry *c2) in mvpp2_cls_c2_write() 499 mvpp2_write(priv, MVPP22_CLS_C2_TCAM_IDX, c2->index); in mvpp2_cls_c2_write() 502 if (c2->valid) in mvpp2_cls_c2_write() 508 mvpp2_write(priv, MVPP22_CLS_C2_ACT, c2->act); in mvpp2_cls_c2_write() 510 mvpp2_write(priv, MVPP22_CLS_C2_ATTR0, c2->attr[0]); in mvpp2_cls_c2_write() 511 mvpp2_write(priv, MVPP22_CLS_C2_ATTR1, c2->attr[1]); in mvpp2_cls_c2_write() 512 mvpp2_write(priv, MVPP22_CLS_C2_ATTR2, c2->attr[2]); in mvpp2_cls_c2_write() 513 mvpp2_write(priv, MVPP22_CLS_C2_ATTR3, c2->attr[3]); in mvpp2_cls_c2_write() 515 mvpp2_write(priv, MVPP22_CLS_C2_TCAM_DATA0, c2->tcam[0]); in mvpp2_cls_c2_write() 516 mvpp2_write(priv, MVPP22_CLS_C2_TCAM_DATA1, c2 in mvpp2_cls_c2_write() 495 mvpp2_cls_c2_write(struct mvpp2 *priv, struct mvpp2_cls_c2_entry *c2) mvpp2_cls_c2_write() argument 523 mvpp2_cls_c2_read(struct mvpp2 *priv, int index, struct mvpp2_cls_c2_entry *c2) mvpp2_cls_c2_read() argument 863 struct mvpp2_cls_c2_entry c2; mvpp2_port_c2_cls_init() local 906 struct mvpp2_cls_c2_entry c2; mvpp2_cls_init() local 986 struct mvpp2_cls_c2_entry c2; mvpp2_rss_port_c2_enable() local 1007 struct mvpp2_cls_c2_entry c2; mvpp2_rss_port_c2_disable() local 1051 struct mvpp2_cls_c2_entry c2; mvpp22_port_c2_lookup_disable() local 1081 struct mvpp2_cls_c2_entry c2; mvpp2_port_c2_tcam_rule_add() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_cls.c | 502 struct mvpp2_cls_c2_entry *c2) in mvpp2_cls_c2_write() 505 mvpp2_write(priv, MVPP22_CLS_C2_TCAM_IDX, c2->index); in mvpp2_cls_c2_write() 508 if (c2->valid) in mvpp2_cls_c2_write() 514 mvpp2_write(priv, MVPP22_CLS_C2_ACT, c2->act); in mvpp2_cls_c2_write() 516 mvpp2_write(priv, MVPP22_CLS_C2_ATTR0, c2->attr[0]); in mvpp2_cls_c2_write() 517 mvpp2_write(priv, MVPP22_CLS_C2_ATTR1, c2->attr[1]); in mvpp2_cls_c2_write() 518 mvpp2_write(priv, MVPP22_CLS_C2_ATTR2, c2->attr[2]); in mvpp2_cls_c2_write() 519 mvpp2_write(priv, MVPP22_CLS_C2_ATTR3, c2->attr[3]); in mvpp2_cls_c2_write() 521 mvpp2_write(priv, MVPP22_CLS_C2_TCAM_DATA0, c2->tcam[0]); in mvpp2_cls_c2_write() 522 mvpp2_write(priv, MVPP22_CLS_C2_TCAM_DATA1, c2 in mvpp2_cls_c2_write() 501 mvpp2_cls_c2_write(struct mvpp2 *priv, struct mvpp2_cls_c2_entry *c2) mvpp2_cls_c2_write() argument 529 mvpp2_cls_c2_read(struct mvpp2 *priv, int index, struct mvpp2_cls_c2_entry *c2) mvpp2_cls_c2_read() argument 869 struct mvpp2_cls_c2_entry c2; mvpp2_port_c2_cls_init() local 912 struct mvpp2_cls_c2_entry c2; mvpp2_cls_init() local 992 struct mvpp2_cls_c2_entry c2; mvpp2_rss_port_c2_enable() local 1013 struct mvpp2_cls_c2_entry c2; mvpp2_rss_port_c2_disable() local 1057 struct mvpp2_cls_c2_entry c2; mvpp22_port_c2_lookup_disable() local 1087 struct mvpp2_cls_c2_entry c2; mvpp2_port_c2_tcam_rule_add() local [all...] |
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | unistr.c | 89 u16 c1, c2; in ntfs_collate_names() local 96 c2 = le16_to_cpu(*name2++); in ntfs_collate_names() 100 if (c2 < upcase_len) in ntfs_collate_names() 101 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names() 105 if (c1 < c2) in ntfs_collate_names() 107 if (c1 > c2) in ntfs_collate_names() 137 u16 c1, c2; in ntfs_ucsncmp() local 142 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp() 143 if (c1 < c2) in ntfs_ucsncmp() 175 u16 c1, c2; ntfs_ucsncasecmp() local [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | unistr.c | 89 u16 c1, c2; in ntfs_collate_names() local 96 c2 = le16_to_cpu(*name2++); in ntfs_collate_names() 100 if (c2 < upcase_len) in ntfs_collate_names() 101 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names() 105 if (c1 < c2) in ntfs_collate_names() 107 if (c1 > c2) in ntfs_collate_names() 137 u16 c1, c2; in ntfs_ucsncmp() local 142 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp() 143 if (c1 < c2) in ntfs_ucsncmp() 175 u16 c1, c2; ntfs_ucsncasecmp() local [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | string.c | 46 unsigned char c1, c2; in strncasecmp() local 53 c2 = *s2++; in strncasecmp() 54 if (!c1 || !c2) in strncasecmp() 56 if (c1 == c2) in strncasecmp() 59 c2 = tolower(c2); in strncasecmp() 60 if (c1 != c2) in strncasecmp() 63 return (int)c1 - (int)c2; in strncasecmp() 71 int c1, c2; in strcasecmp() local 75 c2 in strcasecmp() 384 unsigned char c1, c2; strcmp() local 408 unsigned char c1, c2; strncmp() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | string.c | 42 unsigned char c1, c2; in strncasecmp() local 49 c2 = *s2++; in strncasecmp() 50 if (!c1 || !c2) in strncasecmp() 52 if (c1 == c2) in strncasecmp() 55 c2 = tolower(c2); in strncasecmp() 56 if (c1 != c2) in strncasecmp() 59 return (int)c1 - (int)c2; in strncasecmp() 67 int c1, c2; in strcasecmp() local 71 c2 in strcasecmp() 278 unsigned char c1, c2; strcmp() local 302 unsigned char c1, c2; strncmp() local [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | string.c | 75 unsigned char c1, c2; in strcmp() local 79 c2 = *ct++; in strcmp() 80 if (c1 != c2) in strcmp() 81 return c1 < c2 ? -1 : 1; in strcmp() 97 unsigned char c1, c2; in strncmp() local 101 c2 = *ct++; in strncmp() 102 if (c1 != c2) in strncmp() 103 return c1 < c2 ? -1 : 1; in strncmp()
|
/kernel/linux/linux-5.10/fs/unicode/ |
H A D | utf8-core.c | 28 int c1, c2; in utf8_strncmp() local 38 c2 = utf8byte(&cur2); in utf8_strncmp() 40 if (c1 < 0 || c2 < 0) in utf8_strncmp() 42 if (c1 != c2) in utf8_strncmp() 55 int c1, c2; in utf8_strncasecmp() local 65 c2 = utf8byte(&cur2); in utf8_strncasecmp() 67 if (c1 < 0 || c2 < 0) in utf8_strncasecmp() 69 if (c1 != c2) in utf8_strncasecmp() 86 int c1, c2; in utf8_strncasecmp_folded() local 94 c2 in utf8_strncasecmp_folded() [all...] |
/kernel/linux/linux-6.6/fs/unicode/ |
H A D | utf8-core.c | 24 int c1, c2; in utf8_strncmp() local 34 c2 = utf8byte(&cur2); in utf8_strncmp() 36 if (c1 < 0 || c2 < 0) in utf8_strncmp() 38 if (c1 != c2) in utf8_strncmp() 50 int c1, c2; in utf8_strncasecmp() local 60 c2 = utf8byte(&cur2); in utf8_strncasecmp() 62 if (c1 < 0 || c2 < 0) in utf8_strncasecmp() 64 if (c1 != c2) in utf8_strncasecmp() 80 int c1, c2; in utf8_strncasecmp_folded() local 88 c2 in utf8_strncasecmp_folded() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-std.c | 178 unsigned int c1,c2; in pvr2_std_id_to_str() local 189 c2 = scnprintf(bufPtr,bufSize,";"); in pvr2_std_id_to_str() 190 c1 += c2; in pvr2_std_id_to_str() 191 bufSize -= c2; in pvr2_std_id_to_str() 192 bufPtr += c2; in pvr2_std_id_to_str() 195 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str() 199 c2 = scnprintf(bufPtr,bufSize,"/"); in pvr2_std_id_to_str() 201 c1 += c2; in pvr2_std_id_to_str() 202 bufSize -= c2; in pvr2_std_id_to_str() 203 bufPtr += c2; in pvr2_std_id_to_str() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-std.c | 178 unsigned int c1,c2; in pvr2_std_id_to_str() local 189 c2 = scnprintf(bufPtr,bufSize,";"); in pvr2_std_id_to_str() 190 c1 += c2; in pvr2_std_id_to_str() 191 bufSize -= c2; in pvr2_std_id_to_str() 192 bufPtr += c2; in pvr2_std_id_to_str() 195 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str() 199 c2 = scnprintf(bufPtr,bufSize,"/"); in pvr2_std_id_to_str() 201 c1 += c2; in pvr2_std_id_to_str() 202 bufSize -= c2; in pvr2_std_id_to_str() 203 bufPtr += c2; in pvr2_std_id_to_str() [all...] |
/kernel/linux/linux-5.10/arch/arm/include/asm/hardware/ |
H A D | cp14.h | 54 #define RCP14_DBGDSCRext() MRC14(0, c0, c2, 2) 59 #define RCP14_DBGBVR2() MRC14(0, c0, c2, 4) 75 #define RCP14_DBGBCR2() MRC14(0, c0, c2, 5) 91 #define RCP14_DBGWVR2() MRC14(0, c0, c2, 6) 107 #define RCP14_DBGWCR2() MRC14(0, c0, c2, 7) 124 #define RCP14_DBGBXVR2() MRC14(0, c1, c2, 1) 139 #define RCP14_DBGOSSRR() MRC14(0, c1, c2, 4) 143 #define RCP14_DBGDSAR() MRC14(0, c2, c0, 0) 150 #define RCP14_DBGDEVID() MRC14(0, c7, c2, 7) 159 #define WCP14_DBGDSCRext(val) MCR14(val, 0, c0, c2, [all...] |
/kernel/linux/linux-6.6/arch/arm/include/asm/hardware/ |
H A D | cp14.h | 54 #define RCP14_DBGDSCRext() MRC14(0, c0, c2, 2) 59 #define RCP14_DBGBVR2() MRC14(0, c0, c2, 4) 75 #define RCP14_DBGBCR2() MRC14(0, c0, c2, 5) 91 #define RCP14_DBGWVR2() MRC14(0, c0, c2, 6) 107 #define RCP14_DBGWCR2() MRC14(0, c0, c2, 7) 124 #define RCP14_DBGBXVR2() MRC14(0, c1, c2, 1) 139 #define RCP14_DBGOSSRR() MRC14(0, c1, c2, 4) 143 #define RCP14_DBGDSAR() MRC14(0, c2, c0, 0) 150 #define RCP14_DBGDEVID() MRC14(0, c7, c2, 7) 159 #define WCP14_DBGDSCRext(val) MCR14(val, 0, c0, c2, [all...] |
/kernel/linux/linux-5.10/drivers/char/ |
H A D | nwflash.c | 63 volatile unsigned int c1, c2; in get_flash_id() local 69 c2 = inb(0x80); in get_flash_id() 73 c2 = inb(0x80); in get_flash_id() 79 c2 = *(volatile unsigned char *) (FLASH_BASE + 2); in get_flash_id() 81 c2 = *(volatile unsigned char *) (FLASH_BASE + 1); in get_flash_id() 83 c2 += (c1 << 8); in get_flash_id() 90 if (c2 == KFLASH_ID4) in get_flash_id() 93 return c2; in get_flash_id() 400 volatile unsigned int c2; in write_block() local 425 if (__get_user(c2, bu in write_block() [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | nwflash.c | 63 volatile unsigned int c1, c2; in get_flash_id() local 69 c2 = inb(0x80); in get_flash_id() 73 c2 = inb(0x80); in get_flash_id() 79 c2 = *(volatile unsigned char *) (FLASH_BASE + 2); in get_flash_id() 81 c2 = *(volatile unsigned char *) (FLASH_BASE + 1); in get_flash_id() 83 c2 += (c1 << 8); in get_flash_id() 90 if (c2 == KFLASH_ID4) in get_flash_id() 93 return c2; in get_flash_id() 400 volatile unsigned int c2; in write_block() local 425 if (__get_user(c2, bu in write_block() [all...] |
/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-tca6507.c | 209 int c1, c2; in choose_times() local 223 for (c2 = 0; c2 <= c1; c2++) { in choose_times() 224 int tt = t + time_codes[c2]; in choose_times() 236 *c2p = c2; in choose_times() 317 int c1, c2; in set_times() local 320 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times() 326 c2, time_codes[c2], tc in set_times() 386 int c1, c2; led_prepare() local [all...] |
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-tca6507.c | 209 int c1, c2; in choose_times() local 223 for (c2 = 0; c2 <= c1; c2++) { in choose_times() 224 int tt = t + time_codes[c2]; in choose_times() 236 *c2p = c2; in choose_times() 315 int c1, c2; in set_times() local 318 result = choose_times(tca->bank[bank].ontime, &c1, &c2); in set_times() 324 c2, time_codes[c2], tc in set_times() 384 int c1, c2; led_prepare() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/davinci/ |
H A D | psc.h | 36 #define LPSC_CLKDEV2(n, c1, d1, c2, d2) \ 39 LPSC_CLKDEV((c2), (d2)), \ 43 #define LPSC_CLKDEV3(n, c1, d1, c2, d2, c3, d3) \ 46 LPSC_CLKDEV((c2), (d2)), \
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | utnonansi.c | 93 int c2; in acpi_ut_stricmp() local 97 c2 = tolower((int)*string2); in acpi_ut_stricmp() 102 while ((c1 == c2) && (c1)); in acpi_ut_stricmp() 104 return (c1 - c2); in acpi_ut_stricmp()
|