Home
last modified time | relevance | path

Searched refs:ac (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dacct.c434 static void fill_ac(acct_t *ac) in fill_ac() argument
445 memset(ac, 0, sizeof(acct_t)); in fill_ac()
447 ac->ac_version = ACCT_VERSION | ACCT_BYTEORDER; in fill_ac()
448 strlcpy(ac->ac_comm, current->comm, sizeof(ac->ac_comm)); in fill_ac()
456 ac->ac_etime = encode_float(elapsed); in fill_ac()
458 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()
466 ac->ac_etime_hi = etime >> 16; in fill_ac()
467 ac->ac_etime_lo = (u16) etime; in fill_ac()
472 ac->ac_btime = clamp_t(time64_t, btime, 0, U32_MAX); in fill_ac()
474 ac->ac_ahz = AHZ; in fill_ac()
[all …]
Daudit.c221 struct auditd_connection *ac; in auditd_test_task() local
224 ac = rcu_dereference(auditd_conn); in auditd_test_task()
225 rc = (ac && ac->pid == task_tgid(task) ? 1 : 0); in auditd_test_task()
270 const struct auditd_connection *ac; in auditd_pid_vnr() local
273 ac = rcu_dereference(auditd_conn); in auditd_pid_vnr()
274 if (!ac || !ac->pid) in auditd_pid_vnr()
277 pid = pid_vnr(ac->pid); in auditd_pid_vnr()
478 struct auditd_connection *ac; in auditd_conn_free() local
480 ac = container_of(rcu, struct auditd_connection, rcu); in auditd_conn_free()
481 put_pid(ac->pid); in auditd_conn_free()
[all …]