/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_object.c | 63 struct ttm_object_device *tdev; member 153 struct ttm_object_device *tdev = tfile->tdev; in ttm_base_object_init() local 162 rw_init(&tdev->object_lock, "ttmbao"); in ttm_base_object_init() 163 rw_wlock(&tdev->object_lock); in ttm_base_object_init() 164 ret = drm_ht_just_insert_please(&tdev->object_hash, in ttm_base_object_init() 167 rw_wunlock(&tdev->object_lock); in ttm_base_object_init() 179 rw_wlock(&tdev->object_lock); in ttm_base_object_init() 180 (void)drm_ht_remove_item(&tdev->object_hash, &base->hash); in ttm_base_object_init() 181 rw_wunlock(&tdev->object_lock); in ttm_base_object_init() 188 struct ttm_object_device *tdev = base->tfile->tdev; in ttm_release_base() local [all …]
|
H A D | ttm_object.h | 229 *tdev,
|
/freebsd/sys/dev/mlx5/mlx5_fpga_tools/ |
H A D | mlx5fpga_tools_char.c | 42 struct mlx5_fpga_tools_dev *tdev; member 59 context->tdev = dev->si_drv1; in tools_char_open() 66 mem_read(struct mlx5_fpga_tools_dev *tdev, void *buf, size_t count, in mem_read() argument 71 ret = sx_xlock_sig(&tdev->lock); in mem_read() 74 ret = mlx5_fpga_mem_read(tdev->fdev, count, address, buf, access_type); in mem_read() 75 sx_xunlock(&tdev->lock); in mem_read() 77 dev_dbg(mlx5_fpga_dev(tdev->fdev), in mem_read() 87 mem_write(struct mlx5_fpga_tools_dev *tdev, void *buf, size_t count, in mem_write() argument 92 ret = sx_xlock_sig(&tdev->lock); in mem_write() 95 ret = mlx5_fpga_mem_write(tdev->fdev, count, address, buf, access_type); in mem_write() [all …]
|
H A D | mlx5fpga_tools_main.c | 48 void mlx5_fpga_tools_free(struct mlx5_fpga_tools_dev *tdev); 61 struct mlx5_fpga_tools_dev *tdev; in mlx5_fpga_tools_alloc() local 63 tdev = kzalloc(sizeof(*tdev), GFP_KERNEL); in mlx5_fpga_tools_alloc() 64 if (!tdev) in mlx5_fpga_tools_alloc() 67 tdev->fdev = fdev; in mlx5_fpga_tools_alloc() 68 sx_init(&tdev->lock, "mlx5fpgat"); in mlx5_fpga_tools_alloc() 69 ret = mlx5_fpga_tools_char_add_one(tdev); in mlx5_fpga_tools_alloc() 76 kfree(tdev); in mlx5_fpga_tools_alloc() 77 tdev = NULL; in mlx5_fpga_tools_alloc() 80 return tdev; in mlx5_fpga_tools_alloc() [all …]
|
H A D | tools_char.h | 41 int mlx5_fpga_tools_char_add_one(struct mlx5_fpga_tools_dev *tdev); 42 void mlx5_fpga_tools_char_remove_one(struct mlx5_fpga_tools_dev *tdev);
|
H A D | tools.h | 56 int mlx5_fpga_tools_mem_write(struct mlx5_fpga_tools_dev *tdev, 59 int mlx5_fpga_tools_mem_read(struct mlx5_fpga_tools_dev *tdev, void *buf,
|
/freebsd/tests/sys/cddl/zfs/tests/cache/ |
H A D | cache_005_neg.ksh | 64 tdev=$(random_get $LDEV2) 65 log_mustnot $ZPOOL replace $TESTPOOL $sdev $tdev 67 log_must check_vdev_state $TESTPOOL $tdev ""
|
/freebsd/tests/sys/cddl/zfs/tests/slog/ |
H A D | slog_006_pos.ksh | 67 tdev=$(random_get $LDEV2) 68 log_must $ZPOOL replace $TESTPOOL $sdev $tdev 70 wait_for 15 1 verify_slog_device $TESTPOOL $tdev ONLINE $logtype
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cache/ |
H A D | cache_005_neg.ksh | 57 tdev=$(random_get $LDEV2) 58 log_mustnot zpool replace $TESTPOOL $sdev $tdev 60 log_must check_vdev_state $TESTPOOL $tdev ""
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
H A D | slog_006_pos.ksh | 60 tdev=$(random_get $LDEV2) 61 log_must zpool replace $TESTPOOL $sdev $tdev 66 $TESTPOOL $tdev 'ONLINE' $logtype
|
/freebsd/stand/efi/boot1/ |
H A D | zfs_module.c | 117 dev_info_t *tdev; in probe() local 120 tdev = malloc(sizeof(*dev)); in probe() 121 if (tdev == NULL) { in probe() 125 memcpy(tdev, dev, sizeof(*dev)); in probe() 127 if (vdev_probe(vdev_read, NULL, tdev, &spa) != 0) { in probe() 128 free(tdev); in probe()
|
/freebsd/usr.bin/killall/ |
H A D | killall.c | 115 dev_t tdev = 0; in main() local 264 tdev = sb.st_rdev; in main() 266 printf("ttydev:0x%jx\n", (uintmax_t)tdev); in main() 298 mib[3] = tdev; in main() 350 if (thistdev != tdev) in main()
|
/freebsd/usr.bin/w/ |
H A D | w.c | 100 dev_t tdev; /* dev_t of terminal */ member 235 ep->tdev = stp->st_rdev; in main() 240 if (ep->tdev == 0) { in main() 244 (void)sysctlbyname("machdep.consdev", &ep->tdev, &size, NULL, 0); in main() 351 if (ep->tdev == kp->ki_tdev) { in main()
|
/freebsd/bin/ps/ |
H A D | extern.h | 82 char *tdev(KINFO *, VARENT *);
|
H A D | keyword.c | 194 {"tdev", "TDEV", NULL, "terminal-device", 0, tdev, 0, CHAR, NULL, 0},
|
H A D | print.c | 330 tdev(KINFO *k, VARENT *ve __unused) in tdev() function
|
/freebsd/contrib/netbsd-tests/bin/ps/ |
H A D | keywords | 106 tdev TDEV
|
/freebsd/lib/libusb/ |
H A D | libusb10.c | 607 struct libusb20_device *tdev; in libusb_open_device_with_vid_pid() local 609 tdev = devs[j]->os_priv; in libusb_open_device_with_vid_pid() 610 pdesc = libusb20_dev_get_device_desc(tdev); in libusb_open_device_with_vid_pid()
|