| /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); 486 unsigned int xid, struct tcon_link *tlink, 502 tlink, oflags, mode, oplock, 526 struct tcon_link *tlink; 567 tlink = cifs_sb_tlink(cifs_sb); 568 if (IS_ERR(tlink)) { 569 rc = PTR_ERR(tlink); 573 tcon = tlink_tcon(tlink); 584 cifs_add_pending_open(&fid, tlink, 487 cifs_do_create(struct inode * dir,struct dentry * direntry,unsigned int xid,struct tcon_link * tlink,unsigned int oflags,umode_t mode,__u32 * oplock,struct cifs_fid * fid,struct cifs_open_info_data * buf,struct inode ** inode,bool * opened) global() argument 527 struct tcon_link *tlink; global() local 681 struct tcon_link *tlink; global() local 730 struct tcon_link *tlink; global() local 781 struct tcon_link *tlink; global() local 1100 struct tcon_link *tlink; global() local [all...] |
| H A D | xattr.c | 103 struct tcon_link *tlink; in cifs_xattr_set() local 108 tlink = cifs_sb_tlink(cifs_sb); in cifs_xattr_set() 109 if (IS_ERR(tlink)) in cifs_xattr_set() 110 return PTR_ERR(tlink); in cifs_xattr_set() 111 pTcon = tlink_tcon(tlink); in cifs_xattr_set() 221 cifs_put_tlink(tlink); in cifs_xattr_set() 279 struct tcon_link *tlink; in cifs_xattr_get() local 284 tlink = cifs_sb_tlink(cifs_sb); in cifs_xattr_get() 285 if (IS_ERR(tlink)) in cifs_xattr_get() 286 return PTR_ERR(tlink); in cifs_xattr_get() 393 struct tcon_link *tlink; cifs_listxattr() local [all...] |
| H A D | inode.c | 423 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix() 460 struct tcon_link *tlink; in cifs_get_unix_fattr() 465 tlink = cifs_sb_tlink(cifs_sb); in cifs_get_unix_fattr() 466 if (IS_ERR(tlink)) in cifs_get_unix_fattr() 467 return PTR_ERR(tlink); in cifs_get_unix_fattr() 468 tcon = tlink_tcon(tlink); in cifs_get_unix_fattr() 475 cifs_put_tlink(tlink); in cifs_get_unix_fattr() 548 struct tcon_link *tlink; in cifs_sfu_type() 575 tlink = cifs_sb_tlink(cifs_sb); in cifs_sfu_type() 576 if (IS_ERR(tlink)) in cifs_sfu_type() 458 struct tcon_link *tlink; cifs_get_unix_fattr() local 544 struct tcon_link *tlink; cifs_sfu_type() local 732 struct tcon_link *tlink; cifs_sfu_mode() local 1296 struct tcon_link *tlink; cifs_get_fattr() local 1485 struct tcon_link *tlink; smb311_posix_get_fattr() local 1828 struct tcon_link *tlink; cifs_rename_pending_delete() local 1972 struct tcon_link *tlink; __cifs_unlink() local 2292 struct tcon_link *tlink; global() local 2377 struct tcon_link *tlink; global() local 2460 struct tcon_link *tlink; global() local 2544 struct tcon_link *tlink; global() local 3112 struct tcon_link *tlink = NULL; global() local 3186 struct tcon_link *tlink; global() local [all...] |
| H A D | cifsacl.c | 1599 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_cifs_acl_by_fid() 1601 if (IS_ERR(tlink)) in get_cifs_acl_by_fid() 1602 return ERR_CAST(tlink); in get_cifs_acl_by_fid() 1605 rc = CIFSSMBGetCIFSACL(xid, tlink_tcon(tlink), cifsfid->netfid, &pntsd, in get_cifs_acl_by_fid() 1609 cifs_put_tlink(tlink); in get_cifs_acl_by_fid() 1625 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_cifs_acl_by_path() 1629 if (IS_ERR(tlink)) in get_cifs_acl_by_path() 1630 return ERR_CAST(tlink); in get_cifs_acl_by_path() 1632 tcon = tlink_tcon(tlink); in get_cifs_acl_by_path() 1654 cifs_put_tlink(tlink); in get_cifs_acl_by_path() 1595 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); get_cifs_acl_by_fid() local 1621 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); get_cifs_acl_by_path() local 1686 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); set_cifs_acl() local 1739 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); cifs_acl_to_fattr() local 1793 struct tcon_link *tlink; id_mode_to_cifs_acl() local 1916 struct tcon_link *tlink; cifs_get_acl() local 1979 struct tcon_link *tlink; cifs_set_acl() local [all...] |
| H A D | connect.c | 2731 static void erase_tlink(struct cifs_sb_info *cifs_sb, struct tcon_link *tlink) in cifs_get_tcon() 2733 clear_bit(TCON_LINK_IN_TREE, &tlink->tl_flags); in cifs_get_tcon() 2734 rb_erase(&tlink->tl_rbnode, &cifs_sb->tlink_tree); in cifs_get_tcon() 2735 if (!IS_ERR(tlink_tcon(tlink))) in cifs_get_tcon() 2736 drop_mnt_ref(tlink_tcon(tlink)); in cifs_get_tcon() 2743 * @unlinked: the mount reference is for a tlink not yet in a superblock's tree in cifs_get_tcon() 2987 cifs_put_tlink(struct tcon_link *tlink) in match_prepath() 2989 if (!tlink || IS_ERR(tlink)) in match_prepath() 2992 if (!atomic_dec_and_test(&tlink in match_prepath() 2914 cifs_put_tlink(struct tcon_link * tlink) cifs_put_tlink() argument 3017 struct tcon_link *tlink; cifs_match_super() local 3700 struct tcon_link *tlink; mount_setup_tlink() local 3988 struct tcon_link *tlink; cifs_umount() local 4336 struct tcon_link *tlink; tlink_rb_search() local 4356 struct tcon_link *tlink; tlink_rb_insert() local 4394 struct tcon_link *tlink, *newtlink; cifs_sb_tlink() local 4480 struct tcon_link *tlink; cifs_prune_tlinks() local [all...] |
| H A D | link.c | 567 struct tcon_link *tlink; 575 tlink = cifs_sb_tlink(cifs_sb); 576 if (IS_ERR(tlink)) 577 return PTR_ERR(tlink); 578 tcon = tlink_tcon(tlink); 658 cifs_put_tlink(tlink); 668 struct tcon_link *tlink; 685 tlink = cifs_sb_tlink(cifs_sb); 686 if (IS_ERR(tlink)) { 687 rc = PTR_ERR(tlink); 440 struct tcon_link *tlink; global() local 541 struct tcon_link *tlink; global() local [all...] |
| H A D | file.c | 78 struct cifs_tcon *tcon = tlink_tcon(subreq->req->cfile->tlink); in cifs_prepare_write() 93 struct cifs_tcon *tcon = tlink_tcon(subreq->req->cfile->tlink); in cifs_prepare_write() 167 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_prepare_read() 319 server = cifs_pick_channel(tlink_tcon(open_file->tlink)->ses); in cifs_free_request() 341 tlink_tcon(req->cfile->tlink)); in cifs_free_subrequest() 578 server = cifs_pick_channel(tlink_tcon(req->cfile->tlink)->ses); in cifs_nt_open() 587 tlink_tcon(req->cfile->tlink)); in cifs_nt_open() 944 struct tcon_link *tlink; in _cifsFileInfo_put() 953 tlink = cifs_sb_tlink(cifs_sb); in _cifsFileInfo_put() 954 if (IS_ERR(tlink)) { in _cifsFileInfo_put() 499 struct tcon_link *tlink; cifs_posix_open() local 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 1064 struct tcon_link *tlink; cifs_open() local 3350 struct tcon_link *tlink; cifs_oplock_break() local [all...] |
| H A D | misc.c | 416 spin_lock(&tlink_tcon(open->tlink)->open_file_lock); in cifs_del_pending_open() 418 spin_unlock(&tlink_tcon(open->tlink)->open_file_lock); 422 cifs_add_pending_open_locked(struct cifs_fid *fid, struct tcon_link *tlink, in cifs_add_pending_open_locked() 427 open->tlink = tlink; in cifs_add_pending_open_locked() 429 list_add_tail(&open->olist, &tlink_tcon(tlink)->pending_opens); 433 cifs_add_pending_open(struct cifs_fid *fid, struct tcon_link *tlink, in cifs_add_pending_open() 436 spin_lock(&tlink_tcon(tlink)->open_file_lock); in cifs_add_pending_open() 437 cifs_add_pending_open_locked(fid, tlink, open); in cifs_add_pending_open() 438 spin_unlock(&tlink_tcon(open->tlink) in cifs_add_pending_open() 420 cifs_add_pending_open_locked(struct cifs_fid * fid,struct tcon_link * tlink,struct cifs_pending_open * open) cifs_add_pending_open_locked() argument 431 cifs_add_pending_open(struct cifs_fid * fid,struct tcon_link * tlink,struct cifs_pending_open * open) cifs_add_pending_open() argument 582 struct tcon_link *tlink; cifs_close_all_deferred_files_sb() local [all...] |
| H A D | readdir.c | 362 struct tcon_link *tlink = NULL; in _initiate_cifs_search() 371 tlink = cifs_sb_tlink(cifs_sb); in _initiate_cifs_search() 372 if (IS_ERR(tlink)) in _initiate_cifs_search() 373 return PTR_ERR(tlink); in _initiate_cifs_search() 382 cifsFile->tlink = cifs_get_tlink(tlink); in _initiate_cifs_search() 383 tcon = tlink_tcon(tlink); in _initiate_cifs_search() 386 tcon = tlink_tcon(cifsFile->tlink); in _initiate_cifs_search() 434 cifs_put_tlink(tlink); in _initiate_cifs_search() 711 struct TCP_Server_Info *server = tlink_tcon(file_info->tlink) in find_cifs_entry() 361 struct tcon_link *tlink = NULL; _initiate_cifs_search() local 1071 struct tcon_link *tlink = NULL; cifs_readdir() local [all...] |
| H A D | smb2misc.c | 559 struct tcon_link *tlink; in cifs_ses_oplock_break() 571 rc = SMB2_lease_break(0, tlink_tcon(lw->tlink), lw->lease_key, in smb2_queue_pending_open_break() 575 cifs_put_tlink(lw->tlink); in smb2_queue_pending_open_break() 580 smb2_queue_pending_open_break(struct tcon_link *tlink, __u8 *lease_key, in smb2_queue_pending_open_break() 587 cifs_put_tlink(tlink); in smb2_tcon_has_lease() 592 lw->tlink = tlink; in smb2_tcon_has_lease() 707 struct tcon_link *tlink; in smb2_is_valid_lease_break() 709 tlink = cifs_get_tlink(open->tlink); in smb2_is_valid_lease_break() 543 struct tcon_link *tlink; global() member 564 smb2_queue_pending_open_break(struct tcon_link * tlink,__u8 * lease_key,__le32 new_lease_state) smb2_queue_pending_open_break() argument 691 struct tcon_link *tlink; smb2_is_valid_lease_break() local [all...] |
| H A D | cifsglob.h | 1334 tlink_tcon(struct tcon_link *tlink) 1336 return tlink->tl_tcon; 1345 void cifs_put_tlink(struct tcon_link *tlink); 1348 cifs_get_tlink(struct tcon_link *tlink) 1350 if (tlink && !IS_ERR(tlink)) 1351 atomic_inc(&tlink->tl_count); 1352 return tlink; member 1362 struct tcon_link *tlink; 1369 struct tcon_link *tlink; 1324 tlink_tcon(struct tcon_link * tlink) tlink_tcon() argument 1338 cifs_get_tlink(struct tcon_link * tlink) cifs_get_tlink() argument 1359 struct tcon_link *tlink; global() member 1451 struct tcon_link *tlink; global() member [all...] |
| H A D | smb2inode.c | 1358 struct tcon_link *tlink; in smb2_set_file_info() 1362 tlink = cifs_sb_tlink(cifs_sb); in smb2_set_file_info() 1363 if (IS_ERR(tlink)) in smb2_set_file_info() 1364 return PTR_ERR(tlink); in smb2_set_file_info() 1365 tcon = tlink_tcon(tlink); in smb2_set_file_info() 1382 cifs_put_tlink(tlink); in smb2_set_file_info() 1536 struct tcon_link *tlink; in smb2_rename_pending_delete() 1541 tlink = cifs_sb_tlink(cifs_sb); in smb2_rename_pending_delete() 1542 if (IS_ERR(tlink)) in smb2_rename_pending_delete() 1543 return PTR_ERR(tlink); in smb2_rename_pending_delete() 1361 struct tcon_link *tlink; smb2_set_file_info() local 1539 struct tcon_link *tlink; smb2_rename_pending_delete() local [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 | 175 struct tcon_link *tlink, __u32 oplock, 252 void cifs_add_pending_open(struct cifs_fid *fid, struct tcon_link *tlink, 255 struct tcon_link *tlink,
|
| H A D | cifsfs.c | 299 struct tcon_link *tlink; in cifs_kill_sb() 321 struct tcon_link *tlink; in cifs_kill_sb() 327 tlink = rb_entry(node, struct tcon_link, tl_rbnode); in cifs_kill_sb() 328 tcon = tlink_tcon(tlink); in cifs_kill_sb() 336 ref->tlink = cifs_get_tlink(tlink); in cifs_statfs() 349 cifs_put_tlink(ref->tlink); in cifs_statfs() 1239 if (cfile && cfile->tlink) { in cifs_fileattr_get() 1240 tcon = tlink_tcon(cfile->tlink); in cifs_fileattr_get() 1263 else if (tlink_tcon(cfile->tlink) [all...] |
| 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 | 1496 struct TCP_Server_Info *server = tlink_tcon(cfile->tlink)->ses->server; in smb2_set_fid() 1917 tcon = tlink_tcon(dst_file->tlink); in __smb2_copychunk_range() 1980 tlink_tcon(src_file->tlink), in __smb2_copychunk_range() 2294 struct cifs_tcon *tcon = tlink_tcon(trgtfile->tlink); in smb2_duplicate_extents() 3207 return SMB2_lock(xid, tlink_tcon(cfile->tlink), in smb2_mand_lock() 3344 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); in get_smb2_acl_by_fid() 3346 if (IS_ERR(tlink)) in get_smb2_acl_by_fid() 3347 return ERR_CAST(tlink); in get_smb2_acl_by_fid() 3352 rc = SMB2_query_acl(xid, tlink_tcon(tlink), cifsfid->persistent_fid, in get_smb2_acl_by_fid() 3357 cifs_put_tlink(tlink); in get_smb2_acl_by_fid() 3342 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); get_smb2_acl_by_fid() local 3373 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); get_smb2_acl_by_path() local 3439 struct tcon_link *tlink = cifs_sb_tlink(cifs_sb); set_smb2_acl() local [all...] |
| H A D | smb2pdu.c | 4782 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); in smb2_readv_callback() 4947 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); in SMB2_read() 4957 io_parms.tcon = tlink_tcon(rdata->req->cfile->tlink); in SMB2_read() 5144 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); in smb2_writev_callback() 5289 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); in smb2_async_writev()
|
| H A D | cifssmb.c | 1467 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); 1581 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink); 1906 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink); 1986 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 | 628 struct bpf_tramp_link *tlink = container_of(link, struct bpf_tramp_link, link); in bpf_struct_ops_link_dealloc() 630 kfree(tlink); in bpf_struct_ops_link_dealloc() 627 struct bpf_tramp_link *tlink = container_of(link, struct bpf_tramp_link, link); bpf_struct_ops_link_dealloc() local
|