Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 3 of 3) sorted by relevance

/ipc/
Dutil.c103 ids->seq = 0; in ipc_init_ids()
257 new->seq = ids->seq++; in ipc_addid()
258 if (ids->seq > IPCID_SEQ_MAX) in ipc_addid()
259 ids->seq = 0; in ipc_addid()
261 new->seq = ipcid_to_seqx(next_id); in ipc_addid()
265 new->id = ipc_buildid(id, new->seq); in ipc_addid()
521 out->seq = in->seq; in kernel_to_ipc64_perm()
540 out->seq = in->seq; in ipc64_perm_to_ipc_perm()
866 struct seq_file *seq = file->private_data; in sysvipc_proc_release() local
867 struct ipc_proc_iter *iter = seq->private; in sysvipc_proc_release()
Dutil.h158 static inline int ipc_buildid(int id, int seq) in ipc_buildid() argument
160 return SEQ_MULTIPLIER * seq + id; in ipc_buildid()
165 return uid / SEQ_MULTIPLIER != ipcp->seq; in ipc_checkid()
Dcompat.c49 unsigned short seq; member
169 err |= __put_user(p64->seq, &up64->seq); in __put_compat_ipc64_perm()
190 err |= __put_user(p->seq, &uip->seq); in __put_compat_ipc_perm()