/linux-master/arch/x86/kvm/mmu/ |
H A D | paging_tmpl.h | 234 * If the slot is read-only, simply do not process the accessed 235 * and dirty bits. This is the correct thing to do if the slot 364 struct kvm_memory_slot *slot; local 395 slot = kvm_vcpu_gfn_to_memslot(vcpu, gpa_to_gfn(real_gpa)); 396 if (!kvm_is_visible_memslot(slot)) 399 host_addr = gfn_to_hva_memslot_prot(slot, gpa_to_gfn(real_gpa), 536 struct kvm_memory_slot *slot; local 548 slot = gfn_to_memslot_dirty_bitmap(vcpu, gfn, pte_access & ACC_WRITE_MASK); 549 if (!slot) 552 pfn = gfn_to_pfn_memslot_atomic(slot, gf 908 struct kvm_memory_slot *slot; local [all...] |
/linux-master/sound/soc/codecs/ |
H A D | cs35l34.c | 273 int slot, slot_num; local 279 /* scan rx_mask for aud slot */ 280 slot = ffs(rx_mask) - 1; 281 if (slot >= 0) 283 CS35L34_X_LOC, slot); 285 /* scan tx_mask: vmon(2 slots); imon (2 slots); vpmon (1 slot) 286 * vbstmon (1 slot) 288 slot = ffs(tx_mask) - 1; 300 while (slot >= 0) { 304 CS35L34_X_STATE | CS35L34_X_LOC, slot); [all...] |
H A D | ab8500-codec.c | 1410 /* Digital interface - DA from slot mapping */ 1468 /* Digital interface - AD to slot mapping */ 1772 /* Digital interface - DA from slot mapping */ 1782 /* Digital interface - AD to slot mapping */ 2217 unsigned int val, mask, slot, slots_active; local 2237 dev_err(dai->component->dev, "%s: Unsupported slot-width 0x%x\n", 2242 dev_dbg(dai->component->dev, "%s: IF0 slot-width: %d bits.\n", 2246 /* Setup TDM clocking according to slot count */ 2288 slot = ffs(tx_mask); 2289 snd_soc_component_update_bits(component, AB8500_DASLOTCONF1, mask, slot); [all...] |
/linux-master/tools/testing/selftests/kvm/include/ |
H A D | kvm_util.h | 438 static inline void kvm_vm_get_dirty_log(struct kvm_vm *vm, int slot, void *log) argument 440 struct kvm_dirty_log args = { .dirty_bitmap = log, .slot = slot }; 445 static inline void kvm_vm_clear_dirty_log(struct kvm_vm *vm, int slot, void *log, argument 450 .slot = slot, 543 void vm_set_user_memory_region(struct kvm_vm *vm, uint32_t slot, uint32_t flags, 545 int __vm_set_user_memory_region(struct kvm_vm *vm, uint32_t slot, uint32_t flags, 547 void vm_set_user_memory_region2(struct kvm_vm *vm, uint32_t slot, uint32_t flags, 550 int __vm_set_user_memory_region2(struct kvm_vm *vm, uint32_t slot, uint32_ [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | eeh_driver.c | 360 * eeh_report_reset - Tell device that slot has been reset 613 * eeh_reset_device - Perform actual reset of a pci slot 616 * @bus: PCI bus corresponding to the isolcated slot 749 * eeh_check_slot_presence - Check if a device is still present in a slot 752 * This function may return a false positive if we can't determine the slot's 763 struct pci_slot *slot; local 773 slot = pdev->slot; 774 if (!slot || !slot 795 struct pci_slot *slot; local [all...] |
/linux-master/kernel/events/ |
H A D | hw_breakpoint.c | 542 * there is already a free slot for them. 634 * Reserve the old_type slot back in case 638 * the old_type slot in the __release_bp_slot 909 for (int slot = 0; slot < hw_breakpoint_slots_cached(type); ++slot) { 910 if (atomic_read(&info->tsk_pinned.count[slot])) 917 for (int slot = 0; slot < hw_breakpoint_slots_cached(type); ++slot) { [all...] |
/linux-master/arch/loongarch/kernel/ |
H A D | hw_breakpoint.c | 31 pr_warn("unknown slot type: %d\n", type); 102 * hw_breakpoint_slot_setup - Find and setup a perf slot according to operations 107 * @ops: operation to be carried out on the slot 110 * slot index on success 111 * -ENOSPC if no slot is available/matches 119 struct perf_event **slot; local 122 slot = &slots[i]; 125 if (!*slot) { 126 *slot = bp; 131 if (*slot [all...] |
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_v3d.c | 177 int slot; local 186 slot = ffs(~vc4->bin_alloc_used); 187 if (slot != 0) { 189 slot--; 190 vc4->bin_alloc_used |= BIT(slot); 192 return slot; 195 /* Couldn't find an open slot. Wait for render to complete
|
/linux-master/drivers/input/touchscreen/ |
H A D | pixcir_i2c_ts.c | 151 int n, i, slot; local 164 slot = input_mt_get_slot_by_key(ts->input, 166 if (slot < 0) { 167 dev_dbg(dev, "no free slot for id 0x%x\n", 172 slot = slots[i]; 175 input_mt_slot(ts->input, slot); 183 dev_dbg(dev, "%d: slot %d, x %d, y %d\n", 184 i, slot, report->pos[i].x, report->pos[i].y);
|
/linux-master/fs/ocfs2/ |
H A D | journal.c | 59 int slot, 130 /* set rm_replay_slots for offline slot(s) */ 1078 int slot) 1085 "journal %u.\n", olderr, slot); 1371 * recovery for it's own and offline slot(s). */ 1445 /* queue recovery for our own slot */ 1466 * the slot. So we remember which nodes need quota recovery 1501 * superblock lock so that no one can start using the slot (and crash) 1634 * another node mounted (and recovered) the slot before the recovery 1636 * inode for that slot t 1076 ocfs2_clear_journal_error(struct super_block *sb, journal_t *journal, int slot) argument 2116 ocfs2_queue_orphans(struct ocfs2_super *osb, int slot, struct inode **head, enum ocfs2_orphan_reco_type orphan_reco_type) argument 2162 ocfs2_orphan_recovery_can_continue(struct ocfs2_super *osb, int slot) argument 2173 ocfs2_mark_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 2192 ocfs2_clear_recovering_orphan_dir(struct ocfs2_super *osb, int slot) argument 2216 ocfs2_recover_orphans(struct ocfs2_super *osb, int slot, enum ocfs2_orphan_reco_type orphan_reco_type) argument 2379 unsigned int slot; local [all...] |
/linux-master/fs/btrfs/ |
H A D | props.c | 166 int slot; local 169 slot = path->slots[0]; 172 if (slot >= btrfs_header_nritems(leaf)) { 181 btrfs_item_key_to_cpu(leaf, &key, slot); 191 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); 193 total_len = btrfs_item_size(leaf, slot);
|
/linux-master/include/trace/events/ |
H A D | kvm.h | 379 TP_PROTO(struct kvm_dirty_ring *ring, u32 slot, u64 offset), 380 TP_ARGS(ring, slot, offset), 386 __field(u32, slot) 394 __entry->slot = slot; 399 "slot %u offset 0x%llx (used %u)", 401 __entry->reset_index, __entry->slot, __entry->offset,
|
/linux-master/drivers/mfd/ |
H A D | dln2.c | 83 /* used to wait for a free RX slot */ 184 * Returns true if a valid transfer slot is found. In this case the URB must not 348 static bool find_free_slot(struct dln2_dev *dln2, u16 handle, int *slot) argument 354 *slot = -ENODEV; 362 *slot = find_first_zero_bit(rxs->bmap, DLN2_MAX_RX_SLOTS); 364 if (*slot < DLN2_MAX_RX_SLOTS) { 365 struct dln2_rx_context *rxc = &rxs->slots[*slot]; 367 set_bit(*slot, rxs->bmap); 373 return *slot < DLN2_MAX_RX_SLOTS; 379 int slot; local 393 free_rx_slot(struct dln2_dev *dln2, u16 handle, int slot) argument [all...] |
/linux-master/drivers/media/pci/ttpci/ |
H A D | budget-av.c | 63 static int ciintf_slot_shutdown(struct dvb_ca_en50221 *ca, int slot); 123 static int ciintf_read_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address) argument 128 if (slot != 0) 136 ciintf_slot_shutdown(ca, slot); 142 static int ciintf_write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address, u8 value) argument 147 if (slot != 0) 155 ciintf_slot_shutdown(ca, slot); 161 static int ciintf_read_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address) argument 166 if (slot != 0) 174 ciintf_slot_shutdown(ca, slot); 181 ciintf_write_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address, u8 value) argument 200 ciintf_slot_reset(struct dvb_ca_en50221 *ca, int slot) argument 229 ciintf_slot_shutdown(struct dvb_ca_en50221 *ca, int slot) argument 245 ciintf_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot) argument 260 ciintf_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open) argument [all...] |
/linux-master/lib/ |
H A D | maple_tree.c | 16 * and are simply the slot index + the minimum of the node. 21 * specific position of a B-tree. Pivot values are inclusive of the slot with 45 * a slot, but the last offset has an implied pivot from the node above (or 126 struct maple_enode *slot[MAPLE_BIG_NODE_SLOTS]; member in union:maple_big_node::__anon22 392 * indicate if bit 2 is part of the type or the slot. 402 * 0b?00 : 16 bit values, type in 0-1, slot in 2-7 403 * 0b010 : 32 bit values, type in 0-2, slot in 3-7 404 * 0b110 : 64 bit values, type in 0-2, slot in 3-7 420 * mte_parent_shift() - Get the parent shift for the slot storage. 422 * Return: The shift into that pointer to the star to of the slot 485 mas_set_parent(struct ma_state *mas, struct maple_enode *enode, const struct maple_enode *parent, unsigned char slot) argument 2070 unsigned char slot; local 2423 mas_set_split_parent(struct ma_state *mas, struct maple_enode *left, struct maple_enode *right, unsigned char *slot, unsigned char split) argument 2448 mte_mid_split_check(struct maple_enode **l, struct maple_enode **r, struct maple_enode *right, unsigned char slot, unsigned char *split, unsigned char mid_split) argument 2481 unsigned char slot; local 2833 unsigned char slot = 0; local 3478 int slot = 0; local 4933 unsigned char slot; local [all...] |
/linux-master/arch/mips/pci/ |
H A D | fixup-fuloong2e.c | 15 /* South bridge slot number is set by the pci probe process */ 18 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 22 if (slot == sb_slot) {
|
H A D | pci-rt3883.c | 93 static inline u32 rt3883_pci_get_cfgaddr(unsigned int bus, unsigned int slot, argument 96 return (bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | 101 unsigned bus, unsigned slot, 106 address = rt3883_pci_get_cfgaddr(bus, slot, func, reg); 114 unsigned bus, unsigned slot, 119 address = rt3883_pci_get_cfgaddr(bus, slot, func, reg); 552 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 554 return of_irq_parse_and_map_pci(dev, slot, pin); 100 rt3883_pci_read_cfg32(struct rt3883_pci_controller *rpc, unsigned bus, unsigned slot, unsigned func, unsigned reg) argument 113 rt3883_pci_write_cfg32(struct rt3883_pci_controller *rpc, unsigned bus, unsigned slot, unsigned func, unsigned reg, u32 val) argument
|
/linux-master/include/linux/ |
H A D | mISDNhw.h | 86 int slot; /* multiport card channel slot */ member in struct:dchannel 147 int slot; /* multiport card channel slot */ member in struct:bchannel
|
H A D | pipe_fs_i.h | 176 * pipe_buf - Return the pipe buffer for the specified slot in the pipe ring 178 * @slot: The slot of interest 181 unsigned int slot) 183 return &pipe->bufs[slot & (pipe->ring_size - 1)]; 180 pipe_buf(const struct pipe_inode_info *pipe, unsigned int slot) argument
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_ptp.h | 106 void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, 156 static inline void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, argument
|
/linux-master/drivers/misc/ |
H A D | enclosure.c | 139 edev->component[i].slot = -1; 355 * Declares a real device to reside in slot (or identifier) @num of an 632 int slot; local 635 if (ecomp->slot >= 0) 636 slot = ecomp->slot; 638 slot = ecomp->number; 640 return sysfs_emit(buf, "%d\n", slot); 654 static DEVICE_ATTR(slot, S_IRUGO, get_component_slot, NULL);
|
/linux-master/drivers/nubus/ |
H A D | proc.c | 15 contain subdirectories. Each slot resource is a file. Unrecognized 18 value has to be interpreted as a slot ROM pointer etc.). 43 fres->board->slot, fres->category, fres->type, 60 snprintf(name, sizeof(name), "%x", board->slot); 65 * is the bytelanes value for the board in slot x. 84 * of the resource data in the slot ROM. For slot resources which hold only a
|
/linux-master/block/partitions/ |
H A D | amiga.c | 48 int slot = 1; local 178 put_partition(state,slot++,start_sect,nr_sects);
|
/linux-master/drivers/mmc/host/ |
H A D | sdhci-pci.h | 187 static inline void *sdhci_pci_priv(struct sdhci_pci_slot *slot) argument 189 return (void *)slot->private;
|
/linux-master/net/batman-adv/ |
H A D | multicast_forw.c | 701 * batadv_mcast_forw_shrink_fill() - swap slot with next non-zero destination 702 * @slot: the to be filled zero-MAC destination entry in a tracker TVLV 703 * @num_dests_slot: remaining entries in tracker TVLV from/including slot 706 * the given slot pointer. And if found, swaps it with the zero-MAC destination 707 * entry which the slot points to. 709 * Return: true if slot was swapped/filled successfully, false otherwise. 711 static bool batadv_mcast_forw_shrink_fill(u8 *slot, u16 num_dests_slot) argument 721 filler = slot + ETH_ALEN; 723 /* find a candidate to fill the empty slot */ 728 ether_addr_copy(slot, fille 753 u8 *slot; local [all...] |