Searched refs:newseg (Results 1 – 2 of 2) sorted by relevance
91 static int newseg(struct ipc_namespace *, struct ipc_params *);600 static int newseg(struct ipc_namespace *ns, struct ipc_params *params) in newseg() function730 .getnew = newseg, in ksys_shmget()
2227 unsigned int *newseg, bool new_sec, int dir) in get_new_segment() argument2232 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment()2233 unsigned int old_zoneno = GET_ZONE_FROM_SEG(sbi, *newseg); in get_new_segment()2241 if (!new_sec && ((*newseg + 1) % sbi->segs_per_sec)) { in get_new_segment()2243 GET_SEG_FROM_SEC(sbi, hint + 1), *newseg + 1); in get_new_segment()2309 *newseg = segno; in get_new_segment()