Lines Matching refs:dev_id
39 struct dentry *hmdfs_get_lo_d(struct dentry *dentry, int dev_id)
47 if (comrade->dev_id == dev_id) {
167 struct hmdfs_dentry_comrade *alloc_comrade(struct dentry *lo_d, int dev_id)
177 comrade->dev_id = dev_id;
188 if (likely(c->dev_id != comrade->dev_id))
190 hmdfs_err("Redundant comrade of device %llu", c->dev_id);
222 int dev_id,
234 comrade = alloc_comrade(path.dentry, dev_id);
266 static char *conf_name_trans_reg(struct dentry *d, int *dev_id)
283 // retrieve the conf sn (i.e. dev_id)
292 *dev_id = 0;
294 *dev_id = *dev_id * 10 + name[dot_pos - num_len + i] - '0';
1273 lo_d_new_dir = hmdfs_get_lo_d(d_new_dir, comrade->dev_id);
1319 new_comrade = alloc_comrade(lo_p_new.dentry, comrade->dev_id);