Searched refs:tgt_dev (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | core.c | 101 static void nvm_remove_tgt_dev(struct nvm_tgt_dev *tgt_dev, int clear) in nvm_remove_tgt_dev() argument 103 struct nvm_dev *dev = tgt_dev->parent; in nvm_remove_tgt_dev() 104 struct nvm_dev_map *dev_map = tgt_dev->map; in nvm_remove_tgt_dev() 128 kfree(tgt_dev->luns); in nvm_remove_tgt_dev() 129 kfree(tgt_dev); in nvm_remove_tgt_dev() 136 struct nvm_tgt_dev *tgt_dev = NULL; in nvm_create_tgt_dev() local 203 tgt_dev = kmalloc(sizeof(struct nvm_tgt_dev), GFP_KERNEL); in nvm_create_tgt_dev() 204 if (!tgt_dev) in nvm_create_tgt_dev() 208 memcpy(&tgt_dev->geo, &dev->geo, sizeof(struct nvm_geo)); in nvm_create_tgt_dev() 211 tgt_dev->geo.num_ch = num_ch; in nvm_create_tgt_dev() [all …]
|
D | pblk.h | 1230 static inline int pblk_boundary_ppa_checks(struct nvm_tgt_dev *tgt_dev, in pblk_boundary_ppa_checks() argument 1233 struct nvm_geo *geo = &tgt_dev->geo; in pblk_boundary_ppa_checks() 1258 print_ppa(tgt_dev->q->queuedata, ppa, "boundary", i); in pblk_boundary_ppa_checks()
|
/kernel/linux/linux-5.10/drivers/firewire/ |
D | sbp2.c | 174 static const struct device *tgt_dev(const struct sbp2_target *tgt) in tgt_dev() function 825 dev_err(tgt_dev(tgt), "failed to login to LUN %04x\n", in sbp2_login() 843 dev_notice(tgt_dev(tgt), "logged in to LUN %04x (%d retries)\n", in sbp2_login() 935 dev_err(tgt_dev(tgt), "failed to reconnect\n"); in sbp2_reconnect() 949 dev_notice(tgt_dev(tgt), "reconnected to LUN %04x (%d retries)\n", in sbp2_reconnect() 1079 dev_notice(tgt_dev(tgt), "%ds mgt_ORB_timeout limited to 40s\n", in sbp2_clamp_management_orb_timeout() 1092 dev_notice(tgt_dev(tgt), in sbp2_init_workarounds() 1114 dev_notice(tgt_dev(tgt), "workarounds 0x%x " in sbp2_init_workarounds()
|