Home
last modified time | relevance | path

Searched refs:get_index (Results 1 – 25 of 27) sorted by relevance

12

/linux/fs/quota/
H A Dquota_tree.c42 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() function
370 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
383 get_index(info, dquot->dq_id, depth)); in do_insert_tree()
394 le32_to_cpu(ref[get_index(info, in do_insert_tree()
405 ref[get_index(info, dquot->dq_id, depth)] = in do_insert_tree()
561 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in remove_tree()
572 get_index(info, dquot->dq_id, depth)); in remove_tree()
584 ref[get_index(info, dquot->dq_id, depth)] = cpu_to_le32(0); in remove_tree()
678 blk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in find_tree_dqentry()
692 get_index(info, dquot->dq_id, depth)); in find_tree_dqentry()
/linux/drivers/accessibility/speakup/
H A Dspeakup_dectlk.c35 static unsigned char get_index(struct spk_synth *synth);
149 .get_index = get_index,
173 static unsigned char get_index(struct spk_synth *synth) in get_index() function
H A Dspeakup_soft.c30 static unsigned char get_index(struct spk_synth *synth);
150 .get_index = get_index,
367 static unsigned char get_index(struct spk_synth *synth) in get_index() function
H A Dspeakup_bns.c109 .get_index = NULL,
H A Dspeakup_txprt.c114 .get_index = NULL,
H A Dspeakup_spkout.c116 .get_index = spk_synth_get_index,
H A Dspeakup_acntsa.c113 .get_index = NULL,
H A Dspeakup_dummy.c129 .get_index = NULL,
H A Dspk_types.h200 unsigned char (*get_index)(struct spk_synth *synth); member
H A Dspeakup_audptr.c116 .get_index = NULL,
H A Dspeakup_ltlk.c125 .get_index = spk_synth_get_index,
H A Dspeakup_apollo.c125 .get_index = NULL,
H A Dspeakup_decext.c140 .get_index = NULL,
H A Dspeakup_keypc.c117 .get_index = NULL,
H A Dspeakup_acntpc.c126 .get_index = NULL,
H A Dspeakup_decpc.c236 .get_index = NULL,
H A Dspeakup_dtlk.c142 .get_index = spk_synth_get_index,
/linux/drivers/i3c/master/mipi-i3c-hci/
H A Ddat.h27 int (*get_index)(struct i3c_hci *hci, u8 address); member
H A Ddat_v1.c190 .get_index = hci_dat_v1_get_index,
/linux/net/ipv4/
H A Dfib_trie.c221 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index() function
475 put_child(tp, get_index(key, tp), n); in put_child_root()
569 put_child(tn, get_index(inode->key, tn), inode); in inflate()
854 unsigned long cindex = get_index(tn->key, tp); in resize()
1120 n = get_child(tp, get_index(key, tp)); in fib_insert_node()
1137 put_child(tn, get_index(key, tn) ^ 1, n); in fib_insert_node()
1558 cindex = get_index(pkey, pn); in fib_table_lookup()
1794 cindex = (key > pn->key) ? get_index(key, pn) : 0; in leaf_walk_rcu()
1816 cindex = get_index(pkey, pn) + 1; in leaf_walk_rcu()
1867 cindex = get_index(pkey, pn); in fib_trie_free()
[all …]
/linux/drivers/staging/rts5208/
H A Dxd.c801 xd_card->zone[i].get_index = 0; in xd_init_l2p_tbl()
816 zone->get_index = 0; in free_zone()
873 zone->set_index == zone->get_index) { in xd_get_unused_block()
878 if (zone->get_index >= XD_FREE_TABLE_CNT || zone->get_index < 0) { in xd_get_unused_block()
885 zone->get_index); in xd_get_unused_block()
887 phy_blk = zone->free_table[zone->get_index]; in xd_get_unused_block()
888 zone->free_table[zone->get_index++] = 0xFFFF; in xd_get_unused_block()
889 if (zone->get_index >= XD_FREE_TABLE_CNT) in xd_get_unused_block()
890 zone->get_index = 0; in xd_get_unused_block()
1348 zone->get_index = 0; in xd_build_l2p_tbl()
H A Dms.c2143 ms_card->segment[i].get_index = 0;
2217 phy_blk = segment->free_table[segment->get_index];
2218 segment->free_table[segment->get_index++] = 0xFFFF;
2219 if (segment->get_index >= MS_FREE_TABLE_CNT)
2220 segment->get_index = 0;
2324 segment->get_index = 0;
/linux/drivers/scsi/isci/
H A Dhost.c182 u32 get_index = get_value & SMU_COMPLETION_QUEUE_GET_POINTER_MASK; in sci_controller_completion_queue_has_entries() local
185 COMPLETION_QUEUE_CYCLE_BIT(ihost->completion_queue[get_index])) in sci_controller_completion_queue_has_entries()
487 u32 get_index; in sci_controller_process_completions() local
498 get_index = NORMALIZE_GET_POINTER(ihost->completion_queue_get); in sci_controller_process_completions()
506 == COMPLETION_QUEUE_CYCLE_BIT(ihost->completion_queue[get_index]) in sci_controller_process_completions()
510 ent = ihost->completion_queue[get_index]; in sci_controller_process_completions()
513 get_cycle ^= ((get_index+1) & SCU_MAX_COMPLETION_QUEUE_ENTRIES) << in sci_controller_process_completions()
515 get_index = (get_index+1) & (SCU_MAX_COMPLETION_QUEUE_ENTRIES-1); in sci_controller_process_completions()
565 SMU_CQGR_GEN_VAL(POINTER, get_index); in sci_controller_process_completions()
/linux/sound/synth/emux/
H A Dsoundfont.c59 static int get_index(int bank, int instr, int key);
1236 index = get_index(cur->bank, cur->instr, cur->v.low); in add_preset()
1253 index = get_index(zp->bank, zp->instr, zp->v.low); in delete_preset()
1314 index = get_index(bank, preset, key); in search_first_zone()
1374 get_index(int bank, int instr, int key) in get_index()
1369 get_index(int bank, int instr, int key) get_index() function
/linux/drivers/md/
H A Ddm-cache-policy-smq.c776 static unsigned int get_index(struct entry_alloc *ea, struct entry *e) in get_index() function
997 return to_cblock(get_index(&mq->cache_alloc, e)); in infer_cblock()
1319 hi = get_index(&mq->hotspot_alloc, e); in update_hotspot_queue()
1333 hi = get_index(&mq->hotspot_alloc, e); in update_hotspot_queue()

12