| /linux/fs/smb/client/ |
| H A D | dir.c | 199 struct tcon_link *tlink, unsigned int oflags, argument 208 struct cifs_tcon *tcon = tlink_tcon(tlink); 487 unsigned int xid, struct tcon_link *tlink, argument 503 tlink, oflags, mode, oplock, 527 struct tcon_link *tlink; local 568 tlink = cifs_sb_tlink(cifs_sb); 569 if (IS_ERR(tlink)) { 570 rc = PTR_ERR(tlink); 574 tcon = tlink_tcon(tlink); 585 cifs_add_pending_open(&fid, tlink, &open); [all …]
|
| H A D | inode.c | 421 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix() 458 struct tcon_link *tlink; in cifs_get_unix_fattr() 463 tlink = cifs_sb_tlink(cifs_sb); in cifs_get_unix_fattr() 464 if (IS_ERR(tlink)) in cifs_get_unix_fattr() 465 return PTR_ERR(tlink); in cifs_get_unix_fattr() 466 tcon = tlink_tcon(tlink); in cifs_get_unix_fattr() 473 cifs_put_tlink(tlink); in cifs_get_unix_fattr() 544 struct tcon_link *tlink; in cifs_sfu_type() 571 tlink = cifs_sb_tlink(cifs_sb); in cifs_sfu_type() 572 if (IS_ERR(tlink)) in cifs_sfu_type() 456 struct tcon_link *tlink; cifs_get_unix_fattr() local 542 struct tcon_link *tlink; cifs_sfu_type() local 730 struct tcon_link *tlink; cifs_sfu_mode() local 1294 struct tcon_link *tlink; cifs_get_fattr() local 1483 struct tcon_link *tlink; smb311_posix_get_fattr() local 1826 struct tcon_link *tlink; cifs_rename_pending_delete() local 1970 struct tcon_link *tlink; __cifs_unlink() local 2290 struct tcon_link *tlink; global() local 2375 struct tcon_link *tlink; global() local 2458 struct tcon_link *tlink; global() local 2542 struct tcon_link *tlink; global() local 3104 struct tcon_link *tlink = NULL; global() local 3178 struct tcon_link *tlink; global() local [all...] |
| H A D | cifsacl.c | 1595 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_cifs_acl_by_fid() local 1597 if (IS_ERR(tlink)) in get_cifs_acl_by_fid() 1598 return ERR_CAST(tlink); in get_cifs_acl_by_fid() 1601 rc = CIFSSMBGetCIFSACL(xid, tlink_tcon(tlink), cifsfid->netfid, &pntsd, in get_cifs_acl_by_fid() 1605 cifs_put_tlink(tlink); in get_cifs_acl_by_fid() 1621 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_cifs_acl_by_path() local 1625 if (IS_ERR(tlink)) in get_cifs_acl_by_path() 1626 return ERR_CAST(tlink); in get_cifs_acl_by_path() 1628 tcon = tlink_tcon(tlink); in get_cifs_acl_by_path() 1650 cifs_put_tlink(tlink); in get_cifs_acl_by_path() [all …]
|
| H A D | connect.c | 2914 cifs_put_tlink(struct tcon_link *tlink) in cifs_put_tlink() argument 2916 if (!tlink || IS_ERR(tlink)) in cifs_put_tlink() 2919 if (!atomic_dec_and_test(&tlink->tl_count) || in cifs_put_tlink() 2920 test_bit(TCON_LINK_IN_TREE, &tlink->tl_flags)) { in cifs_put_tlink() 2921 tlink->tl_time = jiffies; in cifs_put_tlink() 2925 if (!IS_ERR(tlink_tcon(tlink))) in cifs_put_tlink() 2926 cifs_put_tcon(tlink_tcon(tlink), netfs_trace_tcon_ref_put_tlink); in cifs_put_tlink() 2927 kfree(tlink); in cifs_put_tlink() 3017 struct tcon_link *tlink; in cifs_match_super() local 3029 tlink = cifs_get_tlink(cifs_sb_master_tlink(cifs_sb)); in cifs_match_super() [all …]
|
| H A D | link.c | 440 struct tcon_link *tlink; local 448 tlink = cifs_sb_tlink(cifs_sb); 449 if (IS_ERR(tlink)) 450 return PTR_ERR(tlink); 451 tcon = tlink_tcon(tlink); 531 cifs_put_tlink(tlink); 541 struct tcon_link *tlink; local 558 tlink = cifs_sb_tlink(cifs_sb); 559 if (IS_ERR(tlink)) { 560 rc = PTR_ERR(tlink); [all …]
|
| H A D | file.c | 63 server = cifs_pick_channel(tlink_tcon(open_file->tlink)->ses); in cifs_prepare_write() 68 tlink_tcon(req->cfile->tlink)); in cifs_prepare_write() 168 server = cifs_pick_channel(tlink_tcon(req->cfile->tlink)->ses); in cifs_prepare_read() 173 tlink_tcon(req->cfile->tlink)); in cifs_prepare_read() 499 struct tcon_link *tlink; in cifs_posix_open() local 508 tlink = cifs_sb_tlink(cifs_sb); in cifs_posix_open() 509 if (IS_ERR(tlink)) { in cifs_posix_open() 510 rc = PTR_ERR(tlink); in cifs_posix_open() 514 tcon = tlink_tcon(tlink); in cifs_posix_open() 521 cifs_put_tlink(tlink); in cifs_posix_open() 670 cifs_new_fileinfo(struct cifs_fid * fid,struct file * file,struct tcon_link * tlink,__u32 oplock,const char * symlink_target) cifs_new_fileinfo() argument 1061 struct tcon_link *tlink; cifs_open() local 3347 struct tcon_link *tlink; cifs_oplock_break() local [all...] |
| H A D | misc.c | 414 spin_lock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open() 416 spin_unlock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open() 420 cifs_add_pending_open_locked(struct cifs_fid *fid, struct tcon_link *tlink, in cifs_add_pending_open_locked() argument 425 open->tlink = tlink; in cifs_add_pending_open_locked() 427 list_add_tail(&open->olist, &tlink_tcon(tlink)->pending_opens); in cifs_add_pending_open_locked() 431 cifs_add_pending_open(struct cifs_fid *fid, struct tcon_link *tlink, in cifs_add_pending_open() argument 434 spin_lock(&tlink_tcon(tlink)->open_file_lock); in cifs_add_pending_open() 435 cifs_add_pending_open_locked(fid, tlink, open); in cifs_add_pending_open() 436 spin_unlock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_add_pending_open() 475 dclose->tlink = cfile->tlink; in cifs_add_deferred_close() [all …]
|
| H A D | readdir.c | 361 struct tcon_link *tlink = NULL; in _initiate_cifs_search() local 370 tlink = cifs_sb_tlink(cifs_sb); in _initiate_cifs_search() 371 if (IS_ERR(tlink)) in _initiate_cifs_search() 372 return PTR_ERR(tlink); in _initiate_cifs_search() 381 cifsFile->tlink = cifs_get_tlink(tlink); in _initiate_cifs_search() 382 tcon = tlink_tcon(tlink); in _initiate_cifs_search() 385 tcon = tlink_tcon(cifsFile->tlink); in _initiate_cifs_search() 433 cifs_put_tlink(tlink); in _initiate_cifs_search() 1071 struct tcon_link *tlink = NULL; in cifs_readdir() local 1093 tlink = cifs_sb_tlink(cifs_sb); in cifs_readdir() [all …]
|
| H A D | smb2misc.c | 543 struct tcon_link *tlink; member 555 rc = SMB2_lease_break(0, tlink_tcon(lw->tlink), lw->lease_key, in cifs_ses_oplock_break() 559 cifs_put_tlink(lw->tlink); in cifs_ses_oplock_break() 564 smb2_queue_pending_open_break(struct tcon_link *tlink, __u8 *lease_key, in smb2_queue_pending_open_break() argument 571 cifs_put_tlink(tlink); in smb2_queue_pending_open_break() 576 lw->tlink = tlink; in smb2_queue_pending_open_break() 691 struct tcon_link *tlink; in smb2_is_valid_lease_break() local 693 tlink = cifs_get_tlink(open->tlink); in smb2_is_valid_lease_break() 698 smb2_queue_pending_open_break(tlink, in smb2_is_valid_lease_break()
|
| H A D | cifsglob.h | 1324 tlink_tcon(struct tcon_link *tlink) in tlink_tcon() argument 1326 return tlink->tl_tcon; in tlink_tcon() 1335 void cifs_put_tlink(struct tcon_link *tlink); 1338 cifs_get_tlink(struct tcon_link *tlink) in cifs_get_tlink() argument 1340 if (tlink && !IS_ERR(tlink)) in cifs_get_tlink() 1341 atomic_inc(&tlink->tl_count); in cifs_get_tlink() 1342 return tlink; in cifs_get_tlink() 1352 struct tcon_link *tlink; member 1359 struct tcon_link *tlink; member 1451 struct tcon_link *tlink; global() member [all...] |
| H A D | smb2inode.c | 1361 struct tcon_link *tlink; in smb2_set_file_info() local 1365 tlink = cifs_sb_tlink(cifs_sb); in smb2_set_file_info() 1366 if (IS_ERR(tlink)) in smb2_set_file_info() 1367 return PTR_ERR(tlink); in smb2_set_file_info() 1368 tcon = tlink_tcon(tlink); in smb2_set_file_info() 1385 cifs_put_tlink(tlink); in smb2_set_file_info() 1539 struct tcon_link *tlink; in smb2_rename_pending_delete() local 1544 tlink = cifs_sb_tlink(cifs_sb); in smb2_rename_pending_delete() 1545 if (IS_ERR(tlink)) in smb2_rename_pending_delete() 1546 return PTR_ERR(tlink); in smb2_rename_pending_delete() [all …]
|
| H A D | reparse.c | 280 struct tcon_link *tlink; in detect_directory_symlink_target() local 327 tlink = cifs_sb_tlink(cifs_sb); in detect_directory_symlink_target() 328 if (IS_ERR(tlink)) in detect_directory_symlink_target() 329 return PTR_ERR(tlink); in detect_directory_symlink_target() 333 cifs_put_tlink(tlink); in detect_directory_symlink_target() 351 tcon = tlink_tcon(tlink); in detect_directory_symlink_target() 406 cifs_put_tlink(tlink); in detect_directory_symlink_target()
|
| H A D | cifsproto.h | 171 struct tcon_link *tlink, __u32 oplock, 248 void cifs_add_pending_open(struct cifs_fid *fid, struct tcon_link *tlink, 251 struct tcon_link *tlink,
|
| H A D | cached_dir.c | 563 struct tcon_link *tlink; in close_all_cached_dirs() local 570 tlink = rb_entry(node, struct tcon_link, tl_rbnode); in close_all_cached_dirs() 571 tcon = tlink_tcon(tlink); in close_all_cached_dirs()
|
| H A D | smb2ops.c | 1491 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in smb2_set_fid() 1912 tcon = tlink_tcon(dst_file->tlink); in __smb2_copychunk_range() 1975 tlink_tcon(src_file->tlink), in __smb2_copychunk_range() 2289 struct cifs_tcon *tcon = tlink_tcon(trgtfile->tlink); in smb2_duplicate_extents() 3205 return SMB2_lock(xid, tlink_tcon(cfile->tlink), in smb2_mand_lock() 3342 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_smb2_acl_by_fid() 3344 if (IS_ERR(tlink)) in get_smb2_acl_by_fid() 3345 return ERR_CAST(tlink); in get_smb2_acl_by_fid() 3350 rc = SMB2_query_acl(xid, tlink_tcon(tlink), cifsfid->persistent_fid, in get_smb2_acl_by_fid() 3355 cifs_put_tlink(tlink); in get_smb2_acl_by_fid() 3340 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); get_smb2_acl_by_fid() local 3371 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); get_smb2_acl_by_path() local 3437 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); set_smb2_acl() local [all...] |
| H A D | smb2pdu.c | 4688 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); in smb2_readv_callback() 4852 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); in smb2_async_readv() 4862 io_parms.tcon = tlink_tcon(rdata->req->cfile->tlink); in smb2_async_readv() 5033 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); in smb2_writev_callback() 5168 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); in smb2_async_writev()
|
| H A D | cifssmb.c | 1473 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); in cifs_readv_callback() 1587 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); in cifs_async_readv() 1913 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); in cifs_writev_callback() 1991 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); in cifs_async_writev()
|
| /linux/drivers/ata/ |
| H A D | libata-acpi.c | 72 struct ata_link *tlink; in ata_acpi_detach_device() local 75 ata_for_each_link(tlink, ap, EDGE) in ata_acpi_detach_device() 76 ata_for_each_dev(tdev, tlink, ALL) in ata_acpi_detach_device()
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfi_ms.h | 301 struct bfi_fcport_trunk_link_s tlink[BFI_FCPORT_MAX_LINKS]; member
|
| /linux/kernel/bpf/ |
| H A D | bpf_struct_ops.c | 627 struct bpf_tramp_link *tlink = container_of(link, struct bpf_tramp_link, link); in bpf_struct_ops_link_dealloc() local 629 kfree(tlink); in bpf_struct_ops_link_dealloc()
|