Lines Matching refs:bufsize
32 ssize_t (*read)(struct b43legacy_wldev *dev, char *buf, size_t bufsize);
56 if (bufsize - count) \
58 bufsize - count, \
66 static ssize_t tsf_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize) in tsf_read_file() argument
92 static ssize_t ucode_regs_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize) in ucode_regs_read_file() argument
106 static ssize_t shm_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize) in shm_read_file() argument
114 if (bufsize < sizeof(tmp)) in shm_read_file()
119 bufsize -= sizeof(tmp); in shm_read_file()
125 static ssize_t txstat_read_file(struct b43legacy_wldev *dev, char *buf, size_t bufsize) in txstat_read_file() argument
195 const size_t bufsize = 1024 * 16; /* 16 KiB buffer */ in b43legacy_debugfs_read() local
196 const size_t buforder = get_order(bufsize); in b43legacy_debugfs_read()
225 memset(buf, 0, bufsize); in b43legacy_debugfs_read()
228 ret = dfops->read(dev, buf, bufsize); in b43legacy_debugfs_read()
231 ret = dfops->read(dev, buf, bufsize); in b43legacy_debugfs_read()