Searched refs:sfi (Results 1 – 2 of 2) sorted by relevance
26 struct efivarfs_fs_info *sfi = container_of(nb, struct efivarfs_fs_info, nb); in efivarfs_ops_notifier() local30 sfi->sb->s_flags |= SB_RDONLY; in efivarfs_ops_notifier()33 sfi->sb->s_flags &= ~SB_RDONLY; in efivarfs_ops_notifier()307 struct efivarfs_fs_info *sfi = sb->s_fs_info; in efivarfs_fill_super() local333 sfi->sb = sb; in efivarfs_fill_super()334 sfi->nb.notifier_call = efivarfs_ops_notifier; in efivarfs_fill_super()335 err = blocking_notifier_chain_register(&efivar_ops_nh, &sfi->nb); in efivarfs_fill_super()339 return efivar_init(efivarfs_callback, sb, &sfi->efivarfs_list); in efivarfs_fill_super()365 struct efivarfs_fs_info *sfi; in efivarfs_init_fs_context() local370 sfi = kzalloc(sizeof(*sfi), GFP_KERNEL); in efivarfs_init_fs_context()[all …]
1903 struct felix_stream_filter *sfi) in vsc9959_psfp_sfi_set() argument1907 if (sfi->index > VSC9959_PSFP_SFID_MAX) in vsc9959_psfp_sfi_set()1910 if (!sfi->enable) { in vsc9959_psfp_sfi_set()1911 ocelot_write(ocelot, ANA_TABLES_SFIDTIDX_SFID_INDEX(sfi->index), in vsc9959_psfp_sfi_set()1922 if (sfi->sgid > VSC9959_PSFP_GATE_ID_MAX || in vsc9959_psfp_sfi_set()1923 sfi->fmid > VSC9959_PSFP_POLICER_MAX) in vsc9959_psfp_sfi_set()1927 (sfi->sg_valid ? ANA_TABLES_SFIDTIDX_SGID_VALID : 0) | in vsc9959_psfp_sfi_set()1928 ANA_TABLES_SFIDTIDX_SGID(sfi->sgid) | in vsc9959_psfp_sfi_set()1929 (sfi->fm_valid ? ANA_TABLES_SFIDTIDX_POL_ENA : 0) | in vsc9959_psfp_sfi_set()1930 ANA_TABLES_SFIDTIDX_POL_IDX(sfi->fmid) | in vsc9959_psfp_sfi_set()[all …]