Searched refs:pos (Results 1 – 2 of 2) sorted by relevance
754 static struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos, in sysvipc_find_ipc() argument761 for (id = 0; id < pos && total < ids->in_use; id++) { in sysvipc_find_ipc()770 for (; pos < ipc_mni; pos++) { in sysvipc_find_ipc()771 ipc = idr_find(&ids->ipcs_idr, pos); in sysvipc_find_ipc()773 *new_pos = pos + 1; in sysvipc_find_ipc()784 static void *sysvipc_proc_next(struct seq_file *s, void *it, loff_t *pos) in sysvipc_proc_next() argument794 return sysvipc_find_ipc(&iter->ns->ids[iface->ids], *pos, pos); in sysvipc_proc_next()801 static void *sysvipc_proc_start(struct seq_file *s, loff_t *pos) in sysvipc_proc_start() argument816 if (*pos < 0) in sysvipc_proc_start()820 if (*pos == 0) in sysvipc_proc_start()[all …]
183 static inline void ipc_update_pid(struct pid **pos, struct pid *pid) in ipc_update_pid() argument185 struct pid *old = *pos; in ipc_update_pid()187 *pos = get_pid(pid); in ipc_update_pid()