Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 2 of 2) 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.c2935 void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol) in mpol_to_str() argument
2959 snprintf(p, maxlen, "unknown"); in mpol_to_str()
2963 p += snprintf(p, maxlen, "%s", policy_modes[mode]); in mpol_to_str()
2966 p += snprintf(p, buffer + maxlen - p, "="); in mpol_to_str()
2972 p += snprintf(p, buffer + maxlen - p, "static"); in mpol_to_str()
2974 p += snprintf(p, buffer + maxlen - p, "relative"); in mpol_to_str()
2978 p += scnprintf(p, buffer + maxlen - p, ":%*pbl", in mpol_to_str()