/linux-4.1.27/fs/cifs/ |
D | smb1ops.c | 439 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize() argument 441 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_wsize() 442 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize() 448 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 454 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 474 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize() argument 476 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_rsize() 477 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_rsize() 492 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) in cifs_negotiate_rsize() 515 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in cifs_qfs_tcon() argument [all …]
|
D | smb2proto.h | 61 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, 65 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 70 extern int smb2_mkdir(const unsigned int xid, struct cifs_tcon *tcon, 74 struct cifs_tcon *tcon, const unsigned int xid); 75 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, 77 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, 79 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, 82 extern int smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, 85 extern int smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, 88 extern int smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, [all …]
|
D | cifsproto.h | 68 struct cifs_tcon *tcon); 198 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon); 232 const char *tree, struct cifs_tcon *tcon, 235 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon, 241 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon, 245 extern int CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon, 248 extern int CIFSSMBQFileInfo(const unsigned int xid, struct cifs_tcon *tcon, 250 extern int CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon, 254 extern int SMBQueryInformation(const unsigned int xid, struct cifs_tcon *tcon, 258 extern int CIFSSMBUnixQFileInfo(const unsigned int xid, struct cifs_tcon *tcon, [all …]
|
D | smb2inode.c | 41 smb2_open_op_close(const unsigned int xid, struct cifs_tcon *tcon, in smb2_open_op_close() argument 56 oparms.tcon = tcon; in smb2_open_op_close() 73 tmprc = SMB2_query_info(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 84 tmprc = SMB2_rmdir(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 88 tmprc = SMB2_rename(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 92 tmprc = SMB2_set_hardlink(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 96 tmprc = SMB2_set_eof(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 101 tmprc = SMB2_set_info(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 110 rc = SMB2_close(xid, tcon, fid.persistent_fid, fid.volatile_fid); in smb2_open_op_close() 128 smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, in smb2_query_path_info() argument [all …]
|
D | smb2pdu.c | 83 const struct cifs_tcon *tcon) in smb2_hdr_assemble() argument 109 if (!tcon) in smb2_hdr_assemble() 114 if ((tcon->ses) && (tcon->ses->server) && in smb2_hdr_assemble() 115 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU)) in smb2_hdr_assemble() 119 hdr->TreeId = tcon->tid; in smb2_hdr_assemble() 121 if (tcon->ses) in smb2_hdr_assemble() 122 hdr->SessionId = tcon->ses->Suid; in smb2_hdr_assemble() 137 if (tcon->ses && tcon->ses->server && tcon->ses->server->sign) in smb2_hdr_assemble() 145 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon) in smb2_reconnect() argument 157 if (tcon == NULL) in smb2_reconnect() [all …]
|
D | link.c | 204 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument 220 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink() 221 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink() 237 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink() argument 250 if (tcon->ses->server->ops->query_mf_symlink) in query_mf_symlink() 251 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink() 271 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument 288 if (tcon->ses->server->ops->query_mf_symlink) in check_mf_symlink() 289 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink() 325 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument [all …]
|
D | smb2ops.c | 230 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize() argument 232 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize() 246 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize() argument 248 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize() 263 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument 269 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in SMB3_request_interfaces() 291 smb3_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in smb3_qfs_tcon() argument 299 oparms.tcon = tcon; in smb3_qfs_tcon() 311 SMB3_request_interfaces(xid, tcon); in smb3_qfs_tcon() 314 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid, in smb3_qfs_tcon() [all …]
|
D | dir.c | 50 struct cifs_tcon *tcon) in cifs_build_path_to_root() argument 62 if (tcon->Flags & SMB_SHARE_IS_IN_DFS) in cifs_build_path_to_root() 63 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in cifs_build_path_to_root() 72 strncpy(full_path, tcon->treeName, dfsplen); in cifs_build_path_to_root() 90 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local 94 if (tcon->Flags & SMB_SHARE_IS_IN_DFS) in build_path_from_dentry() 95 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in build_path_from_dentry() 157 strncpy(full_path, tcon->treeName, dfsplen); in build_path_from_dentry() 202 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_do_create() local 207 struct TCP_Server_Info *server = tcon->ses->server; in cifs_do_create() [all …]
|
D | inode.c | 340 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local 343 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data); 363 struct cifs_tcon *tcon; local 372 tcon = tlink_tcon(tlink); 375 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, 390 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr, 433 struct cifs_tcon *tcon; local 459 tcon = tlink_tcon(tlink); 461 oparms.tcon = tcon; 470 if (tcon->ses->server->oplocks) [all …]
|
D | cifssmb.c | 94 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid() argument 102 list_for_each_safe(tmp, tmp1, &tcon->openFileList) { in cifs_mark_open_files_invalid() 116 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument 128 if (!tcon) in cifs_reconnect_tcon() 131 ses = tcon->ses; in cifs_reconnect_tcon() 138 if (tcon->tidStatus == CifsExiting) { in cifs_reconnect_tcon() 165 if (!tcon->retry) { in cifs_reconnect_tcon() 171 if (!ses->need_reconnect && !tcon->need_reconnect) in cifs_reconnect_tcon() 186 if (rc || !tcon->need_reconnect) { in cifs_reconnect_tcon() 191 cifs_mark_open_files_invalid(tcon); in cifs_reconnect_tcon() [all …]
|
D | fscache.c | 43 void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie() argument 45 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie() 47 tcon->fscache = in cifs_fscache_get_super_cookie() 49 &cifs_fscache_super_index_def, tcon, true); in cifs_fscache_get_super_cookie() 51 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie() 54 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie() argument 56 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie() 57 fscache_relinquish_cookie(tcon->fscache, 0); in cifs_fscache_release_super_cookie() 58 tcon->fscache = NULL; in cifs_fscache_release_super_cookie() 65 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_enable_inode_cookie() local [all …]
|
D | cifs_debug.c | 116 struct cifs_tcon *tcon; in cifs_debug_data_proc_show() local 187 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show() 190 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in cifs_debug_data_proc_show() 192 tcon->treeName, tcon->tc_count); in cifs_debug_data_proc_show() 193 if (tcon->nativeFileSystem) { in cifs_debug_data_proc_show() 195 tcon->nativeFileSystem); in cifs_debug_data_proc_show() 199 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics), in cifs_debug_data_proc_show() 200 le32_to_cpu(tcon->fsAttrInfo.Attributes), in cifs_debug_data_proc_show() 201 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength), in cifs_debug_data_proc_show() 202 tcon->tidStatus); in cifs_debug_data_proc_show() [all …]
|
D | cifsfs.c | 119 struct cifs_tcon *tcon; in cifs_read_super() local 123 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_read_super() 128 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super() 148 if (tcon->nocase) in cifs_read_super() 185 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs() local 186 struct TCP_Server_Info *server = tcon->ses->server; in cifs_statfs() 204 rc = server->ops->queryfs(xid, tcon, buf); in cifs_statfs() 213 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fallocate() local 214 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fallocate() 217 return server->ops->fallocate(file, tcon, mode, off, len); in cifs_fallocate() [all …]
|
D | ioctl.c | 143 struct cifs_tcon *tcon; in cifs_ioctl() local 157 tcon = tlink_tcon(pSMBFile->tlink); in cifs_ioctl() 158 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl() 162 rc = CIFSGetExtAttr(xid, tcon, in cifs_ioctl() 184 tcon = tlink_tcon(pSMBFile->tlink); in cifs_ioctl() 185 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl() 207 if (tcon->ses->server->ops->set_compression) { in cifs_ioctl() 208 rc = tcon->ses->server->ops->set_compression( in cifs_ioctl() 209 xid, tcon, pSMBFile); in cifs_ioctl()
|
D | file.c | 123 struct cifs_tcon *tcon; in cifs_posix_open() local 137 tcon = tlink_tcon(tlink); in cifs_posix_open() 141 rc = CIFSPOSIXCreate(xid, tcon, posix_flags, mode, pnetfid, presp_data, in cifs_posix_open() 176 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() argument 184 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open() 227 oparms.tcon = tcon; in cifs_nt_open() 241 if (tcon->unix_ext) in cifs_nt_open() 279 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo() local 280 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo() 328 list_add(&cfile->tlist, &tcon->openFileList); in cifs_new_fileinfo() [all …]
|
D | connect.c | 306 struct cifs_tcon *tcon; in cifs_reconnect() local 336 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect() 337 tcon->need_reconnect = true; in cifs_reconnect() 2539 static int match_tcon(struct cifs_tcon *tcon, const char *unc) in match_tcon() argument 2541 if (tcon->tidStatus == CifsExiting) in match_tcon() 2543 if (strncmp(tcon->treeName, unc, MAX_TREE_SIZE)) in match_tcon() 2552 struct cifs_tcon *tcon; in cifs_find_tcon() local 2556 tcon = list_entry(tmp, struct cifs_tcon, tcon_list); in cifs_find_tcon() 2557 if (!match_tcon(tcon, unc)) in cifs_find_tcon() 2559 ++tcon->tc_count; in cifs_find_tcon() [all …]
|
D | smb2file.c | 63 if (oparms->tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) in smb2_open_file() 72 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file() 97 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range() local 109 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range() 147 stored_rc = smb2_lockv(xid, tcon, in smb2_unlock_range() 172 stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid, in smb2_unlock_range() 196 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_push_mand_fdlocks() local 204 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks() 216 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks()
|
D | smb2misc.c | 439 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp, in smb2_tcon_has_lease() argument 446 struct TCP_Server_Info *server = tcon->ses->server; in smb2_tcon_has_lease() 454 list_for_each(tmp, &tcon->openFileList) { in smb2_tcon_has_lease() 479 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_has_lease() 508 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local 530 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break() 533 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break() 534 if (smb2_tcon_has_lease(tcon, rsp, lw)) { in smb2_is_valid_lease_break() 555 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break() local 579 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in smb2_is_valid_oplock_break() [all …]
|
D | cifsacl.c | 898 struct cifs_tcon *tcon; in get_cifs_acl_by_path() local 906 tcon = tlink_tcon(tlink); in get_cifs_acl_by_path() 912 oparms.tcon = tcon; in get_cifs_acl_by_path() 923 rc = CIFSSMBGetCIFSACL(xid, tcon, fid.netfid, &pntsd, pacllen); in get_cifs_acl_by_path() 924 CIFSSMBClose(xid, tcon, fid.netfid); in get_cifs_acl_by_path() 961 struct cifs_tcon *tcon; in set_cifs_acl() local 970 tcon = tlink_tcon(tlink); in set_cifs_acl() 981 oparms.tcon = tcon; in set_cifs_acl() 996 rc = CIFSSMBSetCIFSACL(xid, tcon, fid.netfid, pnntsd, acllen, aclflag); in set_cifs_acl() 999 CIFSSMBClose(xid, tcon, fid.netfid); in set_cifs_acl() [all …]
|
D | readdir.c | 272 struct cifs_tcon *tcon; in initiate_cifs_search() local 287 tcon = tlink_tcon(tlink); in initiate_cifs_search() 290 tcon = tlink_tcon(cifsFile->tlink); in initiate_cifs_search() 293 server = tcon->ses->server; in initiate_cifs_search() 315 if (tcon->unix_ext) in initiate_cifs_search() 317 else if ((tcon->ses->capabilities & in initiate_cifs_search() 318 tcon->ses->server->vals->cap_nt_find) == 0) { in initiate_cifs_search() 330 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in initiate_cifs_search() 561 find_cifs_entry(const unsigned int xid, struct cifs_tcon *tcon, loff_t pos, in find_cifs_entry() argument 571 struct TCP_Server_Info *server = tcon->ses->server; in find_cifs_entry() [all …]
|
D | cache.c | 149 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_super_get_key() local 153 sharename = extract_sharename(tcon->treeName); in cifs_super_get_key() 176 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_fscache_super_get_aux() local 179 auxdata.resource_id = tcon->resource_id; in cifs_fscache_super_get_aux() 195 const struct cifs_tcon *tcon = cookie_netfs_data; in cifs_fscache_super_check_aux() local 201 auxdata.resource_id = tcon->resource_id; in cifs_fscache_super_check_aux()
|
D | cifsglob.h | 993 struct cifs_tcon *tcon; member 1050 struct cifs_tcon *tcon; member 1203 static inline void cifs_stats_bytes_written(struct cifs_tcon *tcon, in cifs_stats_bytes_written() argument 1207 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_written() 1208 tcon->bytes_written += bytes; in cifs_stats_bytes_written() 1209 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_written() 1213 static inline void cifs_stats_bytes_read(struct cifs_tcon *tcon, in cifs_stats_bytes_read() argument 1216 spin_lock(&tcon->stat_lock); in cifs_stats_bytes_read() 1217 tcon->bytes_read += bytes; in cifs_stats_bytes_read() 1218 spin_unlock(&tcon->stat_lock); in cifs_stats_bytes_read() [all …]
|
D | fscache.h | 110 static inline void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_get_super_cookie() argument 112 cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) {} in cifs_fscache_release_super_cookie() argument
|
D | misc.c | 403 struct cifs_tcon *tcon; in is_valid_oplock_break() local 463 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in is_valid_oplock_break() 464 if (tcon->tid != buf->Tid) in is_valid_oplock_break() 467 cifs_stats_inc(&tcon->stats.cifs_stats.num_oplock_brks); in is_valid_oplock_break() 469 list_for_each(tmp2, &tcon->openFileList) { in is_valid_oplock_break()
|
D | transport.c | 950 send_lock_cancel(const unsigned int xid, struct cifs_tcon *tcon, in send_lock_cancel() argument 955 struct cifs_ses *ses = tcon->ses; in send_lock_cancel() 972 SendReceiveBlockingLock(const unsigned int xid, struct cifs_tcon *tcon, in SendReceiveBlockingLock() argument 981 if (tcon == NULL || tcon->ses == NULL) { in SendReceiveBlockingLock() 985 ses = tcon->ses; in SendReceiveBlockingLock() 1069 rc = send_lock_cancel(xid, tcon, in_buf, out_buf); in SendReceiveBlockingLock()
|
/linux-4.1.27/drivers/pwm/ |
D | pwm-samsung.c | 237 u32 tcon; in pwm_samsung_enable() local 241 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_enable() 243 tcon &= ~TCON_START(tcon_chan); in pwm_samsung_enable() 244 tcon |= TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable() 245 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_enable() 247 tcon &= ~TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable() 248 tcon |= TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan); in pwm_samsung_enable() 249 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_enable() 261 u32 tcon; in pwm_samsung_disable() local 265 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_disable() [all …]
|
/linux-4.1.27/drivers/clocksource/ |
D | samsung_pwm_timer.c | 125 unsigned long tcon; in samsung_time_stop() local 133 tcon = __raw_readl(pwm.base + REG_TCON); in samsung_time_stop() 134 tcon &= ~TCON_START(channel); in samsung_time_stop() 135 __raw_writel(tcon, pwm.base + REG_TCON); in samsung_time_stop() 142 unsigned long tcon; in samsung_time_setup() local 151 tcon = __raw_readl(pwm.base + REG_TCON); in samsung_time_setup() 153 tcon &= ~(TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan)); in samsung_time_setup() 154 tcon |= TCON_MANUALUPDATE(tcon_chan); in samsung_time_setup() 158 __raw_writel(tcon, pwm.base + REG_TCON); in samsung_time_setup() 165 unsigned long tcon; in samsung_time_start() local [all …]
|
D | exynos_mct.c | 251 unsigned int tcon; in exynos4_mct_comp0_stop() local 253 tcon = readl_relaxed(reg_base + EXYNOS4_MCT_G_TCON); in exynos4_mct_comp0_stop() 254 tcon &= ~(MCT_G_TCON_COMP0_ENABLE | MCT_G_TCON_COMP0_AUTO_INC); in exynos4_mct_comp0_stop() 256 exynos4_mct_write(tcon, EXYNOS4_MCT_G_TCON); in exynos4_mct_comp0_stop() 263 unsigned int tcon; in exynos4_mct_comp0_start() local 266 tcon = readl_relaxed(reg_base + EXYNOS4_MCT_G_TCON); in exynos4_mct_comp0_start() 269 tcon |= MCT_G_TCON_COMP0_AUTO_INC; in exynos4_mct_comp0_start() 279 tcon |= MCT_G_TCON_COMP0_ENABLE; in exynos4_mct_comp0_start() 280 exynos4_mct_write(tcon , EXYNOS4_MCT_G_TCON); in exynos4_mct_comp0_start()
|
/linux-4.1.27/security/selinux/ |
D | selinuxfs.c | 710 char *scon = NULL, *tcon = NULL; in sel_write_access() local 726 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_access() 727 if (!tcon) in sel_write_access() 731 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3) in sel_write_access() 739 length = security_context_to_sid(tcon, strlen(tcon) + 1, &tsid, in sel_write_access() 752 kfree(tcon); in sel_write_access() 759 char *scon = NULL, *tcon = NULL; in sel_write_create() local 778 tcon = kzalloc(size + 1, GFP_KERNEL); in sel_write_create() 779 if (!tcon) in sel_write_create() 788 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create() [all …]
|