domainname        570 arch/alpha/kernel/osf_sys.c 	kname = utsname()->domainname;
domainname        208 arch/sparc/kernel/sys_sparc_32.c 	nlen = strlen(utsname()->domainname) + 1;
domainname        212 arch/sparc/kernel/sys_sparc_32.c 	memcpy(tmp, utsname()->domainname, nlen);
domainname        534 arch/sparc/kernel/sys_sparc_64.c 	nlen = strlen(utsname()->domainname) + 1;
domainname        538 arch/sparc/kernel/sys_sparc_64.c 	memcpy(tmp, utsname()->domainname, nlen);
domainname       1892 drivers/scsi/qla2xxx/qla_mr.c 			strlcpy(phost_info->domainname, p_sysid->domainname,
domainname       1893 drivers/scsi/qla2xxx/qla_mr.c 				sizeof(phost_info->domainname));
domainname       1913 drivers/scsi/qla2xxx/qla_mr.c 			    phost_info->domainname,
domainname        266 drivers/scsi/qla2xxx/qla_mr.h 	char    domainname[DOMNAME_LENGTH];
domainname        532 fs/cifs/cifsglob.h 	char *domainname;
domainname       2287 fs/cifs/connect.c 			kfree(vol->domainname);
domainname       2288 fs/cifs/connect.c 			vol->domainname = kstrdup(string, GFP_KERNEL);
domainname       2289 fs/cifs/connect.c 			if (!vol->domainname) {
domainname       3194 fs/cifs/connect.c 		vol->domainname = kstrndup(ses->domainName,
domainname       3197 fs/cifs/connect.c 		if (!vol->domainname) {
domainname       3302 fs/cifs/connect.c 	if (volume_info->domainname) {
domainname       3303 fs/cifs/connect.c 		ses->domainName = kstrdup(volume_info->domainname, GFP_KERNEL);
domainname       4210 fs/cifs/connect.c 	kfree(volume_info->domainname);
domainname       1104 fs/cifs/dfs_cache.c 	if (vol->domainname) {
domainname       1105 fs/cifs/dfs_cache.c 		new->domainname = kstrndup(vol->domainname,
domainname       1106 fs/cifs/dfs_cache.c 					  strlen(vol->domainname), GFP_KERNEL);
domainname       1107 fs/cifs/dfs_cache.c 		if (!new->domainname)
domainname       1129 fs/cifs/dfs_cache.c 	kfree(new->domainname);
domainname         31 include/uapi/linux/utsname.h 	char domainname[__NEW_UTS_LEN + 1];
domainname         35 init/version.c 		.domainname	= UTS_DOMAINNAME,
domainname       2524 kernel/debug/kdb/kdb_main.c 	kdb_printf("domainname %s\n", init_uts_ns.name.domainname);
domainname       1374 kernel/sys.c   		memcpy(u->domainname, tmp, len);
domainname       1375 kernel/sys.c   		memset(u->domainname + len, 0, sizeof(u->domainname) - len);
domainname        107 kernel/utsname_sysctl.c 		.data		= init_uts_ns.name.domainname,
domainname        108 kernel/utsname_sysctl.c 		.maxlen		= sizeof(init_uts_ns.name.domainname),
domainname        939 net/ipv4/ipconfig.c 		ic_bootp_string(utsname()->domainname, ext+1, *ext,
domainname       1563 net/ipv4/ipconfig.c 		utsname()->nodename, ic_domain, utsname()->domainname);
domainname       1722 net/ipv4/ipconfig.c 					strlcpy(utsname()->domainname, dp,
domainname       1723 net/ipv4/ipconfig.c 						sizeof(utsname()->domainname));
domainname        253 security/tomoyo/audit.c 	const char *domainname = r->domain->domainname->name;
domainname        259 security/tomoyo/audit.c 	len += strlen(domainname) + strlen(header) + 10;
domainname        289 security/tomoyo/audit.c 	pos += snprintf(buf + pos, len - pos, "\n%s\n", domainname);
domainname        942 security/tomoyo/common.c 	const struct tomoyo_path_info *domainname = tomoyo_domain()->domainname;
domainname        957 security/tomoyo/common.c 		    (!tomoyo_pathcmp(domainname, ptr->manager) ||
domainname        969 security/tomoyo/common.c 				domainname->name, exe);
domainname       1049 security/tomoyo/common.c 	return p1->domainname == p2->domainname;
domainname       1068 security/tomoyo/common.c 			.domainname = tomoyo_get_domainname(param),
domainname       1071 security/tomoyo/common.c 		if (e.domainname)
domainname       1075 security/tomoyo/common.c 		tomoyo_put_name(e.domainname);
domainname       1089 security/tomoyo/common.c static int tomoyo_delete_domain(char *domainname)
domainname       1094 security/tomoyo/common.c 	name.name = domainname;
domainname       1105 security/tomoyo/common.c 		    tomoyo_pathcmp(domain->domainname, &name))
domainname       1433 security/tomoyo/common.c 		tomoyo_set_string(head, ptr->domainname->name);
domainname       1633 security/tomoyo/common.c 			tomoyo_set_string(head, domain->domainname->name);
domainname       1727 security/tomoyo/common.c 	tomoyo_set_string(head, domain->domainname->name);
domainname       1881 security/tomoyo/common.c 				tomoyo_set_string(head, ptr->domainname ?
domainname       1882 security/tomoyo/common.c 						  ptr->domainname->name :
domainname       2795 security/tomoyo/common.c 			       profile, domain->domainname->name);
domainname        491 security/tomoyo/common.h 			const struct tomoyo_path_info *domainname;
domainname        684 security/tomoyo/common.h 	const struct tomoyo_path_info *domainname;
domainname        701 security/tomoyo/common.h 	const struct tomoyo_path_info *domainname;
domainname        854 security/tomoyo/common.h 	const struct tomoyo_path_info *domainname; /* Maybe NULL */
domainname        933 security/tomoyo/common.h bool tomoyo_correct_domain(const unsigned char *domainname);
domainname       1031 security/tomoyo/common.h struct tomoyo_domain_info *tomoyo_assign_domain(const char *domainname,
domainname       1034 security/tomoyo/common.h struct tomoyo_domain_info *tomoyo_find_domain(const char *domainname);
domainname       1038 security/tomoyo/common.h (const char *domainname);
domainname        230 security/tomoyo/domain.c 		&& p1->domainname == p2->domainname
domainname        248 security/tomoyo/domain.c 	char *domainname = strstr(program, " from ");
domainname        250 security/tomoyo/domain.c 	if (domainname) {
domainname        251 security/tomoyo/domain.c 		*domainname = '\0';
domainname        252 security/tomoyo/domain.c 		domainname += 6;
domainname        255 security/tomoyo/domain.c 		domainname = program;
domainname        265 security/tomoyo/domain.c 	if (domainname && strcmp(domainname, "any")) {
domainname        266 security/tomoyo/domain.c 		if (!tomoyo_correct_domain(domainname)) {
domainname        267 security/tomoyo/domain.c 			if (!tomoyo_correct_path(domainname))
domainname        271 security/tomoyo/domain.c 		e.domainname = tomoyo_get_name(domainname);
domainname        272 security/tomoyo/domain.c 		if (!e.domainname)
domainname        279 security/tomoyo/domain.c 	tomoyo_put_name(e.domainname);
domainname        298 security/tomoyo/domain.c (const struct list_head *list, const struct tomoyo_path_info *domainname,
domainname        308 security/tomoyo/domain.c 		if (ptr->domainname) {
domainname        310 security/tomoyo/domain.c 				if (ptr->domainname != domainname)
domainname        317 security/tomoyo/domain.c 				if (strcmp(ptr->domainname->name, last_name))
domainname        345 security/tomoyo/domain.c  const struct tomoyo_path_info *domainname,
domainname        348 security/tomoyo/domain.c 	const char *last_name = tomoyo_last_word(domainname->name);
domainname        355 security/tomoyo/domain.c 		if (!tomoyo_scan_transition(list, domainname, program,
domainname        462 security/tomoyo/domain.c struct tomoyo_policy_namespace *tomoyo_assign_namespace(const char *domainname)
domainname        466 security/tomoyo/domain.c 	const char *cp = domainname;
domainname        471 security/tomoyo/domain.c 	ptr = tomoyo_find_namespace(domainname, len);
domainname        474 security/tomoyo/domain.c 	if (len >= TOMOYO_EXEC_TMPSIZE - 10 || !tomoyo_domain_def(domainname))
domainname        481 security/tomoyo/domain.c 	ptr = tomoyo_find_namespace(domainname, len);
domainname        486 security/tomoyo/domain.c 		memmove(name, domainname, len);
domainname        505 security/tomoyo/domain.c static bool tomoyo_namespace_jump(const char *domainname)
domainname        510 security/tomoyo/domain.c 	return strncmp(domainname, namespace, len) ||
domainname        511 security/tomoyo/domain.c 		(domainname[len] && domainname[len] != ' ');
domainname        524 security/tomoyo/domain.c struct tomoyo_domain_info *tomoyo_assign_domain(const char *domainname,
domainname        528 security/tomoyo/domain.c 	struct tomoyo_domain_info *entry = tomoyo_find_domain(domainname);
domainname        547 security/tomoyo/domain.c 	if (strlen(domainname) >= TOMOYO_EXEC_TMPSIZE - 10 ||
domainname        548 security/tomoyo/domain.c 	    !tomoyo_correct_domain(domainname))
domainname        555 security/tomoyo/domain.c 	if (transit && tomoyo_namespace_jump(domainname))
domainname        557 security/tomoyo/domain.c 	e.ns = tomoyo_assign_namespace(domainname);
domainname        571 security/tomoyo/domain.c 	e.domainname = tomoyo_get_name(domainname);
domainname        572 security/tomoyo/domain.c 	if (!e.domainname)
domainname        576 security/tomoyo/domain.c 	entry = tomoyo_find_domain(domainname);
domainname        587 security/tomoyo/domain.c 	tomoyo_put_name(e.domainname);
domainname        775 security/tomoyo/domain.c 		const char *domainname = ee->transition->name;
domainname        778 security/tomoyo/domain.c 		if (!strcmp(domainname, "keep"))
domainname        780 security/tomoyo/domain.c 		if (!strcmp(domainname, "child"))
domainname        782 security/tomoyo/domain.c 		if (!strcmp(domainname, "reset"))
domainname        784 security/tomoyo/domain.c 		if (!strcmp(domainname, "initialize"))
domainname        786 security/tomoyo/domain.c 		if (!strcmp(domainname, "parent")) {
domainname        789 security/tomoyo/domain.c 			strncpy(ee->tmp, old_domain->domainname->name,
domainname        794 security/tomoyo/domain.c 		} else if (*domainname == '<')
domainname        795 security/tomoyo/domain.c 			strncpy(ee->tmp, domainname, TOMOYO_EXEC_TMPSIZE - 1);
domainname        798 security/tomoyo/domain.c 				 old_domain->domainname->name, domainname);
domainname        805 security/tomoyo/domain.c 	switch (tomoyo_transition_type(old_domain->ns, old_domain->domainname,
domainname        844 security/tomoyo/domain.c 			 old_domain->domainname->name, candidate->name);
domainname        114 security/tomoyo/gc.c 	tomoyo_put_name(ptr->domainname);
domainname        236 security/tomoyo/gc.c 			tomoyo_put_name(entry->domainname);
domainname        267 security/tomoyo/gc.c 	tomoyo_put_name(domain->domainname);
domainname        205 security/tomoyo/memory.c 	tomoyo_kernel_domain.domainname = tomoyo_get_name("<kernel>");
domainname         25 security/tomoyo/securityfs_if.c 	return !tomoyo_pathcmp(r->param.task.domainname, acl->domainname);
domainname         63 security/tomoyo/securityfs_if.c 		r.param.task.domainname = &name;
domainname        103 security/tomoyo/securityfs_if.c 	const char *domain = tomoyo_domain()->domainname->name;
domainname        536 security/tomoyo/util.c bool tomoyo_correct_domain(const unsigned char *domainname)
domainname        538 security/tomoyo/util.c 	if (!domainname || !tomoyo_domain_def(domainname))
domainname        540 security/tomoyo/util.c 	domainname = strchr(domainname, ' ');
domainname        541 security/tomoyo/util.c 	if (!domainname++)
domainname        544 security/tomoyo/util.c 		const unsigned char *cp = strchr(domainname, ' ');
domainname        548 security/tomoyo/util.c 		if (*domainname != '/' ||
domainname        549 security/tomoyo/util.c 		    !tomoyo_correct_word2(domainname, cp - domainname))
domainname        551 security/tomoyo/util.c 		domainname = cp + 1;
domainname        553 security/tomoyo/util.c 	return tomoyo_correct_path(domainname);
domainname        590 security/tomoyo/util.c struct tomoyo_domain_info *tomoyo_find_domain(const char *domainname)
domainname        595 security/tomoyo/util.c 	name.name = domainname;
domainname        600 security/tomoyo/util.c 		    !tomoyo_pathcmp(&name, domain->domainname))
domainname       1083 security/tomoyo/util.c 			domain->domainname->name);