/linux/fs/nfsd/ |
H A D | auth.c | 24 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/kernel/ |
H A D | groups.c | 17 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 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 D | svcauth_unix.c | 411 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 …]
|
H A D | auth_unix.c | 117 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/ath/ath11k/ |
H A D | debugfs_sta.c | 22 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local 28 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats() 90 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath11k_debugfs_sta_add_tx_stats() 96 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath11k_debugfs_sta_add_tx_stats() 104 STATS_OP_FMT(SUCC).gi[0][gi] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats() 108 STATS_OP_FMT(SUCC).gi[1][gi] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats() 112 STATS_OP_FMT(FAIL).gi[0][gi] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats() 116 STATS_OP_FMT(FAIL).gi[1][gi] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats() 120 STATS_OP_FMT(RETRY).gi[0][gi] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats() 124 STATS_OP_FMT(RETRY).gi[1][gi] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats() [all …]
|
/linux/include/linux/usb/ |
H A D | gadget_configfs.h | 48 struct struct_member *gi; \ 64 gi = container_of(group, struct struct_member, strings_group); \ 66 list_for_each_entry(gs, &gi->string_list, list) { \ 75 list_add_tail(&new->list, &gi->string_list); \
|
H A D | pd_vdo.h | 496 #define VDO_VPD(hw, fw, ver, vbm, curr, vbi, gi, ct) \ argument 499 | ((gi) & 0x3f) << 1 | (ct))
|
/linux/include/soc/mscc/ |
H A D | ocelot.h | 900 #define ocelot_read_ix(ocelot, reg, gi, ri) \ argument 901 __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri)) 902 #define ocelot_read_gix(ocelot, reg, gi) \ argument 903 __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi)) 909 #define ocelot_write_ix(ocelot, val, reg, gi, ri) \ argument 910 __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri)) 911 #define ocelot_write_gix(ocelot, val, reg, gi) \ argument 912 __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi)) 917 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) \ argument 918 __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri)) [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | lgs8gxx.c | 358 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/drivers/net/wireless/marvell/mwifiex/ |
H A D | cfp.c | 190 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/net/netfilter/ |
H A D | xt_owner.c | 102 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/net/mac80211/ |
H A D | airtime.c | 43 #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) 63 #define EHT_DURATION(streams, gi, bps) \ argument 64 HE_DURATION(streams, gi, bps) 65 #define EHT_DURATION_S(shift, streams, gi, bps) \ argument [all …]
|
/linux/mm/ |
H A D | percpu.c | 2477 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_dump_alloc_info() 2480 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info() 2481 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info() 2490 if (gi->cpu_map[unit] != NR_CPUS) in pcpu_dump_alloc_info() 2492 cpu_width, gi->cpu_map[unit]); in pcpu_dump_alloc_info() 2628 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_setup_first_chunk() 2630 group_offsets[group] = gi->base_offset; in pcpu_setup_first_chunk() 2631 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk() 2633 for (i = 0; i < gi->nr_units; i++) { in pcpu_setup_first_chunk() 2634 cpu = gi in pcpu_setup_first_chunk() 2476 const struct pcpu_group_info *gi = &ai->groups[group]; pcpu_dump_alloc_info() local 2627 const struct pcpu_group_info *gi = &ai->groups[group]; pcpu_setup_first_chunk() local 2931 struct pcpu_group_info *gi = &ai->groups[group]; pcpu_build_alloc_info() local 3049 struct pcpu_group_info *gi = &ai->groups[group]; pcpu_embed_first_chunk() local 3091 struct pcpu_group_info *gi = &ai->groups[group]; pcpu_embed_first_chunk() local [all...] |
/linux/fs/smb/server/ |
H A D | smb_common.c | 745 struct group_info *gi; in __ksmbd_override_fsids() local 764 gi = groups_alloc(user->ngroups); in __ksmbd_override_fsids() 765 if (!gi) { in __ksmbd_override_fsids() 771 gi->gid[i] = make_kgid(&init_user_ns, user->sgid[i]); in __ksmbd_override_fsids() 774 groups_sort(gi); in __ksmbd_override_fsids() 776 set_groups(cred, gi); in __ksmbd_override_fsids() 777 put_group_info(gi); in __ksmbd_override_fsids()
|
/linux/fs/bcachefs/ |
H A D | sb-members.c | 176 struct bch_sb_field_disk_groups *gi, in member_to_text() argument 195 if (idx < disk_groups_nr(gi)) in member_to_text() 197 gi->entries[idx].label, idx); in member_to_text() 299 struct bch_sb_field_disk_groups *gi = bch2_sb_field_get(sb, disk_groups); in bch2_sb_members_v1_to_text() local 303 member_to_text(out, members_v1_get(mi, i), gi, sb, i); in bch2_sb_members_v1_to_text() 315 struct bch_sb_field_disk_groups *gi = bch2_sb_field_get(sb, disk_groups); in bch2_sb_members_v2_to_text() local 319 member_to_text(out, members_v2_get(mi, i), gi, sb, i); in bch2_sb_members_v2_to_text()
|
/linux/io_uring/ |
H A D | fdinfo.c | 23 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/Documentation/translations/it_IT/process/ |
H A D | stable-kernel-rules.rst | 14 - 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 D | maintainers.rst | 11 tradurre contiene comunque informazioni già presenti in
|
/linux/net/sched/ |
H A D | sch_netem.c | 899 const struct tc_netem_gimodel *gi = nla_data(la); in get_loss_clg() local 909 q->clg.a1 = gi->p13; in get_loss_clg() 910 q->clg.a2 = gi->p31; in get_loss_clg() 911 q->clg.a3 = gi->p32; in get_loss_clg() 912 q->clg.a4 = gi->p14; in get_loss_clg() 913 q->clg.a5 = gi->p23; in get_loss_clg() 1133 struct tc_netem_gimodel gi = { in dump_loss_model() local 1141 if (nla_put(skb, NETEM_LOSS_GI, sizeof(gi), &gi)) in dump_loss_model()
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | headc57d.c | 142 u16 ri = 0, gi = 0, bi = 0, i; in headc57d_olut_load_8() local 146 gi = (drm_color_lut_extract(in->green, 16) - g) / 4; in headc57d_olut_load_8() 152 writew(g + gi * i, mem + 2); in headc57d_olut_load_8()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
H A D | mac.c | 254 u8 stbc, gi, bw, dcm, nss; in mt7925_mac_fill_rx_rate() local 266 gi = FIELD_GET(MT_PRXV_HT_SHORT_GI, v2); in mt7925_mac_fill_rx_rate() 281 if (gi) in mt7925_mac_fill_rx_rate() 289 if (gi) in mt7925_mac_fill_rx_rate() 302 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt7925_mac_fill_rx_rate() 303 status->he_gi = gi; in mt7925_mac_fill_rx_rate() 314 if (gi <= NL80211_RATE_INFO_EHT_GI_3_2) in mt7925_mac_fill_rx_rate() 315 status->eht.gi = gi; in mt7925_mac_fill_rx_rate() 346 if (*mode < MT_PHY_TYPE_HE_SU && gi) in mt7925_mac_fill_rx_rate()
|
/linux/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_dvbt2.h | 299 enum cxd2880_dvbt2_guard gi; member 363 enum cxd2880_dvbt2_guard gi; member
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mac.c | 1017 u8 stbc, gi, bw, dcm, nss; in mt76_connac2_mac_fill_rx_rate() local 1029 gi = FIELD_GET(MT_PRXV_HT_SGI, v0); in mt76_connac2_mac_fill_rx_rate() 1038 gi = FIELD_GET(MT_CRXV_HT_SHORT_GI, v2); in mt76_connac2_mac_fill_rx_rate() 1054 if (gi) in mt76_connac2_mac_fill_rx_rate() 1062 if (gi) in mt76_connac2_mac_fill_rx_rate() 1075 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt76_connac2_mac_fill_rx_rate() 1076 status->he_gi = gi; in mt76_connac2_mac_fill_rx_rate() 1109 if (*mode < MT_PHY_TYPE_HE_SU && gi) in mt76_connac2_mac_fill_rx_rate()
|
/linux/include/dt-bindings/usb/ |
H A D | pd.h | 463 #define VDO_VPD(hw, fw, ver, vbm, curr, vbi, gi, ct) \ argument 466 | ((gi) & 0x3f) << 1 | (ct))
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | htt_rx.c | 3668 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local 3676 gi = test_bit(ATH10K_RATE_INFO_FLAGS_SGI_BIT, &flags); in ath10k_accumulate_per_peer_tx_stats() 3682 idx += bw * 2 + gi; in ath10k_accumulate_per_peer_tx_stats() 3729 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath10k_accumulate_per_peer_tx_stats() 3737 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath10k_accumulate_per_peer_tx_stats() 3748 STATS_OP_FMT(SUCC).gi[0][gi] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats() 3752 STATS_OP_FMT(SUCC).gi[1][gi] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats() 3756 STATS_OP_FMT(FAIL).gi[0][gi] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats() 3760 STATS_OP_FMT(FAIL).gi[1][gi] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats() 3764 STATS_OP_FMT(RETRY).gi[0][gi] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() [all …]
|