/linux-4.4.14/arch/blackfin/mm/ |
D | sram-alloc.c | 272 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.4.14/drivers/pci/hotplug/ |
D | ibmphp_hpc.c | 536 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 …]
|
D | ibmphp_core.c | 240 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 …]
|
D | pciehp_ctrl.c | 60 static void set_slot_off(struct controller *ctrl, struct slot *pslot) in set_slot_off() argument 64 pciehp_power_off_slot(pslot); in set_slot_off() 74 pciehp_green_led_off(pslot); in set_slot_off() 75 pciehp_set_attention_status(pslot, 1); in set_slot_off()
|
D | shpchp_ctrl.c | 207 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.4.14/sound/core/oss/ |
D | mixer_oss.c | 142 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.4.14/include/linux/ |
D | radix-tree.h | 194 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.4.14/mm/ |
D | migrate.c | 320 void **pslot; in migrate_page_move_mapping() local 342 pslot = radix_tree_lookup_slot(&mapping->page_tree, in migrate_page_move_mapping() 347 radix_tree_deref_slot_protected(pslot, &mapping->tree_lock) != page) { in migrate_page_move_mapping() 394 radix_tree_replace_slot(pslot, newpage); in migrate_page_move_mapping() 441 void **pslot; in migrate_huge_page_move_mapping() local 445 pslot = radix_tree_lookup_slot(&mapping->page_tree, in migrate_huge_page_move_mapping() 450 radix_tree_deref_slot_protected(pslot, &mapping->tree_lock) != page) { in migrate_huge_page_move_mapping() 465 radix_tree_replace_slot(pslot, newpage); in migrate_huge_page_move_mapping()
|
D | shmem.c | 258 void **pslot; in shmem_radix_tree_replace() local 263 pslot = radix_tree_lookup_slot(&mapping->page_tree, index); in shmem_radix_tree_replace() 264 if (!pslot) in shmem_radix_tree_replace() 266 item = radix_tree_deref_slot_protected(pslot, &mapping->tree_lock); in shmem_radix_tree_replace() 269 radix_tree_replace_slot(pslot, replacement); in shmem_radix_tree_replace()
|
/linux-4.4.14/fs/btrfs/ |
D | ctree.c | 1896 int pslot; in balance_level() local 1913 pslot = path->slots[level + 1]; in balance_level() 1966 left = read_node_slot(root, parent, pslot - 1); in balance_level() 1971 parent, pslot - 1, &left); in balance_level() 1977 right = read_node_slot(root, parent, pslot + 1); in balance_level() 1982 parent, pslot + 1, &right); in balance_level() 2007 del_ptr(root, path, level + 1, pslot + 1); in balance_level() 2016 pslot + 1, 0); in balance_level() 2017 btrfs_set_node_key(parent, &right_key, pslot + 1); in balance_level() 2051 del_ptr(root, path, level + 1, pslot); in balance_level() [all …]
|
/linux-4.4.14/fs/nfs/ |
D | nfs4session.c | 268 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()
|