Lines Matching refs:PAGE_SIZE
51 /* acquire buffer and ensure that it's >= PAGE_SIZE and clear */
53 if (count < PAGE_SIZE) {
57 memset(buf, 0, PAGE_SIZE);
64 * The code works fine with PAGE_SIZE return but it's likely to
67 if (count >= (ssize_t)PAGE_SIZE) {
71 count = PAGE_SIZE - 1;
308 PAGE_SIZE, ops, (void *)attr, ns, key);
736 * sysfs_emit - scnprintf equivalent, aware of PAGE_SIZE buffer.
737 * @buf: start of PAGE_SIZE buffer.
754 len = vscnprintf(buf, PAGE_SIZE, fmt, args);
762 * sysfs_emit_at - scnprintf equivalent, aware of PAGE_SIZE buffer.
763 * @buf: start of PAGE_SIZE buffer.
765 * @at must be >= 0 && < PAGE_SIZE
777 if (WARN(!buf || offset_in_page(buf) || at < 0 || at >= PAGE_SIZE,
782 len = vscnprintf(buf + at, PAGE_SIZE - at, fmt, args);