/drivers/staging/lustre/lustre/include/ |
D | lustre_fid.h | 238 static inline void lu_local_obj_fid(struct lu_fid *fid, __u32 oid) in lu_local_obj_fid() argument 240 fid->f_seq = FID_SEQ_LOCAL_FILE; in lu_local_obj_fid() 241 fid->f_oid = oid; in lu_local_obj_fid() 242 fid->f_ver = 0; in lu_local_obj_fid() 245 static inline void lu_local_name_obj_fid(struct lu_fid *fid, __u32 oid) in lu_local_name_obj_fid() argument 247 fid->f_seq = FID_SEQ_LOCAL_NAME; in lu_local_name_obj_fid() 248 fid->f_oid = oid; in lu_local_name_obj_fid() 249 fid->f_ver = 0; in lu_local_name_obj_fid() 255 static inline int fid_is_root(const struct lu_fid *fid) in fid_is_root() argument 257 return unlikely((fid_seq(fid) == FID_SEQ_ROOT && in fid_is_root() [all …]
|
D | obd_class.h | 925 struct lu_fid *fid, in obd_fid_alloc() argument 933 rc = OBP(exp->exp_obd, fid_alloc)(exp, fid, op_data); in obd_fid_alloc() 1373 static inline int md_getstatus(struct obd_export *exp, struct lu_fid *fid) in md_getstatus() argument 1379 rc = MDP(exp->exp_obd, getstatus)(exp, fid); in md_getstatus() 1395 const struct lu_fid *fid) in md_null_inode() argument 1401 rc = MDP(exp->exp_obd, null_inode)(exp, fid); in md_null_inode() 1406 const struct lu_fid *fid, in md_find_cbdata() argument 1413 rc = MDP(exp->exp_obd, find_cbdata)(exp, fid, it, data); in md_find_cbdata() 1553 static inline int md_sync(struct obd_export *exp, const struct lu_fid *fid, in md_sync() argument 1560 rc = MDP(exp->exp_obd, sync)(exp, fid, request); in md_sync() [all …]
|
/drivers/cpufreq/ |
D | cpufreq-nforce2.c | 40 static int fid; variable 52 module_param(fid, int, 0444); 55 MODULE_PARM_DESC(fid, "CPU multiplier to use (11.5 = 115)"); 240 return nforce2_fsb_read(0) * fid * 100; in nforce2_get() 262 target_fsb = target_freq / (fid * 100); in nforce2_target() 265 freqs.new = target_fsb * fid * 100; in nforce2_target() 301 fsb_pol_max = policy->max / (fid * 100); in nforce2_verify() 303 if (policy->min < (fsb_pol_max * fid * 100)) in nforce2_verify() 304 policy->max = (fsb_pol_max + 1) * fid * 100; in nforce2_verify() 326 if (!fid) { in nforce2_cpu_init() [all …]
|
D | powernow-k7.c | 61 unsigned long fid:5, member 177 u8 fid, vid; in get_ranges() local 185 fid = *pst++; in get_ranges() 187 powernow_table[j].frequency = (fsb * fid_codes[fid]) / 10; in get_ranges() 188 powernow_table[j].driver_data = fid; /* lower 8 bits */ in get_ranges() 192 if ((fid_codes[fid] % 10) == 5) { in get_ranges() 208 "VID: 0x%x (%d.%03dV)\n", fid, fid_codes[fid] / 10, in get_ranges() 209 fid_codes[fid] % 10, speed/1000, vid, in get_ranges() 220 static void change_FID(int fid) in change_FID() argument 225 if (fidvidctl.bits.FID != fid) { in change_FID() [all …]
|
D | powernow-k8.c | 61 static u32 find_freq_from_fid(u32 fid) in find_freq_from_fid() argument 63 return 800 + (fid * 100); in find_freq_from_fid() 67 static u32 find_khz_freq_from_fid(u32 fid) in find_khz_freq_from_fid() argument 69 return 1000 * find_freq_from_fid(fid); in find_khz_freq_from_fid() 78 static u32 convert_fid_to_vco_fid(u32 fid) in convert_fid_to_vco_fid() argument 80 if (fid < HI_FID_TABLE_BOTTOM) in convert_fid_to_vco_fid() 81 return 8 + (2 * fid); in convert_fid_to_vco_fid() 83 return fid; in convert_fid_to_vco_fid() 139 u8 fid, vid; in fidvid_msr_init() local 143 fid = lo & MSR_S_LO_CURRENT_FID; in fidvid_msr_init() [all …]
|
/drivers/staging/lustre/lustre/lmv/ |
D | lmv_fld.c | 55 const struct lu_fid *fid, in lmv_fld_lookup() argument 62 LASSERTF((fid_seq_in_fldb(fid_seq(fid)) || in lmv_fld_lookup() 63 fid_seq_is_local_file(fid_seq(fid))) && in lmv_fld_lookup() 64 fid_is_sane(fid), DFID" is insane!\n", PFID(fid)); in lmv_fld_lookup() 66 rc = fld_client_lookup(&lmv->lmv_fld, fid_seq(fid), mds, in lmv_fld_lookup() 70 fid_seq(fid), rc); in lmv_fld_lookup() 75 *mds, PFID(fid)); in lmv_fld_lookup() 79 PFID(fid)); in lmv_fld_lookup()
|
D | lmv_internal.h | 73 int lmv_fld_lookup(struct lmv_obd *lmv, const struct lu_fid *fid, u32 *mds); 74 int __lmv_fid_alloc(struct lmv_obd *lmv, struct lu_fid *fid, u32 mds); 75 int lmv_fid_alloc(struct obd_export *exp, struct lu_fid *fid, 129 lmv_find_target(struct lmv_obd *lmv, const struct lu_fid *fid) in lmv_find_target() argument 135 rc = lmv_fld_lookup(lmv, fid, &mds); in lmv_find_target() 145 struct lu_fid *fid);
|
D | lmv_obd.c | 1213 int __lmv_fid_alloc(struct lmv_obd *lmv, struct lu_fid *fid, u32 mds) in __lmv_fid_alloc() argument 1236 rc = obd_fid_alloc(tgt->ltd_exp, fid, NULL); in __lmv_fid_alloc() 1238 LASSERT(fid_is_sane(fid)); in __lmv_fid_alloc() 1247 int lmv_fid_alloc(struct obd_export *exp, struct lu_fid *fid, in lmv_fid_alloc() argument 1256 LASSERT(fid != NULL); in lmv_fid_alloc() 1265 rc = __lmv_fid_alloc(lmv, fid, mds); in lmv_fid_alloc() 1441 struct lu_fid *fid) in lmv_getstatus() argument 1451 rc = md_getstatus(lmv->tgts[0]->ltd_exp, fid); in lmv_getstatus() 1455 static int lmv_getxattr(struct obd_export *exp, const struct lu_fid *fid, in lmv_getxattr() argument 1469 tgt = lmv_find_target(lmv, fid); in lmv_getxattr() [all …]
|
/drivers/staging/lustre/lustre/llite/ |
D | llite_nfs.c | 86 const struct lu_fid *fid) in search_inode_for_lustre() argument 92 unsigned long hash = cl_fid_build_ino(fid, in search_inode_for_lustre() 97 CDEBUG(D_INFO, "searching inode for:(%lu,"DFID")\n", hash, PFID(fid)); in search_inode_for_lustre() 99 inode = ilookup5(sb, hash, ll_nfs_test_inode, (void *)fid); in search_inode_for_lustre() 113 op_data->op_fid1 = *fid; in search_inode_for_lustre() 122 PFID(fid), rc); in search_inode_for_lustre() 139 ll_iget_for_nfs(struct super_block *sb, struct lu_fid *fid, struct lu_fid *parent) in ll_iget_for_nfs() argument 144 CDEBUG(D_INFO, "Get dentry for fid: "DFID"\n", PFID(fid)); in ll_iget_for_nfs() 145 if (!fid_is_sane(fid)) in ll_iget_for_nfs() 148 inode = search_inode_for_lustre(sb, fid); in ll_iget_for_nfs() [all …]
|
D | llite_rmtacl.c | 181 static struct eacl_entry *ee_alloc(pid_t key, struct lu_fid *fid, int type, in ee_alloc() argument 192 ee->ee_fid = *fid; in ee_alloc() 211 struct lu_fid *fid, int type) in __et_search_del() argument 216 LASSERT(fid != NULL); in __et_search_del() 219 if (lu_fid_eq(&ee->ee_fid, fid) && in __et_search_del() 230 struct lu_fid *fid, int type) in et_search_del() argument 235 ee = __et_search_del(et, key, fid, type); in et_search_del() 253 int ee_add(struct eacl_table *et, pid_t key, struct lu_fid *fid, int type, in ee_add() argument 258 ee = ee_alloc(key, fid, type, header); in ee_add() 263 e = __et_search_del(et, key, fid, type); in ee_add() [all …]
|
/drivers/w1/ |
D | w1_family.c | 48 if (f->fid == newf->fid) { in w1_register_family() 79 if (f->fid == fent->fid) { in w1_unregister_family() 91 fent->fid, atomic_read(&fent->refcnt)); in w1_unregister_family() 101 struct w1_family * w1_family_registered(u8 fid) in w1_family_registered() argument 110 if (f->fid == fid) { in w1_family_registered()
|
/drivers/fmc/ |
D | fmc-match.c | 26 struct fmc_fru_id *fid; in fmc_match() local 30 fid = fdrv->id_table.fru_id; in fmc_match() 31 if (!fid) { in fmc_match() 37 for (i = 0; i < fdrv->id_table.fru_id_nr; i++, fid++) { in fmc_match() 38 if (fid->manufacturer && in fmc_match() 39 strcmp(fid->manufacturer, fdev->id.manufacturer)) in fmc_match() 41 if (fid->product_name && in fmc_match() 42 strcmp(fid->product_name, fdev->id.product_name)) in fmc_match()
|
/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 338 static inline __u64 fid_seq(const struct lu_fid *fid) in fid_seq() argument 340 return fid->f_seq; in fid_seq() 344 static inline __u32 fid_oid(const struct lu_fid *fid) in fid_oid() argument 346 return fid->f_oid; in fid_oid() 350 static inline __u32 fid_ver(const struct lu_fid *fid) in fid_ver() argument 352 return fid->f_ver; in fid_ver() 355 static inline void fid_zero(struct lu_fid *fid) in fid_zero() argument 357 memset(fid, 0, sizeof(*fid)); in fid_zero() 360 static inline __u64 fid_ver_oid(const struct lu_fid *fid) in fid_ver_oid() argument 362 return ((__u64)fid_ver(fid) << 32 | fid_oid(fid)); in fid_ver_oid() [all …]
|
D | lustre_user.h | 477 #define PFID(fid) \ argument 478 (fid)->f_seq, \ 479 (fid)->f_oid, \ 480 (fid)->f_ver 485 #define RFID(fid) \ argument 486 &((fid)->f_seq), \ 487 &((fid)->f_oid), \ 488 &((fid)->f_ver)
|
/drivers/clk/bcm/ |
D | clk-iproc-armpll.c | 77 unsigned int policy, fid, active_fid; in __get_fid() local 89 fid = (val >> (IPROC_CLK_POLICY_FREQ_POLICY_FREQ_SHIFT * policy)) & in __get_fid() 95 if (fid != active_fid) { in __get_fid() 96 pr_debug("%s: fid override %u->%u\n", __func__, fid, in __get_fid() 98 fid = active_fid; in __get_fid() 101 pr_debug("%s: active fid: %u\n", __func__, fid); in __get_fid() 103 return fid; in __get_fid() 116 unsigned int fid; in __get_mdiv() local 120 fid = __get_fid(pll); in __get_mdiv() 122 switch (fid) { in __get_mdiv()
|
/drivers/staging/lustre/lustre/mdc/ |
D | mdc_internal.h | 45 void mdc_pack_body(struct ptlrpc_request *req, const struct lu_fid *fid, 53 const struct lu_fid *fid); 77 int mdc_null_inode(struct obd_export *exp, const struct lu_fid *fid); 79 int mdc_find_cbdata(struct obd_export *exp, const struct lu_fid *fid, 94 int mdc_resource_get_unused(struct obd_export *exp, const struct lu_fid *fid, 98 int mdc_fid_alloc(struct obd_export *exp, struct lu_fid *fid, 136 int mdc_cancel_unused(struct obd_export *exp, const struct lu_fid *fid, 141 struct lu_fid *fid, __u64 *bits); 148 const struct lu_fid *fid, ldlm_type_t type,
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 283 static int mlxsw_sp_fid_create(struct mlxsw_sp *mlxsw_sp, u16 fid) in mlxsw_sp_fid_create() argument 288 mlxsw_reg_sfmr_pack(sfmr_pl, MLXSW_REG_SFMR_OP_CREATE_FID, fid, fid); in mlxsw_sp_fid_create() 294 set_bit(fid, mlxsw_sp->active_fids); in mlxsw_sp_fid_create() 298 static void mlxsw_sp_fid_destroy(struct mlxsw_sp *mlxsw_sp, u16 fid) in mlxsw_sp_fid_destroy() argument 302 clear_bit(fid, mlxsw_sp->active_fids); in mlxsw_sp_fid_destroy() 305 fid, fid); in mlxsw_sp_fid_destroy() 309 static int mlxsw_sp_port_fid_map(struct mlxsw_sp_port *mlxsw_sp_port, u16 fid) in mlxsw_sp_port_fid_map() argument 318 return mlxsw_sp_port_vid_to_fid_set(mlxsw_sp_port, mt, true, fid, fid); in mlxsw_sp_port_fid_map() 321 static int mlxsw_sp_port_fid_unmap(struct mlxsw_sp_port *mlxsw_sp_port, u16 fid) in mlxsw_sp_port_fid_unmap() argument 329 return mlxsw_sp_port_vid_to_fid_set(mlxsw_sp_port, mt, false, fid, fid); in mlxsw_sp_port_fid_unmap() [all …]
|
/drivers/w1/slaves/ |
D | w1_therm.c | 127 .fid = W1_THERM_DS18S20, 132 .fid = W1_THERM_DS18B20, 137 .fid = W1_THERM_DS1822, 142 .fid = W1_THERM_DS28EA00, 147 .fid = W1_THERM_DS1825, 212 static inline int w1_convert_temp(u8 rom[9], u8 fid) in w1_convert_temp() argument 217 if (w1_therm_families[i].f->fid == fid) in w1_convert_temp() 325 w1_convert_temp(rom, sl->family->fid)); in w1_slave_show()
|
D | w1_smem.c | 41 .fid = W1_FAMILY_SMEM_01, 45 .fid = W1_FAMILY_SMEM_81,
|
/drivers/pci/hotplug/ |
D | s390_pci_hpc.c | 45 int ret = sclp_pci_configure(slot->zdev->fid); in slot_configure() 47 zpci_dbg(3, "conf fid:%x, rc:%d\n", slot->zdev->fid, ret); in slot_configure() 56 int ret = sclp_pci_deconfigure(slot->zdev->fid); in slot_deconfigure() 58 zpci_dbg(3, "deconf fid:%x, rc:%d\n", slot->zdev->fid, ret); in slot_deconfigure() 183 snprintf(name, SLOT_NAME_SIZE, "%08x", zdev->fid); in zpci_init_slot()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | llog_swab.c | 61 void lustre_swab_lu_fid(struct lu_fid *fid) in lustre_swab_lu_fid() argument 63 __swab64s(&fid->f_seq); in lustre_swab_lu_fid() 64 __swab32s(&fid->f_oid); in lustre_swab_lu_fid() 65 __swab32s(&fid->f_ver); in lustre_swab_lu_fid() 110 static void lustre_swab_ll_fid(struct ll_fid *fid) in lustre_swab_ll_fid() argument 112 __swab64s(&fid->id); in lustre_swab_ll_fid() 113 __swab32s(&fid->generation); in lustre_swab_ll_fid() 114 __swab32s(&fid->f_type); in lustre_swab_ll_fid()
|
/drivers/staging/lustre/lustre/fid/ |
D | Makefile | 1 obj-$(CONFIG_LUSTRE_FS) += fid.o 2 fid-y := fid_request.o fid_lib.o lproc_fid.o
|
/drivers/isdn/act2000/ |
D | act2000_isa.c | 360 act2000_fwid fid; in act2000_isa_getid() local 361 u_char *p = (u_char *)&fid; in act2000_isa_getid() 376 fid.revlen[0] = '\0'; in act2000_isa_getid() 377 if (strcmp(fid.isdn, "ISDN")) { in act2000_isa_getid() 381 if ((p = strchr(fid.revision, '\n'))) in act2000_isa_getid() 383 printk(KERN_INFO "act2000: Firmware-ID: %s\n", fid.revision); in act2000_isa_getid()
|
/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_cl.c | 1014 struct lu_fid *fid; in cl_file_inode_init() local 1033 fid = &lli->lli_fid; in cl_file_inode_init() 1034 LASSERT(fid_is_sane(fid)); in cl_file_inode_init() 1044 fid, &conf); in cl_file_inode_init() 1063 PFID(fid), result); in cl_file_inode_init() 1166 __u64 cl_fid_build_ino(const struct lu_fid *fid, int api32) in cl_fid_build_ino() argument 1169 return fid_flatten32(fid); in cl_fid_build_ino() 1171 return fid_flatten(fid); in cl_fid_build_ino() 1177 __u32 cl_fid_build_gen(const struct lu_fid *fid) in cl_fid_build_gen() argument 1181 if (fid_is_igif(fid)) { in cl_fid_build_gen() [all …]
|
/drivers/net/dsa/ |
D | mv88e6xxx.c | 990 if (entry->fid) { in _mv88e6xxx_atu_flush_move() 992 entry->fid); in _mv88e6xxx_atu_flush_move() 1006 static int _mv88e6xxx_atu_flush(struct dsa_switch *ds, u16 fid, bool static_too) in _mv88e6xxx_atu_flush() argument 1009 .fid = fid, in _mv88e6xxx_atu_flush() 1016 static int _mv88e6xxx_atu_move(struct dsa_switch *ds, u16 fid, int from_port, in _mv88e6xxx_atu_move() argument 1021 .fid = fid, in _mv88e6xxx_atu_move() 1034 static int _mv88e6xxx_atu_remove(struct dsa_switch *ds, u16 fid, int port, in _mv88e6xxx_atu_remove() argument 1038 return _mv88e6xxx_atu_move(ds, fid, port, 0x0f, static_too); in _mv88e6xxx_atu_remove() 1281 next.fid = ret & GLOBAL_VTU_FID_MASK; in _mv88e6xxx_vtu_getnext() 1321 reg = entry->fid & GLOBAL_VTU_FID_MASK; in _mv88e6xxx_vtu_loadpurge() [all …]
|