Home
last modified time | relevance | path

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

/linux-4.1.27/arch/blackfin/mm/
Dsram-alloc.c272 struct sram_piece *pslot, *plast, *pavail; in _sram_alloc() local
280 pslot = pfree_head->next; in _sram_alloc()
284 while (pslot != NULL && size > pslot->size) { in _sram_alloc()
285 plast = pslot; in _sram_alloc()
286 pslot = pslot->next; in _sram_alloc()
289 if (!pslot) in _sram_alloc()
292 if (pslot->size == size) { in _sram_alloc()
293 plast->next = pslot->next; in _sram_alloc()
294 pavail = pslot; in _sram_alloc()
302 pavail->paddr = pslot->paddr; in _sram_alloc()
[all …]
/linux-4.1.27/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.c240 struct slot *pslot; in set_attention_status() local
266 pslot = hotplug_slot->private; in set_attention_status()
267 if (pslot) in set_attention_status()
268 rc = ibmphp_hpc_writeslot(pslot, cmd); in set_attention_status()
284 struct slot *pslot; in get_attention_status() local
292 pslot = hotplug_slot->private; in get_attention_status()
293 if (pslot) { in get_attention_status()
294 memcpy(&myslot, pslot, sizeof(struct slot)); in get_attention_status()
295 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS, in get_attention_status()
298 rc = ibmphp_hpc_readslot(pslot, in get_attention_status()
[all …]
Dpciehp_ctrl.c178 static void set_slot_off(struct controller *ctrl, struct slot *pslot) in set_slot_off() argument
182 pciehp_power_off_slot(pslot); in set_slot_off()
192 pciehp_green_led_off(pslot); in set_slot_off()
193 pciehp_set_attention_status(pslot, 1); in set_slot_off()
Dshpchp_ctrl.c207 static int fix_bus_speed(struct controller *ctrl, struct slot *pslot, in fix_bus_speed() argument
228 rc = change_bus_speed(ctrl, pslot, asp); in fix_bus_speed()
231 rc = change_bus_speed(ctrl, pslot, msp); in fix_bus_speed()
/linux-4.1.27/sound/core/oss/
Dmixer_oss.c142 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_devmask() local
148 pslot = &mixer->slots[chn]; in snd_mixer_oss_devmask()
149 if (pslot->put_volume || pslot->put_recsrc) in snd_mixer_oss_devmask()
158 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_stereodevs() local
164 pslot = &mixer->slots[chn]; in snd_mixer_oss_stereodevs()
165 if (pslot->put_volume && pslot->stereo) in snd_mixer_oss_stereodevs()
181 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_recmask() local
184 pslot = &mixer->slots[chn]; in snd_mixer_oss_recmask()
185 if (pslot->put_recsrc) in snd_mixer_oss_recmask()
206 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_get_recsrc() local
[all …]
/linux-4.1.27/include/linux/
Dradix-tree.h194 static inline void *radix_tree_deref_slot(void **pslot) in radix_tree_deref_slot() argument
196 return rcu_dereference(*pslot); in radix_tree_deref_slot()
209 static inline void *radix_tree_deref_slot_protected(void **pslot, in radix_tree_deref_slot_protected() argument
212 return rcu_dereference_protected(*pslot, lockdep_is_held(treelock)); in radix_tree_deref_slot_protected()
257 static inline void radix_tree_replace_slot(void **pslot, void *item) in radix_tree_replace_slot() argument
260 rcu_assign_pointer(*pslot, item); in radix_tree_replace_slot()
/linux-4.1.27/mm/
Dmigrate.c314 void **pslot; in migrate_page_move_mapping() local
325 pslot = radix_tree_lookup_slot(&mapping->page_tree, in migrate_page_move_mapping()
330 radix_tree_deref_slot_protected(pslot, &mapping->tree_lock) != page) { in migrate_page_move_mapping()
363 radix_tree_replace_slot(pslot, newpage); in migrate_page_move_mapping()
401 void **pslot; in migrate_huge_page_move_mapping() local
411 pslot = radix_tree_lookup_slot(&mapping->page_tree, in migrate_huge_page_move_mapping()
416 radix_tree_deref_slot_protected(pslot, &mapping->tree_lock) != page) { in migrate_huge_page_move_mapping()
428 radix_tree_replace_slot(pslot, newpage); in migrate_huge_page_move_mapping()
Dshmem.c256 void **pslot; in shmem_radix_tree_replace() local
261 pslot = radix_tree_lookup_slot(&mapping->page_tree, index); in shmem_radix_tree_replace()
262 if (!pslot) in shmem_radix_tree_replace()
264 item = radix_tree_deref_slot_protected(pslot, &mapping->tree_lock); in shmem_radix_tree_replace()
267 radix_tree_replace_slot(pslot, replacement); in shmem_radix_tree_replace()
/linux-4.1.27/fs/btrfs/
Dctree.c1890 int pslot; in balance_level() local
1907 pslot = path->slots[level + 1]; in balance_level()
1960 left = read_node_slot(root, parent, pslot - 1); in balance_level()
1965 parent, pslot - 1, &left); in balance_level()
1971 right = read_node_slot(root, parent, pslot + 1); in balance_level()
1976 parent, pslot + 1, &right); in balance_level()
2001 del_ptr(root, path, level + 1, pslot + 1); in balance_level()
2010 pslot + 1, 0); in balance_level()
2011 btrfs_set_node_key(parent, &right_key, pslot + 1); in balance_level()
2045 del_ptr(root, path, level + 1, pslot); in balance_level()
[all …]
/linux-4.1.27/fs/nfs/
Dnfs4session.c268 static bool nfs41_assign_slot(struct rpc_task *task, void *pslot) in nfs41_assign_slot() argument
272 struct nfs4_slot *slot = pslot; in nfs41_assign_slot()