Home
last modified time | relevance | path

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

123

/linux/fs/nfsd/
H A Dauth.c25 struct group_info *gi; in nfsd_setuser() local
44 gi = groups_alloc(0); in nfsd_setuser()
45 if (!gi) in nfsd_setuser()
53 gi = groups_alloc(rqgi->ngroups); in nfsd_setuser()
54 if (!gi) in nfsd_setuser()
59 gi->gid[i] = exp->ex_anon_gid; in nfsd_setuser()
61 gi->gid[i] = rqgi->gid[i]; in nfsd_setuser()
65 groups_sort(gi); in nfsd_setuser()
67 gi = get_group_info(rqgi); in nfsd_setuser()
75 set_groups(new, gi); in nfsd_setuser()
[all …]
/linux/kernel/
H A Dgroups.c17 struct group_info *gi; in groups_alloc() local
18 gi = kvmalloc_flex(*gi, gid, gidsetsize, GFP_KERNEL_ACCOUNT); in groups_alloc()
19 if (!gi) in groups_alloc()
22 refcount_set(&gi->usage, 1); in groups_alloc()
23 gi->ngroups = gidsetsize; in groups_alloc()
24 return gi; in groups_alloc()
/linux/net/sunrpc/
H A Dsvcauth_unix.c414 struct group_info *gi; member
430 put_group_info(ug->gi); in unix_gid_free()
459 get_group_info(item->gi); in unix_gid_update()
460 new->gi = item->gi; in unix_gid_update()
521 ug.gi = groups_alloc(gids); in unix_gid_parse()
522 if (!ug.gi) in unix_gid_parse()
535 ug.gi->gid[i] = kgid; in unix_gid_parse()
538 groups_sort(ug.gi); in unix_gid_parse()
556 if (ug.gi) in unix_gid_parse()
557 put_group_info(ug.gi); in unix_gid_parse()
[all …]
H A 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/drivers/net/wireless/nxp/nxpwifi/
H A Dcfp.c168 u8 gi = 0; in nxpwifi_index_to_acs_data_rate() local
177 gi = (ht_info & 0x10) >> 4; in nxpwifi_index_to_acs_data_rate()
180 rate = ac_mcs_rate_nss2[2 * (3 - bw) + gi][mcs_index]; in nxpwifi_index_to_acs_data_rate()
182 rate = ac_mcs_rate_nss1[2 * (3 - bw) + gi][mcs_index]; in nxpwifi_index_to_acs_data_rate()
188 gi = (ht_info & 0x10) >> 4; in nxpwifi_index_to_acs_data_rate()
191 if (gi == 1) in nxpwifi_index_to_acs_data_rate()
197 rate = mcs_rate[2 * (1 - bw) + gi][index]; in nxpwifi_index_to_acs_data_rate()
H A Dutil.c603 u8 flags = 0, chan, ant, format, bw, gi, ldpc, mcs, nss, stbc; in nxpwifi_recv_packet_to_monif() local
707 gi = ((rxpd->rate_info >> 7) & 0x1) << 1 | in nxpwifi_recv_packet_to_monif()
710 gi = FIELD_GET(RX_RATE_GI_MASK, rxpd->rate_info); in nxpwifi_recv_packet_to_monif()
727 if (gi) in nxpwifi_recv_packet_to_monif()
758 if (gi) in nxpwifi_recv_packet_to_monif()
869 switch (gi) { in nxpwifi_recv_packet_to_monif()
H A Dcfg80211.c983 u8 gi; in nxpwifi_parse_htinfo() local
1021 gi = (htinfo & BIT(4)) >> 4 | in nxpwifi_parse_htinfo()
1024 if (gi > 3) { in nxpwifi_parse_htinfo()
1025 nxpwifi_dbg(adapter, ERROR, "Invalid gi value\n"); in nxpwifi_parse_htinfo()
1028 if (gi == 3 && stbc && he_dcm) { in nxpwifi_parse_htinfo()
1029 gi = 0; in nxpwifi_parse_htinfo()
1033 if (gi > 0) in nxpwifi_parse_htinfo()
1034 gi -= 1; in nxpwifi_parse_htinfo()
1035 rate->he_gi = gi; in nxpwifi_parse_htinfo()
/linux/drivers/media/dvb-frontends/
H A 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/net/mac80211/
H A 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)
58 /* gi in HE/EHT is identical. It matches enum nl80211_eht_gi as well */
63 #define EHT_DURATION(streams, gi, bps) \ argument
64 HE_DURATION(streams, gi, bp
65 EHT_DURATION_S(shift,streams,gi,bps) global() argument
[all...]
H A Dsta_info.h1137 r |= STA_STATS_FIELD(EHT_GI, s->eht.gi); in sta_stats_encode_rate()
1144 r |= STA_STATS_FIELD(UHR_GI, s->uhr.gi); in sta_stats_encode_rate()
/linux/Documentation/translations/it_IT/process/
H A Dstable-kernel-rules.rst14 - Questa patch o una equivalente deve esistere già nei sorgenti principali di
25 compilazione (ma non per cose già segnate con CONFIG_BROKEN), o problemi
52 2. Chiedere alla squadra "stable" di prendere una patch già applicata sui
54 3. Sottomettere una patch alla squadra "stable" equivalente ad una modifica già
68 o una equivalente sia applicabile, o già presente in tutti i sorgenti
120 patch2 se avete già menzionato patch1 per l'inclusione in "stable"
153 Se la patch è già stata inclusa nei sorgenti Linux, inviate una mail a
223 - La coda delle patch, sia quelle già applicate che in fase di revisione,
H A Dmaintainers.rst13 tradurre contiene comunque informazioni già presenti in
H A D5.Posting.rst52 dei test, preferibilmente usando un framework di test già esistente come
151 già stato fatto. Quando ben fatto, comunque, è tempo ben speso.
236 utili che non si trovano già nel commit stesso.
308 esponeteli nelle etichette, a meno che la persona non li abbia già usati in
/linux/virt/kvm/
H A Dguest_memfd.c897 struct gmem_inode *gi = __gi; in kvm_gmem_populate()
907 inode_init_once(&gi->vfs_inode); in kvm_gmem_populate()
912 struct gmem_inode *gi; in kvm_gmem_populate()
914 gi = alloc_inode_sb(sb, kvm_gmem_inode_cachep, GFP_KERNEL); in kvm_gmem_populate()
915 if (!gi) in kvm_gmem_populate()
918 mpol_shared_policy_init(&gi->policy, NULL);
920 gi->flags = 0;
921 INIT_LIST_HEAD(&gi->gmem_file_list);
922 return &gi->vfs_inode; in kvm_gmem_init_inode_once()
924 struct gmem_inode *gi = __gi; kvm_gmem_init_inode_once() local
939 struct gmem_inode *gi; kvm_gmem_alloc_inode() local
/linux/net/sched/
H A Dsch_netem.c961 const struct tc_netem_gimodel *gi = nla_data(la); in get_loss_clg()
965 "netem: incorrect gi model size"); in get_loss_clg()
972 q->clg.a1 = gi->p13; in get_loss_clg()
973 q->clg.a2 = gi->p31; in get_loss_clg()
974 q->clg.a3 = gi->p32; in get_loss_clg()
975 q->clg.a4 = gi->p14;
976 q->clg.a5 = gi->p23;
1216 struct tc_netem_gimodel gi = { in dump_loss_model()
1224 if (nla_put(skb, NETEM_LOSS_GI, sizeof(gi), &gi)) in netem_dump()
932 const struct tc_netem_gimodel *gi = nla_data(la); get_loss_clg() local
1186 struct tc_netem_gimodel gi = { dump_loss_model() local
[all...]
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_mon.c120 sgi = ppdu_info->gi; in ath12k_dp_mon_fill_rx_rate()
762 u32 gi_idx = ppdu_info->gi; in ath12k_dp_mon_rx_update_peer_rate_table_stats()
775 gi_idx = ath12k_he_gi_to_nl80211_he_gi(ppdu_info->gi); in ath12k_dp_mon_rx_update_peer_rate_table_stats()
883 if (ppdu_info->gi < HAL_RX_GI_MAX) { in ath12k_dp_mon_rx_update_peer_su_stats()
884 rx_stats->pkt_stats.gi_count[ppdu_info->gi] += num_msdu; in ath12k_dp_mon_rx_update_peer_su_stats()
885 rx_stats->byte_stats.gi_count[ppdu_info->gi] += ppdu_info->mpdu_len; in ath12k_dp_mon_rx_update_peer_su_stats()
1030 if (ppdu_info->gi < HAL_RX_GI_MAX) { in ath12k_dp_mon_rx_update_user_stats()
1031 rx_stats->pkt_stats.gi_count[ppdu_info->gi] += num_msdu; in ath12k_dp_mon_rx_update_user_stats()
1032 rx_stats->byte_stats.gi_count[ppdu_info->gi] += in ath12k_dp_mon_rx_update_user_stats()
/linux/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_dvbt2.h299 enum cxd2880_dvbt2_guard gi; member
363 enum cxd2880_dvbt2_guard gi; member
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c1045 u8 stbc, gi, bw, dcm, nss; in mt76_connac2_mac_fill_rx_rate() local
1057 gi = FIELD_GET(MT_PRXV_HT_SGI, v0); in mt76_connac2_mac_fill_rx_rate()
1066 gi = FIELD_GET(MT_CRXV_HT_SHORT_GI, v2); in mt76_connac2_mac_fill_rx_rate()
1086 if (gi) in mt76_connac2_mac_fill_rx_rate()
1094 if (gi) in mt76_connac2_mac_fill_rx_rate()
1107 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt76_connac2_mac_fill_rx_rate()
1108 status->he_gi = gi; in mt76_connac2_mac_fill_rx_rate()
1141 if (*mode < MT_PHY_TYPE_HE_SU && gi) in mt76_connac2_mac_fill_rx_rate()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c269 u8 stbc, gi, bw, dcm, nss; in mt7925_mac_fill_rx_rate() local
281 gi = FIELD_GET(MT_PRXV_HT_SHORT_GI, v2); in mt7925_mac_fill_rx_rate()
296 if (gi) in mt7925_mac_fill_rx_rate()
304 if (gi) in mt7925_mac_fill_rx_rate()
317 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt7925_mac_fill_rx_rate()
318 status->he_gi = gi; in mt7925_mac_fill_rx_rate()
329 if (gi <= NL80211_RATE_INFO_EHT_GI_3_2) in mt7925_mac_fill_rx_rate()
330 status->eht.gi = gi; in mt7925_mac_fill_rx_rate()
366 if (*mode < MT_PHY_TYPE_HE_SU && gi) in mt7925_mac_fill_rx_rate()
[all...]
/linux/include/linux/usb/
H A Dpd_vdo.h496 #define VDO_VPD(hw, fw, ver, vbm, curr, vbi, gi, ct) \ argument
499 | ((gi) & 0x3f) << 1 | (ct))
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c3672 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local
3680 gi = test_bit(ATH10K_RATE_INFO_FLAGS_SGI_BIT, &flags); in ath10k_accumulate_per_peer_tx_stats()
3686 idx += bw * 2 + gi; in ath10k_accumulate_per_peer_tx_stats()
3733 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath10k_accumulate_per_peer_tx_stats()
3741 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath10k_accumulate_per_peer_tx_stats()
3752 STATS_OP_FMT(SUCC).gi[0][gi] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3756 STATS_OP_FMT(SUCC).gi[1][gi] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3760 STATS_OP_FMT(FAIL).gi[0][gi] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3764 STATS_OP_FMT(FAIL).gi[1][gi] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3768 STATS_OP_FMT(RETRY).gi[0][gi] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.h200 u8 gi; member
855 __le16 gi;
1102 u8 gi;
852 __le16 gi; global() member
1099 u8 gi; global() member
H A Dmac.c280 u8 stbc, gi, bw, dcm, nss; in mt7996_mac_fill_rx_rate() local
292 gi = FIELD_GET(MT_PRXV_HT_SHORT_GI, v2); in mt7996_mac_fill_rx_rate()
311 if (gi) in mt7996_mac_fill_rx_rate()
319 if (gi) in mt7996_mac_fill_rx_rate()
332 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt7996_mac_fill_rx_rate()
333 status->he_gi = gi; in mt7996_mac_fill_rx_rate()
344 if (gi <= NL80211_RATE_INFO_EHT_GI_3_2) in mt7996_mac_fill_rx_rate()
345 status->eht.gi = gi; in mt7996_mac_fill_rx_rate()
381 if (*mode < MT_PHY_TYPE_HE_SU && gi) in mt7996_mac_fill_rx_rate()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c1489 u8 i, gi = mask->control[band]._gi; \ in mt7915_mcu_add_rate_ctrl_fixed()
1490 gi = (_he) ? gi : gi == NL80211_TXRATE_FORCE_SGI; \ in mt7915_mcu_add_rate_ctrl_fixed()
1492 phy.sgi |= gi << (i << (_he)); \ in mt7915_mcu_add_rate_ctrl_fixed()
1508 __sta_phy_bitrate_mask_check(vht_mcs, gi, 0, 0); in mt7915_mcu_add_rate_ctrl_fixed()
1510 __sta_phy_bitrate_mask_check(ht_mcs, gi, 1, 0); in mt7915_mcu_add_rate_ctrl_fixed()
1518 if (mask->control[band].gi == NL80211_TXRATE_DEFAULT_GI && in mt7915_mcu_add_rate_ctrl_fixed()
1533 if (mask->control[band].gi != NL80211_TXRATE_DEFAULT_GI || in mt7915_mcu_add_rate_ctrl_fixed()
3950 if (res->gi) in mt7915_mcu_get_rx_rate()
3960 if (res->gi) in mt7915_mcu_get_rx_rate()
3967 if (res->gi > NL80211_RATE_INFO_HE_GI_3_2 || rate->mcs > 11) { in mt7915_mcu_get_rx_rate()
[all …]
/linux/Documentation/translations/it_IT/doc-guide/
H A Dcontributing.rst10 permette a quelli già presenti di lavorare in modo più efficace. Senza una
136 scoperto che qualcun altro l'aveva già corretto in un altro albero,
138 vedere se un problema è già stato risolto prima di mettervici sopra.

123