Lines Matching defs:user

146 // a user specific temporary directory located in the /tmp file system,
150 // return the user specific temporary directory name.
154 static char* get_user_tmp_dir(const char* user) {
158 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
161 // construct the path name to user specific tmp directory
162 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
237 // return the user name for the given user id
268 warning("Could not determine user name: %s\n",
284 // return the name of the user that owns the process identified by vmid.
287 // store file for the specified vmid and returns the user name, as determined
288 // by the user name suffix of the hsperfdata_<username> directory name.
320 // to determine the user name for the process id.
390 char* user = strchr(dentry->d_name, '_') + 1;
393 oldest_user = NEW_C_HEAP_ARRAY(char, strlen(user)+1, mtInternal);
395 strcpy(oldest_user, user);
413 // return the name of the user that owns the JVM indicated by the given vmid.
442 // get the user name for the effective user id of the process
466 // shared memory region for the given user name and vmid.
491 // we don't expect to find directories in the user temp directory, we
528 // the named user temporary directory. It scans the named directory
536 // open the user temp directory
552 // for this user may start and/or terminate during this search and
587 // process should be in a different user specific directory.
600 // make the user specific temporary directory. Returns true if
641 // This method also creates the user specific temporary directory, if
646 // make the user temporary directory
679 // open the shared memory file for the given user and vmid. returns
840 static void mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemoryMode mode, char** addr, size_t* sizep, TRAPS) {
873 if (user == NULL || strlen(user) == 0) {
877 luser = user;
882 "Could not map vmid to user Name");
906 if (luser != user) FREE_C_HEAP_ARRAY(char, luser, mtInternal);
990 // If user specifies PerfDataSaveFile, it will save the performance data
1021 void PerfMemory::attach(const char* user, int vmid, PerfMemoryMode mode, char** addrp, size_t* sizep, TRAPS) {
1029 mmap_attach_shared(user, vmid, mode, addrp, sizep, CHECK);