/linux-master/fs/bcachefs/ |
H A D | migrate.c | 22 unsigned dev_idx, int flags, bool metadata) 29 bch2_bkey_drop_device(k, dev_idx); 42 unsigned dev_idx, 49 if (!bch2_bkey_has_device_c(k, dev_idx)) 57 ret = drop_dev_ptrs(c, bkey_i_to_s(n), dev_idx, flags, false); 79 static int bch2_dev_usrdata_drop(struct bch_fs *c, unsigned dev_idx, int flags) argument 92 bch2_dev_usrdata_drop_key(trans, &iter, k, dev_idx, flags)); 102 static int bch2_dev_metadata_drop(struct bch_fs *c, unsigned dev_idx, int flags) argument 128 if (!bch2_bkey_has_device_c(bkey_i_to_s_c(&b->key), dev_idx)) 134 dev_idx, flag 21 drop_dev_ptrs(struct bch_fs *c, struct bkey_s k, unsigned dev_idx, int flags, bool metadata) argument 39 bch2_dev_usrdata_drop_key(struct btree_trans *trans, struct btree_iter *iter, struct bkey_s_c k, unsigned dev_idx, int flags) argument 170 bch2_dev_data_drop(struct bch_fs *c, unsigned dev_idx, int flags) argument [all...] |
H A D | super.c | 1025 bch2_members_v2_get_mut(c->disk_sb.sb, ca->dev_idx)->last_mount = cpu_to_le64(now); 1081 struct bch_member m = bch2_sb_member_get(sb, sb->dev_idx); 1103 if (!bch2_dev_exists(fs->sb, sb->sb->dev_idx)) 1146 struct bch_member m = bch2_sb_member_get(fs->sb, sb->sb->dev_idx); 1264 "dev-%u", ca->dev_idx); 1333 unsigned dev_idx) 1335 ca->dev_idx = dev_idx; 1336 __set_bit(ca->dev_idx, ca->self.d); 1337 scnprintf(ca->name, sizeof(ca->name), "dev-%u", dev_idx); 1332 bch2_dev_attach(struct bch_fs *c, struct bch_dev *ca, unsigned dev_idx) argument 1346 bch2_dev_alloc(struct bch_fs *c, unsigned dev_idx) argument 1619 unsigned dev_idx = ca->dev_idx, data; local 1727 unsigned dev_idx, nr_devices, u64s; local 1864 unsigned dev_idx; local [all...] |
H A D | journal_sb.c | 24 struct bch_member m = bch2_sb_member_get(sb, sb->dev_idx); 107 struct bch_member m = bch2_sb_member_get(sb, sb->dev_idx);
|
H A D | sb-members.h | 101 return __bch2_next_dev_idx(c, ca ? ca->dev_idx + 1 : 0, mask); 188 __set_bit(ca->dev_idx, devs.d);
|
H A D | alloc_foreground.c | 219 if (bch2_bucket_is_open(c, ca->dev_idx, bucket)) { 225 c->journal.flushed_seq_ondisk, ca->dev_idx, bucket)) { 230 if (bch2_bucket_nocow_is_locked(&c->nocow_locks, POS(ca->dev_idx, bucket))) { 247 if (bch2_bucket_is_open(c, ca->dev_idx, bucket)) { 259 ob->dev = ca->dev_idx; 302 BTREE_ID_alloc, POS(ca->dev_idx, b), 345 ret = bch2_get_next_backpointer(trans, POS(ca->dev_idx, b), -1, 406 for_each_btree_key_norestart(trans, iter, BTREE_ID_alloc, POS(ca->dev_idx, alloc_cursor), 411 if (bkey_ge(k.k->p, POS(ca->dev_idx, ca->mi.nbuckets))) 473 POS(ca->dev_idx, alloc_curso [all...] |
/linux-master/drivers/md/ |
H A D | dm-zoned-reclaim.c | 24 int dev_idx; member in struct:dmz_reclaim 204 dmz_metadata_label(zmd), zrc->dev_idx, 243 dmz_metadata_label(zmd), zrc->dev_idx, 291 szone = dmz_alloc_zone(zmd, zrc->dev_idx, 302 dmz_metadata_label(zmd), zrc->dev_idx, chunk, 373 dzone = dmz_get_zone_for_reclaim(zmd, zrc->dev_idx, 377 dmz_metadata_label(zmd), zrc->dev_idx); 423 dmz_metadata_label(zmd), zrc->dev_idx, 427 dmz_metadata_label(zmd), zrc->dev_idx, 436 dmz_metadata_label(zmd), zrc->dev_idx, rzon [all...] |
H A D | dm-zoned.h | 63 unsigned int dev_idx; member in struct:dmz_dev 219 unsigned int dev_idx, unsigned long flags); 248 unsigned int dev_idx, bool idle);
|
/linux-master/tools/iio/ |
H A D | lsiio.c | 61 int dev_idx; local 65 &dev_idx); 73 printf("Device %03d: %s\n", dev_idx, name); 84 int dev_idx; local 88 "%i", &dev_idx); 96 printf("Trigger %03d: %s\n", dev_idx, name);
|
/linux-master/drivers/edac/ |
H A D | e7xxx_edac.c | 341 static inline int dual_channel_active(u32 drc, int dev_idx) argument 343 return (dev_idx == E7501) ? ((drc >> 22) & 0x1) : 1; 347 static inline int drb_granularity(u32 drc, int dev_idx) argument 350 return (dev_idx == E7501) ? ((drc >> 18) & 0x3) : 1; 354 int dev_idx, u32 drc) 366 drc_chan = dual_channel_active(drc, dev_idx); 367 drc_drbg = drb_granularity(drc, dev_idx); 420 static int e7xxx_probe1(struct pci_dev *pdev, int dev_idx) argument 434 drc_chan = dual_channel_active(drc, dev_idx); 462 pvt->dev_info = &e7xxx_devs[dev_idx]; 353 e7xxx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, int dev_idx, u32 drc) argument [all...] |
H A D | edac_device.c | 43 edac_dbg(3, "\tedac_dev = %p dev_idx=%d\n", 44 edac_dev, edac_dev->dev_idx); 105 dev_ctl->dev_idx = device_index; 238 * assign a unique value to edac_dev->dev_idx. 258 /* Insert in ascending order by 'dev_idx', so find position */ 262 if (rover->dev_idx >= edac_dev->dev_idx) { 263 if (unlikely(rover->dev_idx == edac_dev->dev_idx)) 278 rover->mod_name, rover->ctl_name, rover->dev_idx); [all...] |
H A D | edac_mc.h | 58 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg)
|
H A D | edac_device.h | 157 int dev_idx; member in struct:edac_device_ctl_info
|
H A D | amd76x_edac.c | 222 * @dev_idx: Device type index 228 static int amd76x_probe1(struct pci_dev *pdev, int dev_idx) argument 264 mci->ctl_name = amd76x_devs[dev_idx].ctl_name;
|
H A D | i82860_edac.c | 184 static int i82860_probe1(struct pci_dev *pdev, int dev_idx) argument 217 mci->ctl_name = i82860_devs[dev_idx].ctl_name;
|
H A D | e752x_edac.c | 1174 static int e752x_get_devs(struct pci_dev *pdev, int dev_idx, argument 1189 PCI_VENDOR_ID_INTEL, e752x_devs[dev_idx].err_dev); 1194 e752x_devs[dev_idx].ctl_dev, 1255 static int e752x_probe1(struct pci_dev *pdev, int dev_idx) argument 1300 mci->edac_ctl_cap = (dev_idx == I3100) ? EDAC_FLAG_SECDED : 1308 pvt->dev_info = &e752x_devs[dev_idx]; 1311 if (e752x_get_devs(pdev, dev_idx, pvt)) { 1334 if (dev_idx == I3100)
|
H A D | i3000_edac.c | 308 static int i3000_probe1(struct pci_dev *pdev, int dev_idx) argument 375 mci->ctl_name = i3000_devs[dev_idx].ctl_name;
|
H A D | x38_edac.c | 317 static int x38_probe1(struct pci_dev *pdev, int dev_idx) argument 357 mci->ctl_name = x38_devs[dev_idx].ctl_name;
|
/linux-master/include/uapi/linux/ |
H A D | nfc.h | 267 __u32 dev_idx; member in struct:sockaddr_nfc 275 __u32 dev_idx; member in struct:sockaddr_nfc_llcp
|
/linux-master/include/sound/ |
H A D | tas2781-dsp.h | 80 /* fixed m68k compiling issue, storing the dev_idx as a member of block 82 * dev_idx mapping every time the block data writing to the dsp. 84 unsigned char dev_idx; member in struct:tasdev_blk 150 unsigned char dev_idx; member in struct:tasdev_blk_data
|
/linux-master/drivers/staging/gdm724x/ |
H A D | gdm_lte.h | 44 int dev_idx, int nic_type);
|
/linux-master/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2.c | 114 u16 dev_idx) 124 pr_debug("Device %d\n", dev_idx); 128 pr_err("Device %d is not a valid TLV error\n", dev_idx); 139 pr_err("Device %d does not have PSID\n", dev_idx); 145 pr_err("Device %d PSID TLV is not valid\n", dev_idx); 160 pr_err("Device %d has no components\n", dev_idx); 174 dev_idx); 112 mlxfw_mfa2_file_dev_validate(const struct mlxfw_mfa2_file *mfa2_file, const struct mlxfw_mfa2_tlv *dev_tlv, u16 dev_idx) argument
|
/linux-master/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 581 int start_polling(int dev_idx, int proto, int virtual_fd, int sd, int fid, int pid) argument 585 void *nla_start_poll_data[2] = {&dev_idx, &proto}; 605 int stop_polling(int dev_idx, int virtual_fd, int sd, int fid, int pid) argument 617 NFC_CMD_STOP_POLL, dev_idx); 638 int get_taginfo(int dev_idx, int sd, int fid, int pid) argument 658 tagid_type_data = &dev_idx; 695 int connect_socket(int dev_idx, int target_idx) argument 706 addr.dev_idx = dev_idx; 719 int connect_tag(int dev_idx, in argument [all...] |
/linux-master/drivers/misc/ |
H A D | open-dice.c | 116 static unsigned int dev_idx; local 155 snprintf(drvdata->name, sizeof(drvdata->name), DRIVER_NAME"%u", dev_idx++);
|
/linux-master/net/phonet/ |
H A D | pn_netlink.c | 125 int dev_idx = 0, dev_start_idx = cb->args[0]; local 133 if (dev_idx > dev_start_idx) 135 if (dev_idx++ < dev_start_idx) 152 cb->args[0] = dev_idx;
|
/linux-master/sound/soc/codecs/ |
H A D | tas2781-fmwlib.c | 85 unsigned char dev_idx; member in struct:blktyp_devidx_map 219 bk_da[i]->dev_idx = config_data[config_offset]; 226 if (bk_da[i]->dev_idx == 0) 231 (bk_da[i]->dev_idx - 1); 392 unsigned char dev_idx = 0; local 404 dev_idx = p[i].dev_idx; 409 return dev_idx; 449 * 2. storing the dev_idx as a member of block can reduce unnecessary 450 * time and system resource comsumption of dev_idx mappin 675 tasdevice_process_block(void *context, unsigned char *data, unsigned char dev_idx, int sublocksize) argument [all...] |