Lines Matching refs:count
80 const char *buf, size_t count);
124 const char *buf, size_t count) in ocfs2_filecheck_store() argument
132 ret = kattr->store(kobj, kattr, buf, count); in ocfs2_filecheck_store()
210 unsigned int count);
242 ocfs2_filecheck_args_get_long(const char *buf, size_t count, in ocfs2_filecheck_args_get_long() argument
247 memcpy(buffer, buf, count); in ocfs2_filecheck_args_get_long()
248 buffer[count] = '\0'; in ocfs2_filecheck_args_get_long()
272 ocfs2_filecheck_args_parse(const char *name, const char *buf, size_t count, in ocfs2_filecheck_args_parse() argument
279 if ((count < 1) || (count >= OCFS2_FILECHECK_ARGS_LEN)) in ocfs2_filecheck_args_parse()
284 if (ocfs2_filecheck_args_get_long(buf, count, &val)) in ocfs2_filecheck_args_parse()
385 unsigned int count) in ocfs2_filecheck_erase_entries() argument
390 while (i++ < count) { in ocfs2_filecheck_erase_entries()
397 return (ret == count ? 1 : 0); in ocfs2_filecheck_erase_entries()
453 const char *buf, size_t count) in ocfs2_filecheck_attr_store() argument
461 if (count == 0) in ocfs2_filecheck_attr_store()
462 return count; in ocfs2_filecheck_attr_store()
464 if (ocfs2_filecheck_args_parse(attr->attr.name, buf, count, &args)) in ocfs2_filecheck_attr_store()
513 return (!ret ? count : ret); in ocfs2_filecheck_attr_store()