Home
last modified time | relevance | path

Searched refs:lk (Results 26 – 50 of 63) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dvwscanf.c50 rmutex_t *lk; in _vwscanf_c89() local
53 FLOCKFILE(lk, stdin); in _vwscanf_c89()
63 FUNLOCKFILE(lk); in _vwscanf_c89()
74 rmutex_t *lk; in _vfwscanf_c89() local
77 FLOCKFILE(lk, iop); in _vfwscanf_c89()
88 FUNLOCKFILE(lk); in _vfwscanf_c89()
H A Dflush.c578 rmutex_t *lk; in fflush() local
583 FUNLOCKFILE(lk); in fflush()
598 rmutex_t *lk; in _fflush_l_iops() local
700 rmutex_t *lk; in fclose() local
708 FUNLOCKFILE(lk); in fclose()
723 FUNLOCKFILE(lk); in fclose()
741 rmutex_t *lk; in fcloseall() local
772 FUNLOCKFILE(lk); in fcloseall()
813 if (lk != NULL && cancel_safe_mutex_trylock(lk) != 0) in getiop()
826 FUNLOCKFILE(lk); in getiop()
[all …]
H A Dftell.c55 rmutex_t *lk; in ftell_common() local
57 FLOCKFILE(lk, iop); in ftell_common()
85 FUNLOCKFILE(lk); in ftell_common()
93 FUNLOCKFILE(lk); in ftell_common()
H A Dsetbuf.c53 rmutex_t *lk; in setbuf() local
55 FLOCKFILE(lk, iop); in setbuf()
86 FUNLOCKFILE(lk); in setbuf()
94 FUNLOCKFILE(lk); in setbuf()
H A Dclearerr.c44 rmutex_t *lk; in clearerr() local
46 FLOCKFILE(lk, iop); in clearerr()
48 FUNLOCKFILE(lk); in clearerr()
H A Dgetline.c45 rmutex_t *lk; in getdelim() local
68 FLOCKFILE(lk, iop); in getdelim()
79 FUNLOCKFILE(lk); in getdelim()
93 FUNLOCKFILE(lk); in getdelim()
H A Dputw.c52 rmutex_t *lk; in putw() local
54 FLOCKFILE(lk, stream); in putw()
58 FUNLOCKFILE(lk); in putw()
H A Dgetw.c54 rmutex_t *lk; in getw() local
56 FLOCKFILE(lk, stream); in getw()
60 FUNLOCKFILE(lk); in getw()
H A Drewind.c45 rmutex_t *lk; in rewind() local
47 FLOCKFILE(lk, iop); in rewind()
49 FUNLOCKFILE(lk); in rewind()
H A Dgetc.c48 rmutex_t *lk; in getc() local
51 FLOCKFILE(lk, iop); in getc()
53 FUNLOCKFILE(lk); in getc()
H A Dfopen.c213 rmutex_t *lk; in freopen() local
220 FLOCKFILE(lk, iop); in freopen()
222 FUNLOCKFILE(lk); in freopen()
229 FLOCKFILE(lk, iop); in freopen()
243 FUNLOCKFILE(lk); in freopen()
H A Dputc.c48 rmutex_t *lk; in putc() local
51 FLOCKFILE(lk, iop); in putc()
53 FUNLOCKFILE(lk); in putc()
H A Dfwrite.c49 rmutex_t *lk; in fwrite() local
52 FLOCKFILE(lk, iop); in fwrite()
57 FUNLOCKFILE(lk); in fwrite()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dputws.c50 rmutex_t *lk; in putws() local
52 FLOCKFILE(lk, stdout); in putws()
55 FUNLOCKFILE(lk); in putws()
60 FUNLOCKFILE(lk); in putws()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dfwide.c41 rmutex_t *lk; in fwide() local
43 FLOCKFILE(lk, fp); in fwide()
48 FUNLOCKFILE(lk); in fwide()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_lock.c1110 struct smb_lock *lk = NULL; in smb_is_range_unlocked() local
1116 lk = smb_llist_head(llist_head); in smb_is_range_unlocked()
1117 while (lk) { in smb_is_range_unlocked()
1118 if (lk->l_length == 0) { in smb_is_range_unlocked()
1119 lk = smb_llist_next(llist_head, lk); in smb_is_range_unlocked()
1124 lk = smb_llist_next(llist_head, lk); in smb_is_range_unlocked()
1128 lk_end = lk->l_start + lk->l_length - 1; in smb_is_range_unlocked()
1129 lk_start = lk->l_start; in smb_is_range_unlocked()
1136 lk = smb_llist_next(llist_head, lk); in smb_is_range_unlocked()
1140 lk = smb_llist_next(llist_head, lk); in smb_is_range_unlocked()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky.c944 leak_bufctl_t *lk; in leaky_walk_step_common() local
946 if ((lk = lw->lkw_current) == NULL) { in leaky_walk_step_common()
947 if ((lk = lw->lkw_hash_next) == NULL) { in leaky_walk_step_common()
952 lk = lk_bufctl[lw->lkw_ndx++]; in leaky_walk_step_common()
958 lw->lkw_hash_next = lk->lkb_hash_next; in leaky_walk_step_common()
961 lw->lkw_current = lk->lkb_next; in leaky_walk_step_common()
962 return (lk); in leaky_walk_step_common()
968 leak_bufctl_t *lk; in leaky_walk_step() local
970 if ((lk = leaky_walk_step_common(wsp)) == NULL) in leaky_walk_step()
988 leak_bufctl_t *lk; in leaky_buf_walk_step() local
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c1355 int lk; local
1358 sqliteRandomness(sizeof(lk), &lk);
1359 lk = (lk & 0x7fffffff)%N_LOCKBYTE + 1;
1373 res = LockFile(id->h, FIRST_LOCKBYTE+lk, 0, 1, 0);
1378 id->locked = lk;
1391 int lk; local
1395 sqliteRandomness(sizeof(lk), &lk);
1396 lk = (lk & 0x7fffffff)%N_LOCKBYTE + 1;
1410 params.ioParam.ioPosOffset = FIRST_LOCKBYTE+lk;
1418 id->locked = lk;
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c514 struct devlks lk; /* Structure for writing a lock */ in appendlk() local
517 lk.lk_key = key; in appendlk()
518 (void) strcpy(lk.lk_alias, alias); in appendlk()
521 return (write(lkfilefd, &lk, in appendlk()
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dmemory.c237 new->lk = MC_LK(mc_decode); in add_bank_node()
294 intlv = ((bank->lk ^ 0xF) + 1); in display_us3_banks()
450 new->intlv = ((bank->lk ^ 0xF) + 1); in add_seg_node()
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmc-us3.c678 mcbank.mask = (~(bank->lk | ~(MADR_LK_MASK >> in mc_ioctl()
987 ifactor = (bank->lk ^ 0xF) + 1; in mc_offset_to_addr()
1027 ifactor = (bank->lk ^ 0xF) + 1; in mc_addr_to_offset()
1150 bank->uk)) || (~(~(lower_pa ^ bank->lm) | bank->lk)))) { in mc_get_mem_unum()
1263 bank->uk)) || (~(~(lower_pa ^ bank->lm) | bank->lk)))) { in mc_get_mem_offset()
1445 bankp->uk)) || (~(~(lower_pa ^ bankp->lm) | bankp->lk)))) { in mc_get_mem_info()
1595 uint64_t lk : 4; in mlayout_add() member
1637 ifactor = (mcreg._s.lk ^ 0xF) + 1; in mlayout_add()
1644 bank_curr->lk = mcreg._s.lk; in mlayout_add()
1668 idx, mcreg._s.lk, mcreg._s.uk, mcreg._s.um, ifactor, size, base)); in mlayout_add()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmc-us3.h94 uchar_t lk; /* Lower Mask field to mask match 4 PA[9:6] */ member
/illumos-gate/usr/src/cmd/troff/nroff.d/terms.d/
H A Db.300119 lk 1 |
H A Db.lp119 lk 1 |
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dcdt.h130 #define DTDISC(dc,ky,sz,lk,mkf,frf,cmpf,hshf,memf,evf) \ argument
131 ( (dc)->key = (int)(ky), (dc)->size = (int)(sz), (dc)->link = (int)(lk), \

123