Lines Matching defs:buf
33 char *buf)
38 char *str = buf;
78 return str - buf;
83 char *buf)
88 char *str = buf;
104 str = buf;
113 return str - buf;
118 char *buf)
132 rc = sprintf(buf, "%d\n", !cap.perm_flags.disable);
140 char *buf)
154 rc = sprintf(buf, "%d\n", !cap.perm_flags.deactivated);
162 char *buf)
176 rc = sprintf(buf, "%d\n", cap.owned);
184 struct device_attribute *attr, char *buf)
198 rc = sprintf(buf, "%d\n", cap.stclear_flags.deactivated);
206 char *buf)
211 char *str = buf;
248 rc = str - buf;
257 const char *buf, size_t count)
271 char *buf)
278 return sprintf(buf, "%d %d %d [%s]\n",
288 char *buf)
292 return sprintf(buf, "%d %d %d %d [%s]\n",
303 struct device_attribute *attr, char *buf)
307 return sprintf(buf, "%s\n", chip->flags & TPM_CHIP_FLAG_TPM2