/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/mm/ |
H A D | mem_pieces.h | 42 extern void mem_pieces_remove(struct mem_pieces *mp, unsigned int start, 44 extern void mem_pieces_append(struct mem_pieces *mp, unsigned int start, 46 extern void mem_pieces_coalesce(struct mem_pieces *mp); 47 extern void mem_pieces_sort(struct mem_pieces *mp);
|
H A D | mem_pieces.c | 40 struct mem_pieces *mp = &phys_avail; local 42 for (i = 0; i < mp->n_regions; ++i) { 43 a = mp->regions[i].address; 44 e = a + mp->regions[i].size; 47 mem_pieces_remove(mp, a, size, 1); 60 mem_pieces_remove(struct mem_pieces *mp, unsigned int start, unsigned int size, argument 68 for (i = 0, rp = mp->regions; i < mp->n_regions; ++i, ++rp) { 72 if (i >= mp->n_regions) { 78 for (; i < mp 116 mem_pieces_print(struct mem_pieces *mp) argument 131 mem_pieces_append(struct mem_pieces *mp, unsigned int start, unsigned int size) argument 144 mem_pieces_sort(struct mem_pieces *mp) argument 163 mem_pieces_coalesce(struct mem_pieces *mp) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/ |
H A D | jfs_metapage.c | 48 static inline int metapage_locked(struct metapage *mp) argument 50 return test_bit(META_locked, &mp->flag); 53 static inline int trylock_metapage(struct metapage *mp) argument 55 return test_and_set_bit(META_locked, &mp->flag); 58 static inline void unlock_metapage(struct metapage *mp) argument 60 clear_bit(META_locked, &mp->flag); 61 wake_up(&mp->wait); 64 static void __lock_metapage(struct metapage *mp) argument 70 add_wait_queue_exclusive(&mp->wait, &wait); 73 if (metapage_locked(mp)) { 84 lock_metapage(struct metapage *mp) argument 103 struct metapage *mp = (struct metapage *)foo; local 149 __free_metapage(struct metapage *mp) argument 160 free_metapage(struct metapage * mp) argument 169 struct metapage *mp; local 242 add_to_hash(struct metapage * mp, struct metapage ** hash_ptr) argument 252 remove_from_hash(struct metapage * mp, struct metapage ** hash_ptr) argument 275 struct metapage *mp; local 395 hold_metapage(struct metapage * mp, int force) argument 411 __write_metapage(struct metapage * mp) argument 455 sync_metapage(struct metapage *mp) argument 472 release_metapage(struct metapage * mp) argument 544 struct metapage *mp; local 577 struct metapage *mp; local [all...] |
H A D | jfs_metapage.h | 69 #define mark_metapage_dirty(mp) set_bit(META_dirty, &(mp)->flag) 85 static inline void write_metapage(struct metapage *mp) argument 87 set_bit(META_dirty, &mp->flag); 88 release_metapage(mp); 91 static inline void flush_metapage(struct metapage *mp) argument 93 set_bit(META_sync, &mp->flag); 94 write_metapage(mp); 97 static inline void discard_metapage(struct metapage *mp) argument 99 clear_bit(META_dirty, &mp [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/mm/ |
H A D | extable.c | 52 struct module *mp; local 56 for (mp = module_list; mp ; mp = mp->next) { 57 if (!mp->ex_table_start || !(mp->flags&(MOD_RUNNING|MOD_INITIALIZING))) 59 ret = search_one_table(mp->ex_table_start, 60 mp->ex_table_end - 1, addr - mp [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/mm/ |
H A D | extable.c | 47 struct module *mp; 48 for (mp = module_list; mp != NULL; mp = mp->next) { 49 if (mp->ex_table_start == NULL || !(mp->flags&(MOD_RUNNING|MOD_INITIALIZING))) 51 ret = search_one_table(mp->ex_table_start, 52 mp->ex_table_end - 1, addr);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/ |
H A D | mace.c | 92 static inline void mace_clean_rings(struct mace_data *mp); 124 struct mace_data *mp; local 156 mp = dev->priv; 157 mp->of_node = mace; 174 mp->mace = (volatile struct mace *) 184 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | 185 in_8(&mp->mace->chipid_lo); 186 printk(", chip revision %d.%d\n", mp->chipid >> 8, mp 273 struct mace_data *mp = (struct mace_data *) dev->priv; local 328 struct mace_data *mp = (struct mace_data *) dev->priv; local 349 struct mace_data *mp = (struct mace_data *) dev->priv; local 366 struct mace_data *mp = (struct mace_data *) dev->priv; local 434 mace_clean_rings(struct mace_data *mp) argument 454 struct mace_data *mp = (struct mace_data *) dev->priv; local 474 struct mace_data *mp = (struct mace_data *) dev->priv; local 491 struct mace_data *mp = (struct mace_data *) dev->priv; local 554 struct mace_data *mp = (struct mace_data *) dev->priv; local 596 mace_handle_misc_intrs(struct mace_data *mp, int intr) argument 620 struct mace_data *mp = (struct mace_data *) dev->priv; local 754 struct mace_data *mp = (struct mace_data *) dev->priv; local 825 struct mace_data *mp = (struct mace_data *) dev->priv; local 934 struct mace_data *mp; local [all...] |
H A D | myri_sbus.c | 126 static inline void bang_the_chip(struct myri_eth *mp) argument 128 struct myri_shmem *shmem = mp->shmem; 129 unsigned long cregs = mp->cregs; 135 static int myri_do_handshake(struct myri_eth *mp) argument 137 struct myri_shmem *shmem = mp->shmem; 138 unsigned long cregs = mp->cregs; 148 myri_disable_irq(mp->lregs, cregs); 173 myri_enable_irq(mp->lregs, cregs); 183 static int myri_load_lanai(struct myri_eth *mp) argument 185 struct net_device *dev = mp 245 myri_clean_rings(struct myri_eth *mp) argument 282 myri_init_rings(struct myri_eth *mp, int from_irq) argument 314 myri_init(struct myri_eth *mp, int from_irq) argument 320 myri_is_not_so_happy(struct myri_eth *mp) argument 351 myri_tx(struct myri_eth *mp, struct net_device *dev) argument 419 myri_rx(struct myri_eth *mp, struct net_device *dev) argument 546 struct myri_eth *mp = (struct myri_eth *) dev->priv; local 576 struct myri_eth *mp = (struct myri_eth *) dev->priv; local 583 struct myri_eth *mp = (struct myri_eth *) dev->priv; local 591 struct myri_eth *mp = (struct myri_eth *) dev->priv; local 602 struct myri_eth *mp = (struct myri_eth *) dev->priv; local 809 set_boardid_from_idprom(struct myri_eth *mp, int num) argument 819 determine_reg_space_size(struct myri_eth *mp) argument 844 dump_eeprom(struct myri_eth *mp) argument 886 struct myri_eth *mp; local [all...] |
H A D | macmace.c | 103 struct mace_data *mp = (struct mace_data *) dev->priv; local 106 psc_write_long(PSC_ENETRD_ADDR + set, (u32) mp->rx_ring_phys); 109 mp->rx_tail = 0; 118 struct mace_data *mp = (struct mace_data *) dev->priv; local 119 volatile struct mace *mace = mp->mace; 133 mp->rx_slot = 0; 145 struct mace_data *mp = (struct mace_data *) dev->priv; local 146 volatile struct mace *mace = mp->mace; 154 mp->tx_slot = mp 186 struct mace_data *mp; local 253 struct mace_data *mp = (struct mace_data *) dev->priv; local 285 struct mace_data *mp = (struct mace_data *) dev->priv; local 348 struct mace_data *mp = (struct mace_data *) dev->priv; local 370 struct mace_data *mp = (struct mace_data *) dev->priv; local 408 struct mace_data *mp = (struct mace_data *) dev->priv; local 455 mace_handle_misc_intrs(struct mace_data *mp, int intr) argument 492 struct mace_data *mp = (struct mace_data *) dev->priv; local 529 struct mace_data *mp = (struct mace_data *) dev->priv; local 556 struct mace_data *mp = (struct mace_data *) dev->priv; local 600 struct mace_data *mp = (struct mace_data *) dev->priv; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/mm/ |
H A D | extable.c | 56 struct module *mp; 58 for (mp = module_list; mp ; mp = mp->next) { 60 if (!mp->ex_table_start) 62 ret = search_one_table(mp->ex_table_start, mp->ex_table_end - 1,
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/mm/ |
H A D | extable.c | 50 struct module *mp; 51 for (mp = module_list; mp != NULL; mp = mp->next) { 52 if (mp->ex_table_start == NULL) 54 ret = search_one_table(mp->ex_table_start, 55 mp->ex_table_end - 1, addr);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/mm/ |
H A D | extable.c | 69 struct module *mp; 70 for (mp = module_list; mp != NULL; mp = mp->next) { 71 if (mp->ex_table_start == NULL) 73 ret = search_one_table(mp->ex_table_start, 74 mp->ex_table_end - 1, addr);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/mm/ |
H A D | extable.c | 44 struct module *mp; 45 for (mp = module_list; mp != NULL; mp = mp->next) { 46 if (mp->ex_table_start == NULL) 48 ret = search_one_table(mp->ex_table_start, 49 mp->ex_table_end-1, addr);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_malloc.c | 77 static void *___sym_malloc(m_pool_p mp, int size) argument 83 m_link_p h = mp->h; 123 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) argument 129 m_link_p h = mp->h; 175 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) argument 179 p = ___sym_malloc(mp, size); 191 #define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, SYM_MEM_WARN) 196 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) argument 201 ___sym_mfree(mp, pt 219 ___mp0_get_mem_cluster(m_pool_p mp) argument 228 ___mp0_free_mem_cluster(m_pool_p mp, m_addr_t m) argument 270 ___get_dma_mem_cluster(m_pool_p mp) argument 294 ___free_dma_mem_cluster(m_pool_p mp, m_addr_t m) argument 315 m_pool_p mp; local 325 m_pool_p mp = 0; local 366 m_pool_p mp; local 388 m_pool_p mp; local 405 m_pool_p mp; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/ |
H A D | chmc.c | 49 struct mctrl_info *mp; member in struct:bank_info 123 struct mctrl_info *mp = local 134 bp = &mp->logical_banks[bank_no]; 165 prop = &bp->mp->layout_prop; 239 static u64 read_mcreg(struct mctrl_info *mp, unsigned long offset) argument 243 if (mp->portid == smp_processor_id()) { 250 : "r" (mp->regs + offset), 257 static void interpret_one_decode_reg(struct mctrl_info *mp, int which_bank, u64 val) argument 259 struct bank_info *p = &mp->logical_banks[which_bank]; 261 p->mp 305 fetch_decode_regs(struct mctrl_info *mp) argument 322 struct mctrl_info *mp = kmalloc(sizeof(*mp), GFP_KERNEL); local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd/modules/ |
H A D | ppp_comp.c | 84 /* Extract byte i of message mp. */ 85 #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \ 86 msg_byte((mp), (i))) 89 #define LCP_USE_DFLT(mp) (1 <= (code = MSG_BYTE((mp), 4)) && code <= 7) 321 ppp_comp_wput(q, mp) 323 mblk_t *mp; 609 mblk_t *mp, *cmp = NULL; local 797 mblk_t *mp, *dmp = NULL, *np; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd/solaris/ |
H A D | ppp_comp.c | 84 /* Extract byte i of message mp. */ 85 #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \ 86 msg_byte((mp), (i))) 89 #define LCP_USE_DFLT(mp) (1 <= (code = MSG_BYTE((mp), 4)) && code <= 7) 321 ppp_comp_wput(q, mp) 323 mblk_t *mp; 609 mblk_t *mp, *cmp = NULL; local 797 mblk_t *mp, *dmp = NULL, *np; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/modules/ |
H A D | ppp_comp.c | 84 /* Extract byte i of message mp. */ 85 #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \ 86 msg_byte((mp), (i))) 89 #define LCP_USE_DFLT(mp) (1 <= (code = MSG_BYTE((mp), 4)) && code <= 7) 321 ppp_comp_wput(q, mp) 323 mblk_t *mp; 609 mblk_t *mp, *cmp = NULL; local 797 mblk_t *mp, *dmp = NULL, *np; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/solaris/ |
H A D | ppp_comp.c | 84 /* Extract byte i of message mp. */ 85 #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \ 86 msg_byte((mp), (i))) 89 #define LCP_USE_DFLT(mp) (1 <= (code = MSG_BYTE((mp), 4)) && code <= 7) 321 ppp_comp_wput(q, mp) 323 mblk_t *mp; 609 mblk_t *mp, *cmp = NULL; local 797 mblk_t *mp, *dmp = NULL, *np; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/ppp/modules/ |
H A D | ppp_comp.c | 76 /* Extract byte i of message mp. */ 77 #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \ 78 msg_byte((mp), (i))) 81 #define LCP_USE_DFLT(mp) (1 <= (code = MSG_BYTE((mp), 4)) && code <= 7) 313 ppp_comp_wput(q, mp) 315 mblk_t *mp; 601 mblk_t *mp, *cmp = NULL; local 789 mblk_t *mp, *dmp = NULL, *np; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/ppp/solaris/ |
H A D | ppp_comp.c | 76 /* Extract byte i of message mp. */ 77 #define MSG_BYTE(mp, i) ((i) < (mp)->b_wptr - (mp)->b_rptr? (mp)->b_rptr[i]: \ 78 msg_byte((mp), (i))) 81 #define LCP_USE_DFLT(mp) (1 <= (code = MSG_BYTE((mp), 4)) && code <= 7) 313 ppp_comp_wput(q, mp) 315 mblk_t *mp; 601 mblk_t *mp, *cmp = NULL; local 789 mblk_t *mp, *dmp = NULL, *np; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/mm/ |
H A D | extable.c | 47 struct module *mp; 50 for (mp = module_list; mp != NULL; mp = mp->next) { 51 if (mp->ex_table_start == NULL || !(mp->flags&(MOD_RUNNING|MOD_INITIALIZING))) 53 ret = search_one_table(mp->ex_table_start, 54 mp->ex_table_end - 1, addr);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390/mm/ |
H A D | extable.c | 56 struct module *mp; 60 for (mp = module_list; mp != NULL; mp = mp->next) { 61 if (mp->ex_table_start == NULL || !(mp->flags&(MOD_RUNNING|MOD_INITIALIZING))) 63 ret = search_one_table(mp->ex_table_start, 64 mp->ex_table_end - 1, addr);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/mm/ |
H A D | extable.c | 54 struct module *mp; 57 for (mp = module_list; mp != NULL; mp = mp->next) { 58 if (mp->ex_table_start == NULL || !(mp->flags&(MOD_RUNNING|MOD_INITIALIZING))) 60 ret = search_one_table(mp->ex_table_start, 61 mp->ex_table_end - 1, addr);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/mm/ |
H A D | extable.c | 74 struct module *mp; 77 for (mp = module_list; mp != NULL; mp = mp->next) { 78 if (mp->ex_table_start == NULL || !(mp->flags & (MOD_RUNNING | MOD_INITIALIZING))) 80 ret = search_one_table(mp->ex_table_start, 81 mp->ex_table_end-1, addr, g2);
|