Searched refs:toff (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | i82586.h | 33 #define toff(t,p,f) (unsigned short)((void *)(&((t *)((void *)0 + (p)))->f) - (void *)0) macro 121 #define scboff(p,f) toff(scb_t, p, f) 175 #define acoff(p,f) toff(ach_t, p, f) 368 #define rbdoff(p,f) toff(rbd_t, p, f) 406 #define fdoff(p,f) toff(fd_t, p, f)
|
D | wavelan.c | 2741 obram_write(ioaddr, toff(ac_tx_t, tx_addr, tx_h.ac_status), in wv_packet_write() 2749 obram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_status), in wv_packet_write() 2753 obram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_link), in wv_packet_write() 2777 obram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_status), in wv_packet_write() 2781 obram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_link), in wv_packet_write() 3431 obram_write(ioaddr, toff(ac_tx_t, tx_addr, tx_h.ac_status), in wv_82586_config() 3439 obram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_status), in wv_82586_config() 3443 obram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_link), in wv_82586_config() 3528 obram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_status), in wv_82586_config() 3532 obram_write(ioaddr, toff(ac_nop_t, nop_addr, nop_h.ac_link), in wv_82586_config()
|
D | dgrs_i82596.h | 389 ushort toff; member
|
/linux-2.4.37.9/mm/ |
D | swapfile.c | 1243 unsigned long toff; in valid_swaphandles() local 1248 toff = (SWP_OFFSET(entry) >> page_cluster) << page_cluster; in valid_swaphandles() 1249 if (!toff) /* first page is swap header */ in valid_swaphandles() 1250 toff++, i--; in valid_swaphandles() 1251 *offset = toff; in valid_swaphandles() 1256 if (toff >= swapdev->max) in valid_swaphandles() 1259 if (!swapdev->swap_map[toff]) in valid_swaphandles() 1261 if (swapdev->swap_map[toff] == SWAP_MAP_BAD) in valid_swaphandles() 1263 toff++; in valid_swaphandles()
|