Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/usb/gadget/
Dconfigfs.c241 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show() local
245 mutex_lock(&gi->lock); in gadget_dev_desc_UDC_show()
246 udc_name = gi->composite.gadget_driver.udc_name; in gadget_dev_desc_UDC_show()
248 mutex_unlock(&gi->lock); in gadget_dev_desc_UDC_show()
253 static int unregister_gadget(struct gadget_info *gi) in unregister_gadget() argument
257 if (!gi->composite.gadget_driver.udc_name) in unregister_gadget()
260 ret = usb_gadget_unregister_driver(&gi->composite.gadget_driver); in unregister_gadget()
263 kfree(gi->composite.gadget_driver.udc_name); in unregister_gadget()
264 gi->composite.gadget_driver.udc_name = NULL; in unregister_gadget()
271 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store() local
[all …]
/linux-6.6.21/fs/nfsd/
Dauth.c24 struct group_info *gi; in nfsd_setuser() local
43 gi = groups_alloc(0); in nfsd_setuser()
44 if (!gi) in nfsd_setuser()
52 gi = groups_alloc(rqgi->ngroups); in nfsd_setuser()
53 if (!gi) in nfsd_setuser()
58 gi->gid[i] = exp->ex_anon_gid; in nfsd_setuser()
60 gi->gid[i] = rqgi->gid[i]; in nfsd_setuser()
64 groups_sort(gi); in nfsd_setuser()
66 gi = get_group_info(rqgi); in nfsd_setuser()
74 set_groups(new, gi); in nfsd_setuser()
[all …]
/linux-6.6.21/arch/s390/kvm/
Dinterrupt.c289 static inline u8 gisa_get_ipm_or_restore_iam(struct kvm_s390_gisa_interrupt *gi) in gisa_get_ipm_or_restore_iam() argument
295 word = READ_ONCE(gi->origin->u64.word[0]); in gisa_get_ipm_or_restore_iam()
296 alert_mask = READ_ONCE(gi->alert.mask); in gisa_get_ipm_or_restore_iam()
301 } while (cmpxchg(&gi->origin->u64.word[0], word, _word) != word); in gisa_get_ipm_or_restore_iam()
332 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in pending_irqs() local
336 if (gi->origin) in pending_irqs()
337 pending_mask |= gisa_get_ipm(gi->origin) << IRQ_PEND_IO_ISC_7; in pending_irqs()
1166 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in __deliver_io() local
1209 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
1299 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in kvm_s390_handle_wait() local
[all …]
/linux-6.6.21/kernel/
Dgroups.c17 struct group_info *gi; in groups_alloc() local
18 gi = kvmalloc(struct_size(gi, gid, gidsetsize), GFP_KERNEL_ACCOUNT); in groups_alloc()
19 if (!gi) in groups_alloc()
22 atomic_set(&gi->usage, 1); in groups_alloc()
23 gi->ngroups = gidsetsize; in groups_alloc()
24 return gi; in groups_alloc()
/linux-6.6.21/net/sunrpc/
Dsvcauth_unix.c411 struct group_info *gi; member
427 put_group_info(ug->gi); in unix_gid_free()
456 get_group_info(item->gi); in unix_gid_update()
457 new->gi = item->gi; in unix_gid_update()
518 ug.gi = groups_alloc(gids); in unix_gid_parse()
519 if (!ug.gi) in unix_gid_parse()
532 ug.gi->gid[i] = kgid; in unix_gid_parse()
535 groups_sort(ug.gi); in unix_gid_parse()
553 if (ug.gi) in unix_gid_parse()
554 put_group_info(ug.gi); in unix_gid_parse()
[all …]
Dauth_unix.c117 struct group_info *gi = cred->cr_cred->group_info; in unx_marshal() local
139 if (gi) in unx_marshal()
140 for (i = 0; i < UNX_NGROUPS && i < gi->ngroups; i++) in unx_marshal()
141 *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); in unx_marshal()
/linux-6.6.21/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); \
/linux-6.6.21/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 …]
/linux-6.6.21/arch/ia64/mm/
Dcontig.c104 struct pcpu_group_info *gi; in setup_per_cpu_areas() local
111 gi = &ai->groups[0]; in setup_per_cpu_areas()
115 gi->cpu_map[gi->nr_units++] = cpu; in setup_per_cpu_areas()
Ddiscontig.c183 struct pcpu_group_info *gi; in setup_per_cpu_areas() local
237 gi->nr_units++; in setup_per_cpu_areas()
242 gi = &ai->groups[ai->nr_groups++]; in setup_per_cpu_areas()
243 gi->nr_units = 1; in setup_per_cpu_areas()
244 gi->base_offset = __per_cpu_offset[cpu] + base_offset; in setup_per_cpu_areas()
245 gi->cpu_map = &cpu_map[unit]; in setup_per_cpu_areas()
/linux-6.6.21/include/soc/mscc/
Docelot.h899 #define ocelot_read_ix(ocelot, reg, gi, ri) \ argument
900 __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
901 #define ocelot_read_gix(ocelot, reg, gi) \ argument
902 __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi))
908 #define ocelot_write_ix(ocelot, val, reg, gi, ri) \ argument
909 __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
910 #define ocelot_write_gix(ocelot, val, reg, gi) \ argument
911 __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi))
916 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) \ argument
917 __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dcfp.c190 u8 gi = 0; in mwifiex_index_to_acs_data_rate() local
199 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
202 rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
204 rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index]; in mwifiex_index_to_acs_data_rate()
210 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
213 if (gi == 1) in mwifiex_index_to_acs_data_rate()
219 rate = mcs_rate[2 * (1 - bw) + gi][index]; in mwifiex_index_to_acs_data_rate()
/linux-6.6.21/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 …]
/linux-6.6.21/net/netfilter/
Dxt_owner.c102 struct group_info *gi = filp->f_cred->group_info; in owner_mt() local
108 if (!match && (info->match & XT_OWNER_SUPPL_GROUPS) && gi) { in owner_mt()
109 for (i = 0; i < gi->ngroups; ++i) { in owner_mt()
110 kgid_t group = gi->gid[i]; in owner_mt()
/linux-6.6.21/fs/gfs2/
Dglock.c2488 static void gfs2_glock_iter_next(struct gfs2_glock_iter *gi, loff_t n) in gfs2_glock_iter_next() argument
2490 struct gfs2_glock *gl = gi->gl; in gfs2_glock_iter_next()
2499 gl = rhashtable_walk_next(&gi->hti); in gfs2_glock_iter_next()
2508 if (gl->gl_name.ln_sbd != gi->sdp) in gfs2_glock_iter_next()
2520 gi->gl = gl; in gfs2_glock_iter_next()
2526 struct gfs2_glock_iter *gi = seq->private; in gfs2_glock_seq_start() local
2533 if (*pos < gi->last_pos) { in gfs2_glock_seq_start()
2534 rhashtable_walk_exit(&gi->hti); in gfs2_glock_seq_start()
2535 rhashtable_walk_enter(&gl_hash_table, &gi->hti); in gfs2_glock_seq_start()
2538 n = *pos - gi->last_pos; in gfs2_glock_seq_start()
[all …]
/linux-6.6.21/mm/
Dpercpu.c2504 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_dump_alloc_info() local
2507 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info()
2508 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info()
2517 if (gi->cpu_map[unit] != NR_CPUS) in pcpu_dump_alloc_info()
2519 cpu_width, gi->cpu_map[unit]); in pcpu_dump_alloc_info()
2655 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_setup_first_chunk() local
2657 group_offsets[group] = gi->base_offset; in pcpu_setup_first_chunk()
2658 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()
2660 for (i = 0; i < gi->nr_units; i++) { in pcpu_setup_first_chunk()
2661 cpu = gi->cpu_map[i]; in pcpu_setup_first_chunk()
[all …]
/linux-6.6.21/io_uring/
Dfdinfo.c23 struct group_info *gi; in io_uring_show_cred() local
37 gi = cred->group_info; in io_uring_show_cred()
38 for (g = 0; g < gi->ngroups; g++) { in io_uring_show_cred()
40 from_kgid_munged(uns, gi->gid[g])); in io_uring_show_cred()
/linux-6.6.21/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()
/linux-6.6.21/net/mac80211/
Dairtime.c43 #define HE_SYMBOL_TIME(gi, ksyms) \ argument
44 (gi == HE_GI_08 ? \
46 (gi == HE_GI_16 ? \
52 #define HE_DURATION(streams, gi, bps) \ argument
53 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps))))
55 #define HE_DURATION_S(shift, streams, gi, bps) \ argument
56 (HE_DURATION(streams, gi, bps) >> shift)
/linux-6.6.21/fs/smb/server/
Dsmb_common.c737 struct group_info *gi; in ksmbd_override_fsids() local
755 gi = groups_alloc(0); in ksmbd_override_fsids()
756 if (!gi) { in ksmbd_override_fsids()
760 set_groups(cred, gi); in ksmbd_override_fsids()
761 put_group_info(gi); in ksmbd_override_fsids()
/linux-6.6.21/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()
/linux-6.6.21/net/sched/
Dsch_netem.c878 const struct tc_netem_gimodel *gi = nla_data(la); in get_loss_clg() local
888 q->clg.a1 = gi->p13; in get_loss_clg()
889 q->clg.a2 = gi->p31; in get_loss_clg()
890 q->clg.a3 = gi->p32; in get_loss_clg()
891 q->clg.a4 = gi->p14; in get_loss_clg()
892 q->clg.a5 = gi->p23; in get_loss_clg()
1112 struct tc_netem_gimodel gi = { in dump_loss_model() local
1120 if (nla_put(skb, NETEM_LOSS_GI, sizeof(gi), &gi)) in dump_loss_model()
/linux-6.6.21/Documentation/translations/it_IT/process/
Dmaintainers.rst11 tradurre contiene comunque informazioni già presenti in
/linux-6.6.21/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_dvbt2.h299 enum cxd2880_dvbt2_guard gi; member
363 enum cxd2880_dvbt2_guard gi; member
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mac.c1003 u8 stbc, gi, bw, dcm, nss; in mt76_connac2_mac_fill_rx_rate() local
1015 gi = FIELD_GET(MT_PRXV_HT_SGI, v0); in mt76_connac2_mac_fill_rx_rate()
1024 gi = FIELD_GET(MT_CRXV_HT_SHORT_GI, v2); in mt76_connac2_mac_fill_rx_rate()
1040 if (gi) in mt76_connac2_mac_fill_rx_rate()
1048 if (gi) in mt76_connac2_mac_fill_rx_rate()
1061 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt76_connac2_mac_fill_rx_rate()
1062 status->he_gi = gi; in mt76_connac2_mac_fill_rx_rate()
1095 if (*mode < MT_PHY_TYPE_HE_SU && gi) in mt76_connac2_mac_fill_rx_rate()

1234