Searched refs:ac (Results 1 – 2 of 2) sorted by relevance
415 static void fill_ac(acct_t *ac) in fill_ac() argument425 memset(ac, 0, sizeof(acct_t)); in fill_ac()427 ac->ac_version = ACCT_VERSION | ACCT_BYTEORDER; in fill_ac()428 strlcpy(ac->ac_comm, current->comm, sizeof(ac->ac_comm)); in fill_ac()436 ac->ac_etime = encode_float(elapsed); in fill_ac()438 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()446 ac->ac_etime_hi = etime >> 16; in fill_ac()447 ac->ac_etime_lo = (u16) etime; in fill_ac()451 ac->ac_btime = get_seconds() - elapsed; in fill_ac()453 ac->ac_ahz = AHZ; in fill_ac()[all …]
215 struct auditd_connection *ac; in auditd_test_task() local218 ac = rcu_dereference(auditd_conn); in auditd_test_task()219 rc = (ac && ac->pid == task_tgid(task) ? 1 : 0); in auditd_test_task()264 const struct auditd_connection *ac; in auditd_pid_vnr() local267 ac = rcu_dereference(auditd_conn); in auditd_pid_vnr()268 if (!ac || !ac->pid) in auditd_pid_vnr()271 pid = pid_vnr(ac->pid); in auditd_pid_vnr()474 struct auditd_connection *ac; in auditd_conn_free() local476 ac = container_of(rcu, struct auditd_connection, rcu); in auditd_conn_free()477 put_pid(ac->pid); in auditd_conn_free()[all …]