Home
last modified time | relevance | path

Searched refs:gi (Results 1 – 25 of 66) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/usb/gadget/
Dconfigfs.c230 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show() local
234 mutex_lock(&gi->lock); in gadget_dev_desc_UDC_show()
235 udc_name = gi->composite.gadget_driver.udc_name; in gadget_dev_desc_UDC_show()
237 mutex_unlock(&gi->lock); in gadget_dev_desc_UDC_show()
242 static int unregister_gadget(struct gadget_info *gi) in unregister_gadget() argument
246 if (!gi->composite.gadget_driver.udc_name) in unregister_gadget()
249 ret = usb_gadget_unregister_driver(&gi->composite.gadget_driver); in unregister_gadget()
252 kfree(gi->composite.gadget_driver.udc_name); in unregister_gadget()
253 gi->composite.gadget_driver.udc_name = NULL; in unregister_gadget()
260 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store() local
[all …]
/kernel/linux/linux-5.10/fs/nfsd/
Dauth.c24 struct group_info *gi; in nfsd_setuser() local
45 gi = groups_alloc(0); in nfsd_setuser()
46 if (!gi) in nfsd_setuser()
54 gi = groups_alloc(rqgi->ngroups); in nfsd_setuser()
55 if (!gi) in nfsd_setuser()
60 gi->gid[i] = exp->ex_anon_gid; in nfsd_setuser()
62 gi->gid[i] = rqgi->gid[i]; in nfsd_setuser()
66 groups_sort(gi); in nfsd_setuser()
68 gi = get_group_info(rqgi); in nfsd_setuser()
76 set_groups(new, gi); in nfsd_setuser()
[all …]
/kernel/linux/linux-5.10/kernel/
Dgroups.c17 struct group_info *gi; in groups_alloc() local
21 gi = kmalloc(len, GFP_KERNEL_ACCOUNT|__GFP_NOWARN|__GFP_NORETRY); in groups_alloc()
22 if (!gi) in groups_alloc()
23 gi = __vmalloc(len, GFP_KERNEL_ACCOUNT); in groups_alloc()
24 if (!gi) in groups_alloc()
27 atomic_set(&gi->usage, 1); in groups_alloc()
28 gi->ngroups = gidsetsize; in groups_alloc()
29 return gi; in groups_alloc()
/kernel/linux/linux-5.10/include/soc/mscc/
Docelot.h665 #define ocelot_read_ix(ocelot, reg, gi, ri) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_… argument
666 #define ocelot_read_gix(ocelot, reg, gi) __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi)) argument
670 #define ocelot_write_ix(ocelot, val, reg, gi, ri) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * ( argument
671 #define ocelot_write_gix(ocelot, val, reg, gi) __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi)) argument
675 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ *… argument
676 #define ocelot_rmw_gix(ocelot, val, m, reg, gi) __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (g… argument
685 #define ocelot_target_read_ix(ocelot, target, reg, gi, ri) \ argument
686 __ocelot_target_read_ix(ocelot, target, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
687 #define ocelot_target_read_gix(ocelot, target, reg, gi) \ argument
688 __ocelot_target_read_ix(ocelot, target, reg, reg##_GSZ * (gi))
[all …]
/kernel/linux/linux-5.10/arch/s390/kvm/
Dinterrupt.c287 static inline u8 gisa_get_ipm_or_restore_iam(struct kvm_s390_gisa_interrupt *gi) in gisa_get_ipm_or_restore_iam() argument
293 word = READ_ONCE(gi->origin->u64.word[0]); in gisa_get_ipm_or_restore_iam()
294 alert_mask = READ_ONCE(gi->alert.mask); in gisa_get_ipm_or_restore_iam()
299 } while (cmpxchg(&gi->origin->u64.word[0], word, _word) != word); in gisa_get_ipm_or_restore_iam()
340 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in pending_irqs() local
344 if (gi->origin) in pending_irqs()
345 pending_mask |= gisa_get_ipm(gi->origin) << IRQ_PEND_IO_ISC_7; in pending_irqs()
1174 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in __deliver_io() local
1217 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
1307 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in kvm_s390_handle_wait() local
[all …]
/kernel/linux/linux-5.10/net/sunrpc/
Dsvcauth_unix.c418 struct group_info *gi; member
434 put_group_info(ug->gi); in unix_gid_free()
463 get_group_info(item->gi); in unix_gid_update()
464 new->gi = item->gi; in unix_gid_update()
525 ug.gi = groups_alloc(gids); in unix_gid_parse()
526 if (!ug.gi) in unix_gid_parse()
539 ug.gi->gid[i] = kgid; in unix_gid_parse()
542 groups_sort(ug.gi); in unix_gid_parse()
560 if (ug.gi) in unix_gid_parse()
561 put_group_info(ug.gi); in unix_gid_parse()
[all …]
Dauth_unix.c109 struct group_info *gi = cred->cr_cred->group_info; in unx_marshal() local
131 if (gi) in unx_marshal()
132 for (i = 0; i < UNX_NGROUPS && i < gi->ngroups; i++) in unx_marshal()
133 *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); in unx_marshal()
/kernel/linux/linux-5.10/include/linux/usb/
Dgadget_configfs.h51 struct struct_member *gi; \
67 gi = container_of(group, struct struct_member, strings_group); \
69 list_for_each_entry(gs, &gi->string_list, list) { \
78 list_add_tail(&new->list, &gi->string_list); \
/kernel/linux/linux-5.10/arch/ia64/mm/
Dcontig.c106 struct pcpu_group_info *gi; in setup_per_cpu_areas() local
113 gi = &ai->groups[0]; in setup_per_cpu_areas()
117 gi->cpu_map[gi->nr_units++] = cpu; in setup_per_cpu_areas()
Ddiscontig.c182 struct pcpu_group_info *gi; in setup_per_cpu_areas() local
236 gi->nr_units++; in setup_per_cpu_areas()
241 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
242 gi->nr_units = 1; in setup_per_cpu_areas()
243 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
244 gi->cpu_map = &cpu_map[unit]; in setup_per_cpu_areas()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddebugfs_sta.c21 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local
27 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats()
89 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath11k_debugfs_sta_add_tx_stats()
95 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath11k_debugfs_sta_add_tx_stats()
103 STATS_OP_FMT(SUCC).gi[0][gi] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats()
107 STATS_OP_FMT(SUCC).gi[1][gi] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats()
111 STATS_OP_FMT(FAIL).gi[0][gi] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats()
115 STATS_OP_FMT(FAIL).gi[1][gi] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats()
119 STATS_OP_FMT(RETRY).gi[0][gi] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats()
123 STATS_OP_FMT(RETRY).gi[1][gi] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats()
[all …]
Dhal_rx.c904 ppdu_info->gi = info1 & HAL_RX_HT_SIG_INFO_INFO1_GI; in ath11k_hal_rx_parse_mon_status_tlv()
963 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv()
967 ppdu_info->gi = HAL_RX_GI_0_4_US; in ath11k_hal_rx_parse_mon_status_tlv()
1017 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv()
1020 ppdu_info->gi = HAL_RX_GI_1_6_US; in ath11k_hal_rx_parse_mon_status_tlv()
1024 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv()
1026 ppdu_info->gi = HAL_RX_GI_3_2_US; in ath11k_hal_rx_parse_mon_status_tlv()
1053 ppdu_info->gi = HAL_RX_GI_0_8_US; in ath11k_hal_rx_parse_mon_status_tlv()
1056 ppdu_info->gi = HAL_RX_GI_1_6_US; in ath11k_hal_rx_parse_mon_status_tlv()
1059 ppdu_info->gi = HAL_RX_GI_3_2_US; in ath11k_hal_rx_parse_mon_status_tlv()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_owner.c97 struct group_info *gi = filp->f_cred->group_info; in owner_mt() local
103 if (!match && (info->match & XT_OWNER_SUPPL_GROUPS) && gi) { in owner_mt()
104 for (i = 0; i < gi->ngroups; ++i) { in owner_mt()
105 kgid_t group = gi->gid[i]; in owner_mt()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcfp.c202 u8 gi = 0; in mwifiex_index_to_acs_data_rate() local
211 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
214 rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
216 rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
222 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
225 if (gi == 1) in mwifiex_index_to_acs_data_rate()
231 rate = mcs_rate[2 * (1 - bw) + gi][index]; in mwifiex_index_to_acs_data_rate()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dlgs8gxx.c358 static int lgs8gxx_autolock_gi(struct lgs8gxx_state *priv, u8 gi, u8 cpn, in lgs8gxx_autolock_gi() argument
365 if (gi == GI_945) in lgs8gxx_autolock_gi()
367 else if (gi == GI_595) in lgs8gxx_autolock_gi()
369 else if (gi == GI_420) in lgs8gxx_autolock_gi()
375 t1 |= gi; in lgs8gxx_autolock_gi()
381 lgs8gxx_write_reg(priv, 0x04, gi); in lgs8gxx_autolock_gi()
399 u8 *detected_param, u8 *gi) in lgs8gxx_auto_detect() argument
459 *gi = tmp_gi; in lgs8gxx_auto_detect()
471 u8 gi = 0x2; in lgs8gxx_auto_lock() local
474 err = lgs8gxx_auto_detect(priv, &detected_param, &gi); in lgs8gxx_auto_lock()
[all …]
/kernel/linux/linux-5.10/fs/gfs2/
Dglock.c2324 static void gfs2_glock_iter_next(struct gfs2_glock_iter *gi, loff_t n) in gfs2_glock_iter_next() argument
2326 struct gfs2_glock *gl = gi->gl; in gfs2_glock_iter_next()
2335 gl = rhashtable_walk_next(&gi->hti); in gfs2_glock_iter_next()
2344 if (gl->gl_name.ln_sbd != gi->sdp) in gfs2_glock_iter_next()
2356 gi->gl = gl; in gfs2_glock_iter_next()
2362 struct gfs2_glock_iter *gi = seq->private; in gfs2_glock_seq_start() local
2369 if (*pos < gi->last_pos) { in gfs2_glock_seq_start()
2370 rhashtable_walk_exit(&gi->hti); in gfs2_glock_seq_start()
2371 rhashtable_walk_enter(&gl_hash_table, &gi->hti); in gfs2_glock_seq_start()
2374 n = *pos - gi->last_pos; in gfs2_glock_seq_start()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dmain.c312 struct hmdfs_inode_info *gi = in hmdfs_alloc_inode() local
314 if (!gi) in hmdfs_alloc_inode()
316 memset(gi, 0, offsetof(struct hmdfs_inode_info, vfs_inode)); in hmdfs_alloc_inode()
317 INIT_LIST_HEAD(&gi->wb_list); in hmdfs_alloc_inode()
318 init_rwsem(&gi->wpage_sem); in hmdfs_alloc_inode()
319 gi->getattr_isize = HMDFS_STALE_REMOTE_ISIZE; in hmdfs_alloc_inode()
320 atomic64_set(&gi->write_counter, 0); in hmdfs_alloc_inode()
321 gi->fid.id = HMDFS_INODE_INVALID_FILE_ID; in hmdfs_alloc_inode()
322 spin_lock_init(&gi->fid_lock); in hmdfs_alloc_inode()
323 INIT_LIST_HEAD(&gi->wr_opened_node); in hmdfs_alloc_inode()
[all …]
/kernel/linux/linux-5.10/mm/
Dpercpu.c2324 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_dump_alloc_info() local
2327 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info()
2328 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info()
2337 if (gi->cpu_map[unit] != NR_CPUS) in pcpu_dump_alloc_info()
2339 cpu_width, gi->cpu_map[unit]); in pcpu_dump_alloc_info()
2479 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_setup_first_chunk() local
2481 group_offsets[group] = gi->base_offset; in pcpu_setup_first_chunk()
2482 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()
2484 for (i = 0; i < gi->nr_units; i++) { in pcpu_setup_first_chunk()
2485 cpu = gi->cpu_map[i]; in pcpu_setup_first_chunk()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dcred.h40 static inline struct group_info *get_group_info(struct group_info *gi) in get_group_info() argument
42 atomic_inc(&gi->usage); in get_group_info()
43 return gi; in get_group_info()
/kernel/linux/linux-5.10/net/mac80211/
Dairtime.c42 #define HE_SYMBOL_TIME(gi, ksyms) \ argument
43 (gi == HE_GI_08 ? \
45 (gi == HE_GI_16 ? \
51 #define HE_DURATION(streams, gi, bps) \ argument
52 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps))))
54 #define HE_DURATION_S(shift, streams, gi, bps) \ argument
55 (HE_DURATION(streams, gi, bps) >> shift)
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Dheadc57d.c129 u16 ri = 0, gi = 0, bi = 0, i; in headc57d_olut_load_8() local
133 gi = (drm_color_lut_extract(in->green, 16) - g) / 4; in headc57d_olut_load_8()
139 writew(g + gi * i, mem + 2); in headc57d_olut_load_8()
/kernel/linux/linux-5.10/net/sched/
Dsch_netem.c877 const struct tc_netem_gimodel *gi = nla_data(la); in get_loss_clg() local
887 q->clg.a1 = gi->p13; in get_loss_clg()
888 q->clg.a2 = gi->p31; in get_loss_clg()
889 q->clg.a3 = gi->p32; in get_loss_clg()
890 q->clg.a4 = gi->p14; in get_loss_clg()
891 q->clg.a5 = gi->p23; in get_loss_clg()
1104 struct tc_netem_gimodel gi = { in dump_loss_model() local
1112 if (nla_put(skb, NETEM_LOSS_GI, sizeof(gi), &gi)) in dump_loss_model()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_dvbt2.h299 enum cxd2880_dvbt2_guard gi; member
363 enum cxd2880_dvbt2_guard gi; member
/kernel/linux/linux-5.10/Documentation/translations/it_IT/process/
Dstable-kernel-rules.rst19 - Deve correggere un problema di compilazione (ma non per cose già segnate
37 - Questa patch o una equivalente deve esistere già nei sorgenti principali di
48 già in coda:
187 - La coda delle patch, sia quelle già applicate che in fase di revisione,
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c3544 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local
3552 gi = test_bit(ATH10K_RATE_INFO_FLAGS_SGI_BIT, &flags); in ath10k_accumulate_per_peer_tx_stats()
3558 idx += bw * 2 + gi; in ath10k_accumulate_per_peer_tx_stats()
3605 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath10k_accumulate_per_peer_tx_stats()
3613 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath10k_accumulate_per_peer_tx_stats()
3624 STATS_OP_FMT(SUCC).gi[0][gi] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3628 STATS_OP_FMT(SUCC).gi[1][gi] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3632 STATS_OP_FMT(FAIL).gi[0][gi] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3636 STATS_OP_FMT(FAIL).gi[1][gi] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3640 STATS_OP_FMT(RETRY).gi[0][gi] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
[all …]

123