Lines Matching defs:user

144 // a user specific temporary directory located in the /tmp file system,
148 // return the user specific temporary directory name.
152 static char* get_user_tmp_dir(const char* user) {
156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
159 // construct the path name to user specific tmp directory
160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
235 // return the user name for the given user id
277 warning("Could not determine user name: %s\n",
293 // return the name of the user that owns the process identified by vmid.
296 // store file for the specified vmid and returns the user name, as determined
297 // by the user name suffix of the hsperfdata_<username> directory name.
329 // to determine the user name for the process id.
399 char* user = strchr(dentry->d_name, '_') + 1;
402 oldest_user = NEW_C_HEAP_ARRAY(char, strlen(user)+1, mtInternal);
404 strcpy(oldest_user, user);
422 // return the name of the user that owns the JVM indicated by the given vmid.
429 // shared memory region for the given user name and vmid.
454 // we don't expect to find directories in the user temp directory, we
491 // the named user temporary directory. It scans the named directory
499 // open the user temp directory
515 // for this user may start and/or terminate during this search and
550 // process should be in a different user specific directory.
563 // make the user specific temporary directory. Returns true if
604 // This method also creates the user specific temporary directory, if
609 // make the user temporary directory
664 // open the shared memory file for the given user and vmid. returns
825 static void mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemoryMode mode, char** addr, size_t* sizep, TRAPS) {
858 if (user == NULL || strlen(user) == 0) {
862 luser = user;
867 "Could not map vmid to user Name");
891 if (luser != user) FREE_C_HEAP_ARRAY(char, luser, mtInternal);
975 // If user specifies PerfDataSaveFile, it will save the performance data
1006 void PerfMemory::attach(const char* user, int vmid, PerfMemoryMode mode, char** addrp, size_t* sizep, TRAPS) {
1014 mmap_attach_shared(user, vmid, mode, addrp, sizep, CHECK);