Lines Matching refs:scnprintf
41 return scnprintf(bf, size, "%#lx", arg);
54 #define P_WHENCE(n) case SEEK_##n: return scnprintf(bf, size, #n)
68 return scnprintf(bf, size, "%#x", whence);
81 return scnprintf(bf, size, "NONE");
84 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \
99 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", prot);
114 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \
143 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
157 #define P_MADV_BHV(n) case MADV_##n: return scnprintf(bf, size, #n)
188 return scnprintf(bf, size, "%#x", behavior);
209 #define P_FUTEX_OP(n) case FUTEX_##n: printed = scnprintf(bf, size, #n);
223 default: printed = scnprintf(bf, size, "%#x", cmd); break;
227 printed += scnprintf(bf + printed, size - printed, "|PRIV");
230 printed += scnprintf(bf + printed, size - printed, "|CLKRT");
247 return scnprintf(bf, size, "RDONLY");
250 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \
275 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", "SYNC");
287 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags);
620 printed += scnprintf(bf + printed, size - printed,
627 printed += scnprintf(bf + printed, size - printed,
633 printed += scnprintf(bf + printed, size - printed,
729 printed += scnprintf(msg + printed, 1024 - printed, "%s(", sc->name);
1173 scnprintf(oldname, sizeof(oldname), "%s.old", filename);