• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/wireless/hostap/

Lines Matching defs:off

14 static int prism2_debug_proc_read(char *page, char **start, off_t off,
21 if (off != 0) {
54 static int prism2_stats_proc_read(char *page, char **start, off_t off,
62 if (off != 0) {
102 static int prism2_wds_proc_read(char *page, char **start, off_t off,
110 if (off > PROC_LIMIT) {
131 if ((p - page) <= off) {
136 *start = page + off;
138 return (p - page - off);
142 static int prism2_bss_list_proc_read(char *page, char **start, off_t off,
151 if (off > PROC_LIMIT) {
186 if ((p - page) <= off) {
191 *start = page + off;
193 return (p - page - off);
197 static int prism2_crypt_proc_read(char *page, char **start, off_t off,
204 if (off > PROC_LIMIT) {
218 if ((p - page) <= off) {
223 *start = page + off;
225 return (p - page - off);
229 static int prism2_pda_proc_read(char *page, char **start, off_t off,
234 if (local->pda == NULL || off >= PRISM2_PDA_SIZE) {
239 if (off + count > PRISM2_PDA_SIZE)
240 count = PRISM2_PDA_SIZE - off;
242 memcpy(page, local->pda + off, count);
247 static int prism2_aux_dump_proc_read(char *page, char **start, off_t off,
257 if (local->func->read_aux(local->dev, off, count, page)) {
268 static int prism2_io_debug_proc_read(char *page, char **start, off_t off,
275 if (off + count > PRISM2_IO_DEBUG_SIZE * 4) {
277 if (off >= PRISM2_IO_DEBUG_SIZE * 4)
279 count = PRISM2_IO_DEBUG_SIZE * 4 - off;
286 if (off < start_bytes) {
287 copy = start_bytes - off;
290 memcpy(page, ((u8 *) &local->io_debug[head]) + off, copy);
295 memcpy(page, ((u8 *) local->io_debug) + (off - start_bytes),
307 static int prism2_scan_results_proc_read(char *page, char **start, off_t off,
323 if (total + (p - page) <= off) {
327 if (total + (p - page) > off + count)
366 if (total >= off + count)
369 if (total < off) {
374 len = total - off;