Home
last modified time | relevance | path

Searched refs:ltype (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_lock.c212 uint32_t ltype; in smb2_locks() local
243 ltype = SMB_LOCK_TYPE_READONLY; in smb2_locks()
250 ltype = SMB_LOCK_TYPE_READWRITE; in smb2_locks()
255 ltype, timeout); in smb2_locks()
290 uint32_t ltype; in smb2_lock_blocking() local
299 ltype = SMB_LOCK_TYPE_READONLY; in smb2_lock_blocking()
303 ltype = SMB_LOCK_TYPE_READWRITE; in smb2_lock_blocking()
317 status = smb_lock_range(sr, lk->Offset, lk->Length, pid, ltype, 0); in smb2_lock_blocking()
324 pid, ltype, timeout); in smb2_lock_blocking()
H A Dsmb_locking_andx.c253 uint32_t ltype; in smb_com_locking_andx() local
286 ltype = SMB_LOCK_TYPE_READONLY; in smb_com_locking_andx()
288 ltype = SMB_LOCK_TYPE_READWRITE; in smb_com_locking_andx()
392 ltype, timeout); in smb_com_locking_andx()
/illumos-gate/usr/src/tools/smatch/src/
H A Devaluate.c486 struct symbol *ltype, in restricted_binop_type() argument
492 if (ltype == rtype) { in restricted_binop_type()
493 ctype = ltype; in restricted_binop_type()
495 if (unfoul(ltype) == rtype) in restricted_binop_type()
496 ctype = ltype; in restricted_binop_type()
498 if (unfoul(rtype) == ltype) in restricted_binop_type()
502 if (!restricted_value(right, ltype)) in restricted_binop_type()
503 ctype = ltype; in restricted_binop_type()
543 struct symbol *ltype, in usual_conversions() argument
556 return bigger_int_type(ltype, rtype); in usual_conversions()
[all …]
H A Dsparse-llvm.c646 LLVMTypeRef ltype = LLVMTypeOf(lhs); in output_op_compare() local
647 rhs = LLVMBuildPtrToInt(fn->builder, rhs, ltype, ""); in output_op_compare()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c190 char ltype; /* filetype */ member
1094 if ((flist[i]->ltype == 'd' && dflg == 0) || fflg) in main()
1174 if (ap->ltype == 'd' && strcmp(ap->ln.lname, ".") && in pdirectory()
1273 (p->ltype != 'b' && p->ltype != 'c') ? in pentry()
1277 (void) putchar(p->ltype); in pentry()
1316 if (p->ltype == 'b' || p->ltype == 'c') { in pentry()
1352 if (pflg && p->ltype == 'd') in pentry()
1356 if (p->ltype == 'd') in pentry()
1358 else if (p->ltype == 'D') in pentry()
1360 else if (p->ltype == 'p') in pentry()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dprocset.h131 #define setprocset(psp, op, ltype, lid, rtype, rid) \ argument
133 (psp)->p_lidtype = (ltype); \
/illumos-gate/usr/src/common/ctf/
H A Dctf_types.c723 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_cmp() argument
727 if (ltype < rtype) in ctf_type_cmp()
729 else if (ltype > rtype) in ctf_type_cmp()
737 if (CTF_TYPE_ISPARENT(ltype) && lfp->ctf_parent != NULL) in ctf_type_cmp()
759 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, in ctf_type_compat() argument
767 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) in ctf_type_compat()
770 ltype = ctf_type_resolve(lfp, ltype); in ctf_type_compat()
771 lkind = ctf_type_kind(lfp, ltype); in ctf_type_compat()
777 (ltp = ctf_lookup_by_id(&lfp, ltype)) == NULL || in ctf_type_compat()
786 return (ctf_type_encoding(lfp, ltype, &le) == 0 && in ctf_type_compat()
[all …]
H A Dctf_create.c1541 ctf_id_t ltype = ctf_type_resolve(fp, lmd->dmd_type); in ctf_add_member() local
1549 if (ctf_type_encoding(fp, ltype, &linfo) != CTF_ERR) in ctf_add_member()
1551 else if ((lsize = ctf_type_size(fp, ltype)) != CTF_ERR) in ctf_add_member()
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dutil.c141 flock_reinit(struct flock *flp, int ltype) in flock_reinit() argument
144 flp->l_type = ltype; in flock_reinit()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dpos4obj.c366 __pos4obj_lock(const char *name, const char *ltype) in __pos4obj_lock() argument
372 if ((dfile = __pos4obj_name(name, ltype)) == NULL) { in __pos4obj_lock()
/illumos-gate/usr/src/cmd/tsol/tninfo/
H A Dtninfo.c93 l_to_str(const m_label_t *l, char **str, int ltype) in l_to_str() argument
95 if (label_to_str(l, str, ltype, DEF_NAMES) != 0) in l_to_str()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb1.c73 uint8_t ltype = 0;
84 ltype |= SMB_LOCKING_ANDX_SHARED_LOCK;
87 ltype |= SMB_LOCKING_ANDX_LARGE_FILES;
97 mb_put_uint8(mbp, ltype); /* locktype */
/illumos-gate/usr/src/cmd/awk/
H A Db.c426 f->re[info(v)].ltype = type(v); in cfoll()
986 if ((k = f->re[p[i]].ltype) != FINAL) { in cgoto()
1066 if (f->re[i].ltype == CCL || f->re[i].ltype == NCCL) in freefa()
H A Dawk.h289 long ltype; /* long avoids pointer warnings on 64-bit */ member
/illumos-gate/usr/src/test/os-tests/tests/oclo/
H A Doclo.c436 int ltype = SOCK_STREAM, atype = 0; in oclo_accept_common() local
441 ltype |= SOCK_CLOEXEC; in oclo_accept_common()
443 ltype |= SOCK_CLOFORK; in oclo_accept_common()
450 lsock = socket(PF_INET, ltype, 0); in oclo_accept_common()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_parser.c335 ctf_id_t ltype = lp->dn_type; in dt_type_promote() local
340 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); in dt_type_promote()
355 ltype = lbase = DT_INT_TYPE(dtp); in dt_type_promote()
394 *otype = ltype; in dt_type_promote()
3917 ctf_id_t ltype, rtype; in dt_cook_op2() local
3923 ltype = ctf_type_resolve(lp->dn_ctfp, lp->dn_type); in dt_cook_op2()
3924 lkind = ctf_type_kind(lp->dn_ctfp, ltype); in dt_cook_op2()
4242 ctf_id_t ltype = ctf_type_resolve(lctfp, dnp->dn_type); in dt_cook_inline() local
4248 if (ctf_type_kind(lctfp, ltype) == CTF_K_POINTER) { in dt_cook_inline()
4249 ltype = ctf_type_reference(lctfp, ltype); in dt_cook_inline()
[all …]
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_merge.c1463 ctf_id_t ltype; in ctf_merge_merge() local
1522 ltype = out->ctf_typemax; in ctf_merge_merge()
1523 if ((out->ctf_flags & LCTF_CHILD) && ltype != 0) in ctf_merge_merge()
1524 ltype += CTF_CHILD_START; in ctf_merge_merge()
1527 ctf_add_label(out, cmh->cmh_label, ltype, 0) != 0) { in ctf_merge_merge()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv.c8937 int16_t ltype; in rfs4_do_lock() local
8974 ltype = F_RDLCK; in rfs4_do_lock()
8984 ltype = F_WRLCK; in rfs4_do_lock()
8988 ltype = F_UNLCK; in rfs4_do_lock()
8990 flock.l_type = ltype; in rfs4_do_lock()
9658 int ltype; in rfs4_op_lockt() local
9716 ltype = F_RDLCK; in rfs4_op_lockt()
9720 ltype = F_WRLCK; in rfs4_op_lockt()
9746 flk.l_type = ltype; in rfs4_op_lockt()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dfiles.c1295 uchar_t ltype = ELF_ST_TYPE(lsym->st_info); in process_capinfo() local
1297 DYNSORT_COUNT(lsdp, lsym, ltype, --); in process_capinfo()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c4617 zfs_deleg_who_type_t ltype = l->who_perm.who_type; in who_perm_compare() local
4619 int lweight = who_type2weight(ltype); in who_perm_compare()