Searched refs:max (Results 1 – 9 of 9) sorted by relevance
/security/keys/ |
D | sysctl.c | 16 static const int zero, one = 1, max = INT_MAX; variable 26 .extra2 = (void *) &max, 35 .extra2 = (void *) &max, 44 .extra2 = (void *) &max, 53 .extra2 = (void *) &max, 62 .extra2 = (void *) &max,
|
D | keyring.c | 727 unsigned max; in __key_link_begin() local 787 max = 4; in __key_link_begin() 789 max += klist->maxkeys; in __key_link_begin() 792 if (max > USHRT_MAX - 1) in __key_link_begin() 794 size = sizeof(*klist) + sizeof(struct key *) * max; in __key_link_begin() 803 nklist->maxkeys = max; in __key_link_begin() 1151 int loop, keep, max; in keyring_gc() local 1171 max = roundup(keep, 4); in keyring_gc() 1172 new = kmalloc(sizeof(struct keyring_list) + max * sizeof(struct key *), in keyring_gc() 1176 new->maxkeys = max; in keyring_gc() [all …]
|
/security/apparmor/ |
D | resource.c | 37 rlim_names[sa->aad->rlim.rlim], sa->aad->rlim.max); in audit_cb() 59 aad.rlim.max = value; in audit_resource()
|
/security/tomoyo/ |
D | group.c | 151 const unsigned long max, in tomoyo_number_matches_group() argument 160 max < member->number.values[0]) in tomoyo_number_matches_group()
|
D | network.c | 53 u8 * const max = ptr->ip[1].in6_u.u6_addr8; in tomoyo_parse_ipaddr_union() local 63 in4_pton(end, -1, max, '\0', &end) <= 0 || *end) in tomoyo_parse_ipaddr_union() 70 memmove(max, min, sizeof(u16) * 8); in tomoyo_parse_ipaddr_union() 72 in6_pton(end, -1, max, '\0', &end) <= 0 || *end) in tomoyo_parse_ipaddr_union()
|
D | common.c | 431 const unsigned long max = ptr->values[1]; in tomoyo_print_number_union_nospace() local 451 if (min == max && min_type == max_type) in tomoyo_print_number_union_nospace() 455 min = max; in tomoyo_print_number_union_nospace()
|
D | common.h | 932 const unsigned long max,
|
/security/apparmor/include/ |
D | audit.h | 121 unsigned long max; member
|
/security/selinux/ |
D | hooks.c | 4013 if (snum < max(PROT_SOCK, low) || snum > high) { in selinux_socket_bind()
|