Lines Matching refs:bufsize
45 ssize_t (*read)(struct b43legacy_wldev *dev, char *buf, size_t bufsize);
69 if (bufsize - count) \
71 bufsize - count, \
79 static ssize_t tsf_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize) in tsf_read_file() argument
105 static ssize_t ucode_regs_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize) in ucode_regs_read_file() argument
119 static ssize_t shm_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize) in shm_read_file() argument
127 if (bufsize < sizeof(tmp)) in shm_read_file()
132 bufsize -= sizeof(tmp); in shm_read_file()
138 static ssize_t txstat_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize) in txstat_read_file() argument
208 const size_t bufsize = 1024 * 16; /* 16 KiB buffer */ in b43legacy_debugfs_read() local
209 const size_t buforder = get_order(bufsize); in b43legacy_debugfs_read()
237 memset(buf, 0, bufsize); in b43legacy_debugfs_read()
240 ret = dfops->read(dev, buf, bufsize); in b43legacy_debugfs_read()
243 ret = dfops->read(dev, buf, bufsize); in b43legacy_debugfs_read()