Searched refs:slot (Results 151 - 175 of 952) sorted by relevance

1234567891011>>

/linux-master/tools/testing/radix-tree/
H A Dtest.c199 static int verify_node(struct radix_tree_node *slot, unsigned int tag, argument
206 slot = entry_to_node(slot);
210 if (slot->tags[tag][i]) {
217 tag, slot->shift, tagged, anyset);
221 printf("%016lx ", slot->tags[j][i]);
229 if (slot->shift > 0) {
231 if (slot->slots[i])
232 if (verify_node(slot->slots[i], tag,
233 !!test_bit(i, slot
[all...]
/linux-master/net/ipv4/
H A Draw_diag.c62 int slot; local
68 for (slot = 0; slot < RAW_HTABLE_SIZE; slot++) {
69 hlist = &hashinfo->ht[slot];
144 int num, s_num, slot, s_slot; local
158 for (slot = s_slot; slot < RAW_HTABLE_SIZE; s_num = 0, slot++) {
161 hlist = &hashinfo->ht[slot];
[all...]
/linux-master/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c168 int max_slots, slot, opt, fd; local
230 for (slot = first_slot; slot < max_slots; slot++) {
231 gpa = start_gpa + ((slot - first_slot) * slot_size);
238 vm_set_user_memory_region(vm, slot, 0, gpa, slot_size, mem);
278 for (slot = (slot - 1) & ~1ull; slot >= first_slot; slot
[all...]
/linux-master/arch/alpha/kernel/
H A Dsys_noritake.c147 * 2 Interrupt Line A from slot 0
148 * 3 Interrupt Line B from slot 0
149 * 4 Interrupt Line A from slot 1
150 * 5 Interrupt line B from slot 1
151 * 6 Interrupt Line A from slot 2
152 * 7 Interrupt Line B from slot 2
153 * 8 Interrupt Line A from slot 3
154 * 9 Interrupt Line B from slot 3
155 *10 Interrupt Line A from slot 4
156 *11 Interrupt Line B from slot
197 noritake_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
227 int slot, pin = *pinp; local
[all...]
H A Dsys_ruffian.c122 ruffian_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
130 {43, 43, 42, 41, 40}, /* IdSel 17, 64-bit slot */
132 {19, 19, 18, 17, 16}, /* IdSel 8, slot 0 */
133 {31, 31, 30, 29, 28}, /* IdSel 9, slot 1 */
134 {27, 27, 26, 25, 24}, /* IdSel 10, slot 2 */
135 {39, 39, 38, 37, 36}, /* IdSel 11, slot 3 */
136 {35, 35, 34, 33, 32}, /* IdSel 12, slot 4 */
146 int slot, pin = *pinp; local
149 slot = PCI_SLOT(dev->devfn);
153 slot
[all...]
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cpt_common.h19 #define OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs) \
20 (((blk) << 20) | ((slot) << 12) | (offs))
132 static inline void otx2_cpt_write64(void __iomem *reg_base, u64 blk, u64 slot, argument
136 OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs));
139 static inline u64 otx2_cpt_read64(void __iomem *reg_base, u64 blk, u64 slot, argument
143 OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs));
225 int otx2_cpt_lf_reset_msg(struct otx2_cptlfs_info *lfs, int slot);
/linux-master/drivers/pci/
H A Dirq.c89 * behind bridges on add-in cards. For devices with ARI enabled, the slot
95 int slot; local
98 slot = 0;
100 slot = PCI_SLOT(dev->devfn);
102 return (((pin - 1) + slot) % 4) + 1;
145 u8 slot = -1; local
156 * which interrupt pin it will come in on. We know which slot it
157 * will come in on because that slot is where the bridge is. Each
169 slot = (*(hbrg->swizzle_irq))(dev, &pin);
173 * ignore slot
[all...]
/linux-master/drivers/pci/hotplug/
H A Dibmphp_core.c53 static inline int get_cur_bus_info(struct slot **sl)
56 struct slot *slot_cur = *sl;
83 static inline int slot_update(struct slot **sl)
96 struct slot *slot_cur;
106 /* This routine will put the correct slot->device information per slot. It's
107 * called from initialization of the slot structures. It will also assign
108 * interrupt numbers per each slot.
109 * Parameters: struct slot
112 int ibmphp_init_devno(struct slot **cur_slo
359 get_max_bus_speed(struct slot *slot) argument
1064 struct slot *slot = to_slot(hotplug_slot); local
[all...]
/linux-master/arch/mips/sgi-ip27/
H A Dip27-memory.c232 static unsigned long __init slot_getbasepfn(nasid_t nasid, int slot) argument
234 return ((unsigned long)nasid << PFN_NASIDSHFT) | (slot << SLOT_PFNSHIFT);
237 static unsigned long __init slot_psize_compute(nasid_t nasid, int slot) argument
254 size = (unsigned long)banks->membnk_bnksz[slot/4];
258 if (slot % 4 == 0) {
319 int slot; local
324 for (slot = 0; slot < MAX_MEM_SLOTS; slot++) {
325 slot_psize = slot_psize_compute(node, slot);
[all...]
/linux-master/block/partitions/
H A Dmsdos.c14 * /dev/hda *must* have a "DOS" type 0x51 partition in the first slot (hda1).
77 int slot, ret = 0; local
91 for (slot = 1; slot <= 4; slot++, pt++) {
108 static void set_info(struct parsed_partitions *state, int slot, argument
111 struct partition_meta_info *info = &state->parts[slot].info;
114 slot);
116 state->parts[slot].has_info = true;
588 int slot; local
[all...]
/linux-master/drivers/infiniband/core/
H A Duverbs_uapi.c360 void __rcu **slot; local
363 radix_tree_for_each_slot (slot, &uapi->radix, &iter,
366 rcu_dereference_protected(*slot, true);
421 void __rcu **slot; local
425 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) {
427 rcu_dereference_protected(*slot, true);
458 radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) {
462 rcu_dereference_protected(*slot, true);
466 rcu_dereference_protected(*slot, true);
475 void __rcu **slot; local
531 void __rcu **slot; local
688 void __rcu **slot; local
713 void __rcu **slot; local
[all...]
/linux-master/drivers/mmc/host/
H A Dcqhci-core.c167 * link desc to the transfer desc table on a per slot basis.
198 /* total size of a slot: 1 task & 1 transfer (link) */
205 pr_debug("%s: cqhci: desc_size: %zu data_sz: %zu slot-sz: %d\n",
212 * setup each link-desc memory offset per slot-number to
643 cq_host->slot[tag].mrq = mrq;
644 cq_host->slot[tag].flags = 0;
694 struct cqhci_slot *slot; local
719 slot = &cq_host->slot[tag];
720 if (slot
781 struct cqhci_slot *slot = &cq_host->slot[tag]; local
898 struct cqhci_slot *slot = &cq_host->slot[tag]; local
1025 struct cqhci_slot *slot = &cq_host->slot[tag]; local
[all...]
H A Dsdhci-acpi.c31 #include <linux/mmc/slot-gpio.h>
72 const struct sdhci_acpi_slot *slot; member in struct:sdhci_acpi_host
92 return c->slot && (c->slot->flags & flag);
678 const struct sdhci_acpi_slot *slot; member in struct:sdhci_acpi_uid_slot
739 * The Acer Aspire Switch 10 (SW5-012) microSD slot always
751 * The Toshiba WT8-B's microSD slot always reports the card being
769 return u->slot;
777 const struct sdhci_acpi_slot *slot; local
796 slot
[all...]
/linux-master/drivers/nubus/
H A Dnubus.c35 /* The "nubus.populate_procfs" parameter makes slot resources available in
48 format block (at the top of the slot address space, as well as at
130 pr_err("%s: moved out of slot address space!\n", __func__);
147 static inline void *nubus_rom_addr(int slot) argument
153 return (void *)(0xF1000000 + (slot << 24));
497 nubus_get_functional_resource(struct nubus_board *board, int slot, argument
638 static int __init nubus_get_board_resource(struct nubus_board *board, int slot, argument
662 slot);
724 static void __init nubus_add_board(int slot, int bytelanes) argument
734 rp = nubus_rom_addr(slot);
836 nubus_probe_slot(int slot) argument
869 int slot; local
[all...]
/linux-master/net/sched/
H A Dsch_sfb.c69 u8 slot; /* current active bins (0 or 1) */ member in struct:sfb_sched_data
102 static u32 sfb_hash(const struct sk_buff *skb, u32 slot) argument
104 return sfb_skb_cb(skb)->hashes[slot];
123 static void increment_one_qlen(u32 sfbhash, u32 slot, struct sfb_sched_data *q) argument
126 struct sfb_bucket *b = &q->bins[slot].bins[0][0];
151 static void decrement_one_qlen(u32 sfbhash, u32 slot, argument
155 struct sfb_bucket *b = &q->bins[slot].bins[0][0];
202 const struct sfb_bucket *b = &q->bins[q->slot].bins[0][0];
218 static void sfb_init_perturbation(u32 slot, struct sfb_sched_data *q) argument
220 get_random_bytes(&q->bins[slot]
292 u32 slot = q->slot; local
[all...]
/linux-master/lib/
H A Didr.c37 void __rcu **slot; local
46 slot = idr_get_free(&idr->idr_rt, &iter, gfp, max - base);
47 if (IS_ERR(slot))
48 return PTR_ERR(slot);
52 radix_tree_iter_replace(&idr->idr_rt, &iter, slot, ptr);
199 void __rcu **slot; local
202 radix_tree_for_each_slot(slot, &idr->idr_rt, &iter, 0) {
208 ret = fn(id, rcu_dereference_raw(*slot), data);
230 void __rcu **slot; local
236 radix_tree_for_each_slot(slot,
293 void __rcu **slot = NULL; local
[all...]
/linux-master/drivers/tc/
H A Dtc.c43 int i, slot, err; local
47 for (slot = 0; slot < tbus->num_tcslots; slot++) {
48 slotaddr = tbus->slot_base + slot * slotsize;
49 extslotaddr = tbus->ext_slot_base + slot * extslotsize;
87 pr_err("tc%x: unable to allocate tc_dev\n", slot);
90 dev_set_name(&tdev->dev, "tc%x", slot);
94 tdev->slot = slot;
[all...]
/linux-master/drivers/nvdimm/
H A Dlabel.c292 static struct nd_namespace_label *to_label(struct nvdimm_drvdata *ndd, int slot) argument
297 label = base + sizeof_namespace_label(ndd) * slot;
385 struct nd_namespace_label *nd_label, u32 slot)
390 if (slot != nsl_get_slot(ndd, nd_label))
394 dev_dbg(ndd->dev, "fail checksum. slot: %d\n", slot);
402 u32 nslot, slot; local
407 for_each_clear_bit_le(slot, free, nslot) {
415 nd_label = to_label(ndd, slot);
417 if (!slot_valid(ndd, nd_label, slot))
384 slot_valid(struct nvdimm_drvdata *ndd, struct nd_namespace_label *nd_label, u32 slot) argument
560 u32 nslot, slot; local
590 u32 nslot, slot; local
613 u32 nslot, slot; local
629 nd_label_free_slot(struct nvdimm_drvdata *ndd, u32 slot) argument
812 u32 slot = to_slot(ndd, victim->label); local
886 u32 nslot, slot; local
1018 u32 nslot, slot; local
[all...]
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dmm.c182 int pkvm_cpu_set_vector(enum arm64_hyp_spectre_vector slot) argument
186 switch (slot) {
204 vector = __kvm_vector_slot2addr(vector, slot);
234 struct hyp_fixmap_slot *slot = this_cpu_ptr(&fixmap_slots); local
235 kvm_pte_t pte, *ptep = slot->ptep;
243 return (void *)slot->addr;
246 static void fixmap_clear_slot(struct hyp_fixmap_slot *slot) argument
248 kvm_pte_t *ptep = slot->ptep;
249 u64 addr = slot->addr;
276 struct hyp_fixmap_slot *slot local
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_calendar.c373 "Taxi %u, speed %u, Low slot sep.\n",
394 u32 slot, jdx, kdx, ts; local
398 for (slot = 0; slot < ARRAY_SIZE(data->dev_slots); slot++) {
399 if (data->dev_slots[slot] == idx) {
400 data->indices[indices_len] = slot;
407 for (slot = 0; slot < idx; slot
[all...]
/linux-master/drivers/media/pci/cx23885/
H A Dcimax2.c167 static int netup_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, argument
178 if (0 != slot)
238 int slot, int addr)
240 return netup_ci_op_cam(en50221, slot, 0, NETUP_CI_RD, addr, 0);
244 int slot, int addr, u8 data)
246 return netup_ci_op_cam(en50221, slot, 0, 0, addr, data);
249 int netup_ci_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, argument
252 return netup_ci_op_cam(en50221, slot, NETUP_CI_CTL,
256 int netup_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, argument
259 return netup_ci_op_cam(en50221, slot, NETUP_CI_CT
237 netup_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221, int slot, int addr) argument
243 netup_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221, int slot, int addr, u8 data) argument
262 netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot) argument
291 netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) argument
318 netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot) argument
398 netup_poll_ci_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) argument
[all...]
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-adv.c143 int slot; local
164 slot = 1;
175 slot = 3;
198 slot = 1;
205 slot = 2;
210 slot = 3;
214 slot = 4;
226 return slot;
229 static int del_instruction_bp(struct task_struct *child, int slot) argument
231 switch (slot) {
291 int slot; local
345 del_dac(struct task_struct *child, int slot) argument
[all...]
/linux-master/drivers/scsi/
H A Dsim710.c54 int slot = -1; local
59 if(!strncmp(pos, "slot:", 5))
60 slot = val;
62 if(slot == -1) {
63 printk(KERN_WARNING "sim710: Must specify slot for id parameter\n");
64 } else if(slot >= MAX_SLOTS) {
65 printk(KERN_WARNING "sim710: Illegal slot %d for id %d\n", slot, val);
67 id_array[slot] = val;
/linux-master/drivers/pci/controller/
H A Dpci-versatile.c34 int slot; local
36 while (get_option(&str, &slot)) {
37 if ((slot < 0) || (slot > 31))
38 pr_err("Illegal slot value: %d\n", slot);
40 pci_slot_ignore |= (1 << slot);
119 dev_info(dev, "PCI core found (slot %d)\n", myslot);
/linux-master/arch/sh/drivers/pci/
H A Dfixups-se7751.c11 int pcibios_map_platform_irq(const struct pci_dev *, u8 slot, u8 pin) argument
13 switch (slot) {
20 printk("PCI: Bad IRQ mapping request for slot %d\n", slot);

Completed in 244 milliseconds

1234567891011>>