Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 3 of 3) sorted by relevance

/mm/
Dcleancache.c148 int len = 0, maxlen = CLEANCACHE_KEY_MAX; in cleancache_get_key() local
155 len = (*fhfn)(inode, &key->u.fh[0], &maxlen, NULL); in cleancache_get_key()
158 if (maxlen > CLEANCACHE_KEY_MAX) in cleancache_get_key()
Dmempolicy.c2925 void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol) in mpol_to_str() argument
2952 snprintf(p, maxlen, "unknown"); in mpol_to_str()
2956 p += snprintf(p, maxlen, "%s", policy_modes[mode]); in mpol_to_str()
2959 p += snprintf(p, buffer + maxlen - p, "="); in mpol_to_str()
2965 p += snprintf(p, buffer + maxlen - p, "static"); in mpol_to_str()
2967 p += snprintf(p, buffer + maxlen - p, "relative"); in mpol_to_str()
2971 p += scnprintf(p, buffer + maxlen - p, ":%*pbl", in mpol_to_str()
Dhugetlb.c3097 table->maxlen = sizeof(unsigned long); in hugetlb_sysctl_handler_common()
3143 table->maxlen = sizeof(unsigned long); in hugetlb_overcommit_handler()