Lines Matching refs:utx
251 _getutxid(struct _utmpx *U, const struct utmpx *utx)
257 if (utx->ut_type == EMPTY)
263 ux = _utmpx_working_copy(utx, &temp, 1);
276 getutxid(const struct utmpx *utx)
278 return _getutxid(__default_utx(), utx);
283 __getutxid(struct _utmpx *U, const struct utmpx *utx)
289 switch (utx->ut_type) {
296 if (U->ut.ut_type == utx->ut_type)
308 if (memcmp(U->ut.ut_id, utx->ut_id,
325 __getutxline(struct _utmpx *U, const struct utmpx *utx)
333 if (strncmp(U->ut.ut_line, utx->ut_line,
346 _getutxline(struct _utmpx *U, const struct utmpx *utx)
352 ret = __getutxline(U, utx);
359 getutxline(const struct utmpx *utx)
361 return _getutxline(__default_utx(), utx);
366 _pututxline(struct _utmpx *U, const struct utmpx *utx)
370 if (utx == NULL) {
377 if ((ux = __pututxline(__default_utx(), utx)) != NULL && __default_utx()->utfile_system) {
389 pututxline(const struct utmpx *utx)
391 return _pututxline(__default_utx(), utx);
395 __pututxline(struct _utmpx *U, const struct utmpx *utx)
421 ux = _utmpx_working_copy(utx, &temp, 0);
429 * utx->ut_type has any original mask bits, while
436 (utx->ut_type & UTMPX_DEAD_IF_CORRESPONDING_MASK)) {
458 * utx->ut_type has any original mask bits, while
465 (utx->ut_type & UTMPX_DEAD_IF_CORRESPONDING_MASK) &&