Home
last modified time | relevance | path

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

123

/linux/drivers/usb/gadget/
H A Dconfigfs.c244 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_show() local
248 mutex_lock(&gi->lock); in gadget_dev_desc_UDC_show()
249 udc_name = gi->composite.gadget_driver.udc_name; in gadget_dev_desc_UDC_show()
251 mutex_unlock(&gi->lock); in gadget_dev_desc_UDC_show()
256 static int unregister_gadget(struct gadget_info *gi) in unregister_gadget() argument
260 if (!gi->composite.gadget_driver.udc_name) in unregister_gadget()
263 ret = usb_gadget_unregister_driver(&gi->composite.gadget_driver); in unregister_gadget()
266 kfree(gi->composite.gadget_driver.udc_name); in unregister_gadget()
267 gi->composite.gadget_driver.udc_name = NULL; in unregister_gadget()
274 struct gadget_info *gi = to_gadget_info(item); in gadget_dev_desc_UDC_store() local
[all …]
/linux/fs/nfsd/
H A 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/arch/s390/kvm/
H A Dinterrupt.c235 static inline u8 gisa_get_ipm_or_restore_iam(struct kvm_s390_gisa_interrupt *gi) in gisa_get_ipm_or_restore_iam() argument
240 word = READ_ONCE(gi->origin->u64.word[0]); in gisa_get_ipm_or_restore_iam()
242 alert_mask = READ_ONCE(gi->alert.mask); in gisa_get_ipm_or_restore_iam()
247 } while (!try_cmpxchg(&gi->origin->u64.word[0], &word, _word)); in gisa_get_ipm_or_restore_iam()
278 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in pending_irqs() local
282 if (gi->origin) in pending_irqs()
283 pending_mask |= gisa_get_ipm(gi->origin) << IRQ_PEND_IO_ISC_7; in pending_irqs()
1111 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in __deliver_io() local
1154 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
1244 struct kvm_s390_gisa_interrupt *gi = &vcpu->kvm->arch.gisa_int; in kvm_s390_handle_wait() local
[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.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 …]
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/include/linux/usb/
H A Dgadget_configfs.h48 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 Dpd_vdo.h496 #define VDO_VPD(hw, fw, ver, vbm, curr, vbi, gi, ct) \ argument
499 | ((gi) & 0x3f) << 1 | (ct))
/linux/include/soc/mscc/
H A Docelot.h909 #define ocelot_read_ix(ocelot, reg, gi, ri) \ argument
910 __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
911 #define ocelot_read_gix(ocelot, reg, gi) \ argument
912 __ocelot_read_ix(ocelot, reg, reg##_GSZ * (gi))
918 #define ocelot_write_ix(ocelot, val, reg, gi, ri) \ argument
919 __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi) + reg##_RSZ * (ri))
920 #define ocelot_write_gix(ocelot, val, reg, gi) \ argument
921 __ocelot_write_ix(ocelot, val, reg, reg##_GSZ * (gi))
926 #define ocelot_rmw_ix(ocelot, val, m, reg, gi, ri) \ argument
927 __ocelot_rmw_ix(ocelot, val, m, reg, reg##_GSZ * (gi)
928 ocelot_rmw_gix(ocelot,val,m,reg,gi) global() argument
943 ocelot_target_read_ix(ocelot,target,reg,gi,ri) global() argument
945 ocelot_target_read_gix(ocelot,target,reg,gi) global() argument
952 ocelot_target_write_ix(ocelot,target,val,reg,gi,ri) global() argument
954 ocelot_target_write_gix(ocelot,target,val,reg,gi) global() argument
[all...]
/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/netfilter/
H A 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/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)
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/fs/gfs2/
H A Dglock.c2461 static void gfs2_glock_iter_next(struct gfs2_glock_iter *gi, loff_t n) in gfs2_glock_iter_next() argument
2463 struct gfs2_glock *gl = gi->gl; in gfs2_glock_iter_next()
2471 gl = rhashtable_walk_next(&gi->hti); in gfs2_glock_iter_next()
2480 if (glock_sbd(gl) != gi->sdp) in gfs2_glock_iter_next()
2492 gi->gl = gl; in gfs2_glock_iter_next()
2498 struct gfs2_glock_iter *gi = seq->private; in gfs2_glock_seq_start() local
2505 if (*pos < gi->last_pos) { in gfs2_glock_seq_start()
2506 rhashtable_walk_exit(&gi->hti); in gfs2_glock_seq_start()
2507 rhashtable_walk_enter(&gl_hash_table, &gi->hti); in gfs2_glock_seq_start()
2510 n = *pos - gi->last_pos; in gfs2_glock_seq_start()
[all …]
/linux/mm/
H A Dpercpu.c2487 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_dump_alloc_info()
2490 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info()
2491 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info()
2500 if (gi->cpu_map[unit] != NR_CPUS)
2502 cpu_width, gi->cpu_map[unit]);
2626 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_setup_first_chunk()
2628 group_offsets[group] = gi->base_offset; in pcpu_setup_first_chunk()
2629 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()
2631 for (i = 0; i < gi->nr_units; i++) { in pcpu_setup_first_chunk()
2632 cpu = gi in pcpu_setup_first_chunk()
2474 const struct pcpu_group_info *gi = &ai->groups[group]; pcpu_dump_alloc_info() local
2613 const struct pcpu_group_info *gi = &ai->groups[group]; pcpu_setup_first_chunk() local
2914 struct pcpu_group_info *gi = &ai->groups[group]; pcpu_build_alloc_info() local
3032 struct pcpu_group_info *gi = &ai->groups[group]; pcpu_embed_first_chunk() local
3074 struct pcpu_group_info *gi = &ai->groups[group]; pcpu_embed_first_chunk() local
[all...]
/linux/fs/smb/server/
H A Dsmb_common.c769 struct group_info *gi; in __ksmbd_override_fsids() local
788 gi = groups_alloc(user->ngroups); in __ksmbd_override_fsids()
789 if (!gi) { in __ksmbd_override_fsids()
795 gi->gid[i] = make_kgid(&init_user_ns, user->sgid[i]); in __ksmbd_override_fsids()
798 groups_sort(gi); in __ksmbd_override_fsids()
800 set_groups(cred, gi); in __ksmbd_override_fsids()
801 put_group_info(gi); in __ksmbd_override_fsids()
/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.rst11 tradurre contiene comunque informazioni già presenti in
/linux/virt/kvm/
H A Dguest_memfd.c924 struct gmem_inode *gi = __gi; in kvm_gmem_init_inode_once() local
934 inode_init_once(&gi->vfs_inode); in kvm_gmem_init_inode_once()
939 struct gmem_inode *gi; in kvm_gmem_alloc_inode() local
941 gi = alloc_inode_sb(sb, kvm_gmem_inode_cachep, GFP_KERNEL); in kvm_gmem_alloc_inode()
942 if (!gi) in kvm_gmem_alloc_inode()
945 mpol_shared_policy_init(&gi->policy, NULL); in kvm_gmem_alloc_inode()
947 gi->flags = 0; in kvm_gmem_alloc_inode()
948 return &gi->vfs_inode; in kvm_gmem_alloc_inode()
/linux/net/sched/
H A Dsch_netem.c900 const struct tc_netem_gimodel *gi = nla_data(la); in get_loss_clg() local
910 q->clg.a1 = gi->p13; in get_loss_clg()
911 q->clg.a2 = gi->p31; in get_loss_clg()
912 q->clg.a3 = gi->p32; in get_loss_clg()
913 q->clg.a4 = gi->p14; in get_loss_clg()
914 q->clg.a5 = gi->p23; in get_loss_clg()
1174 struct tc_netem_gimodel gi = { in dump_loss_model() local
1182 if (nla_put(skb, NETEM_LOSS_GI, sizeof(gi), &gi)) in dump_loss_model()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c255 u8 stbc, gi, bw, dcm, nss; in mt7925_mac_fill_rx_rate() local
267 gi = FIELD_GET(MT_PRXV_HT_SHORT_GI, v2); in mt7925_mac_fill_rx_rate()
282 if (gi) in mt7925_mac_fill_rx_rate()
290 if (gi) in mt7925_mac_fill_rx_rate()
303 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt7925_mac_fill_rx_rate()
304 status->he_gi = gi; in mt7925_mac_fill_rx_rate()
315 if (gi <= NL80211_RATE_INFO_EHT_GI_3_2) in mt7925_mac_fill_rx_rate()
316 status->eht.gi = gi; in mt7925_mac_fill_rx_rate()
347 if (*mode < MT_PHY_TYPE_HE_SU && gi) in mt7925_mac_fill_rx_rate()
/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.c1036 u8 stbc, gi, bw, dcm, nss; in mt76_connac2_mac_fill_rx_rate() local
1048 gi = FIELD_GET(MT_PRXV_HT_SGI, v0); in mt76_connac2_mac_fill_rx_rate()
1057 gi = FIELD_GET(MT_CRXV_HT_SHORT_GI, v2); in mt76_connac2_mac_fill_rx_rate()
1073 if (gi) in mt76_connac2_mac_fill_rx_rate()
1081 if (gi) in mt76_connac2_mac_fill_rx_rate()
1094 if (gi <= NL80211_RATE_INFO_HE_GI_3_2) in mt76_connac2_mac_fill_rx_rate()
1095 status->he_gi = gi; in mt76_connac2_mac_fill_rx_rate()
1128 if (*mode < MT_PHY_TYPE_HE_SU && gi) in mt76_connac2_mac_fill_rx_rate()
/linux/include/dt-bindings/usb/
H A Dpd.h463 #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 Dhtt_rx.c3671 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local
3679 gi = test_bit(ATH10K_RATE_INFO_FLAGS_SGI_BIT, &flags); in ath10k_accumulate_per_peer_tx_stats()
3685 idx += bw * 2 + gi; in ath10k_accumulate_per_peer_tx_stats()
3732 STATS_OP_FMT(AMPDU).gi[0][gi] += in ath10k_accumulate_per_peer_tx_stats()
3740 STATS_OP_FMT(AMPDU).gi[1][gi] += in ath10k_accumulate_per_peer_tx_stats()
3751 STATS_OP_FMT(SUCC).gi[0][gi] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3755 STATS_OP_FMT(SUCC).gi[1][gi] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3759 STATS_OP_FMT(FAIL).gi[0][gi] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3763 STATS_OP_FMT(FAIL).gi[1][gi] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3767 STATS_OP_FMT(RETRY).gi[0][gi] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
[all …]
/linux/Documentation/translations/it_IT/kernel-hacking/
H A Dlocking.rst31 (Saltatelo se sapete già cos'è una corsa critica).
225 spin_unlock(). Qui spin_lock_bh() è inutile, siete già
290 già disabilitate) e in un softirq (dove la disabilitazione delle interruzioni
374 protetti dal *lock* quando qualche altro thread lo sta già facendo
584 se erano attive, altrimenti non farà niente (quando siamo già in un contesto
908 ad acquisire il *lock* già trattenuto nel contesto utente.
960 non tenterà mai di trattenere un altro *lock* quando lo ha già.
1001 temporizzatore potrebbe essere già partiro prima di spin_lock_bh(),
1003 di eliminare il suo oggetto (che però è già stato eliminato).
1006 timer_delete(): se ritorna 1, il temporizzatore è stato già
[all …]

123