Home
last modified time | relevance | path

Searched refs:pslot (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/arch/blackfin/mm/
Dsram-alloc.c235 struct sram_piece *pslot, *plast, *pavail; in _sram_alloc() local
243 pslot = pfree_head->next; in _sram_alloc()
247 while (pslot != NULL && size > pslot->size) { in _sram_alloc()
248 plast = pslot; in _sram_alloc()
249 pslot = pslot->next; in _sram_alloc()
252 if (!pslot) in _sram_alloc()
255 if (pslot->size == size) { in _sram_alloc()
256 plast->next = pslot->next; in _sram_alloc()
257 pavail = pslot; in _sram_alloc()
265 pavail->paddr = pslot->paddr; in _sram_alloc()
[all …]
/linux-2.6.39/drivers/pci/hotplug/
Dibmphp_hpc.c536 int ibmphp_hpc_readslot (struct slot * pslot, u8 cmd, u8 * pstatus) in ibmphp_hpc_readslot() argument
545 debug_polling ("%s - Entry pslot[%p] cmd[%x] pstatus[%p]\n", __func__, pslot, cmd, pstatus); in ibmphp_hpc_readslot()
547 if ((pslot == NULL) in ibmphp_hpc_readslot()
555 busindex = ibmphp_get_bus_index (pslot->bus); in ibmphp_hpc_readslot()
563 index = pslot->ctlr_index; in ibmphp_hpc_readslot()
573 ctlr_ptr = pslot->ctrl; in ibmphp_hpc_readslot()
591 pslot->ctrl->status = status; in ibmphp_hpc_readslot()
592 pslot->status = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
596 pslot->ext_status = ctrl_read (ctlr_ptr, wpg_bbar, index + WPG_1ST_EXTSLOT_INDEX); in ibmphp_hpc_readslot()
616 pslot->busstatus = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
[all …]
Dibmphp_core.c242 struct slot *pslot; in set_attention_status() local
268 pslot = hotplug_slot->private; in set_attention_status()
269 if (pslot) in set_attention_status()
270 rc = ibmphp_hpc_writeslot(pslot, cmd); in set_attention_status()
286 struct slot *pslot; in get_attention_status() local
294 pslot = hotplug_slot->private; in get_attention_status()
295 if (pslot) { in get_attention_status()
296 memcpy(&myslot, pslot, sizeof(struct slot)); in get_attention_status()
297 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS, in get_attention_status()
300 rc = ibmphp_hpc_readslot(pslot, in get_attention_status()
[all …]
Dpciehp_ctrl.c157 static void set_slot_off(struct controller *ctrl, struct slot * pslot) in set_slot_off() argument
161 if (pciehp_power_off_slot(pslot)) { in set_slot_off()
175 pciehp_green_led_off(pslot); in set_slot_off()
178 if (pciehp_set_attention_status(pslot, 1)) { in set_slot_off()
Dshpchp_ctrl.c206 static int fix_bus_speed(struct controller *ctrl, struct slot *pslot, in fix_bus_speed() argument
227 rc = change_bus_speed(ctrl, pslot, asp); in fix_bus_speed()
230 rc = change_bus_speed(ctrl, pslot, msp); in fix_bus_speed()
/linux-2.6.39/sound/core/oss/
Dmixer_oss.c134 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_devmask() local
140 pslot = &mixer->slots[chn]; in snd_mixer_oss_devmask()
141 if (pslot->put_volume || pslot->put_recsrc) in snd_mixer_oss_devmask()
150 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_stereodevs() local
156 pslot = &mixer->slots[chn]; in snd_mixer_oss_stereodevs()
157 if (pslot->put_volume && pslot->stereo) in snd_mixer_oss_stereodevs()
173 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_recmask() local
176 pslot = &mixer->slots[chn]; in snd_mixer_oss_recmask()
177 if (pslot->put_recsrc) in snd_mixer_oss_recmask()
198 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_get_recsrc() local
[all …]
/linux-2.6.39/include/linux/
Dradix-tree.h143 static inline void *radix_tree_deref_slot(void **pslot) in radix_tree_deref_slot() argument
145 return rcu_dereference(*pslot); in radix_tree_deref_slot()
158 static inline void *radix_tree_deref_slot_protected(void **pslot, in radix_tree_deref_slot_protected() argument
161 return rcu_dereference_protected(*pslot, lockdep_is_held(treelock)); in radix_tree_deref_slot_protected()
184 static inline void radix_tree_replace_slot(void **pslot, void *item) in radix_tree_replace_slot() argument
187 rcu_assign_pointer(*pslot, item); in radix_tree_replace_slot()
/linux-2.6.39/mm/
Dmigrate.c235 void **pslot; in migrate_page_move_mapping() local
246 pslot = radix_tree_lookup_slot(&mapping->page_tree, in migrate_page_move_mapping()
251 radix_tree_deref_slot_protected(pslot, &mapping->tree_lock) != page) { in migrate_page_move_mapping()
270 radix_tree_replace_slot(pslot, newpage); in migrate_page_move_mapping()
308 void **pslot; in migrate_huge_page_move_mapping() local
318 pslot = radix_tree_lookup_slot(&mapping->page_tree, in migrate_huge_page_move_mapping()
323 radix_tree_deref_slot_protected(pslot, &mapping->tree_lock) != page) { in migrate_huge_page_move_mapping()
335 radix_tree_replace_slot(pslot, newpage); in migrate_huge_page_move_mapping()
/linux-2.6.39/fs/btrfs/
Dctree.c891 int pslot; in balance_level() local
907 pslot = path->slots[level + 1]; in balance_level()
955 left = read_node_slot(root, parent, pslot - 1); in balance_level()
960 parent, pslot - 1, &left); in balance_level()
966 right = read_node_slot(root, parent, pslot + 1); in balance_level()
971 parent, pslot + 1, &right); in balance_level()
997 wret = del_ptr(trans, root, path, level + 1, pslot + in balance_level()
1008 btrfs_set_node_key(parent, &right_key, pslot + 1); in balance_level()
1038 wret = del_ptr(trans, root, path, level + 1, pslot); in balance_level()
1049 btrfs_set_node_key(parent, &mid_key, pslot); in balance_level()
[all …]