Home
last modified time | relevance | path

Searched refs:sib (Results 1 – 25 of 25) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_idmap.c48 static int smb_idmap_batch_binsid(smb_idmap_batch_t *sib);
73 smb_idmap_batch_t sib; in smb_idmap_getsid() local
76 stat = smb_idmap_batch_create(&sib, 1, SMB_IDMAP_ID2SID); in smb_idmap_getsid()
80 stat = smb_idmap_batch_getsid(sib.sib_idmaph, &sib.sib_maps[0], in smb_idmap_getsid()
84 smb_idmap_batch_destroy(&sib); in smb_idmap_getsid()
89 stat = smb_idmap_batch_getmappings(&sib, NULL); in smb_idmap_getsid()
92 smb_idmap_batch_destroy(&sib); in smb_idmap_getsid()
96 *sid = smb_sid_dup(sib.sib_maps[0].sim_sid); in smb_idmap_getsid()
98 smb_idmap_batch_destroy(&sib); in smb_idmap_getsid()
111 smb_idmap_batch_t sib; in smb_idmap_getid() local
[all …]
H A Dsmb_acl.c253 smb_acl_bgm_error(smb_idmap_batch_t *sib, smb_idmap_t *sim) in smb_acl_bgm_error() argument
256 if ((sib->sib_flags & SMB_IDMAP_SKIP_ERRS) != 0) in smb_acl_bgm_error()
259 if ((sib->sib_flags & SMB_IDMAP_ID2SID) != 0) { in smb_acl_bgm_error()
270 if ((sib->sib_flags & SMB_IDMAP_SID2ID) != 0) { in smb_acl_bgm_error()
292 smb_idmap_batch_t sib; in smb_acl_from_zfs() local
296 idm_stat = smb_idmap_batch_create(&sib, zacl->acl_cnt, in smb_acl_from_zfs()
306 if (smb_fsacl_getsids(&sib, zacl) != IDMAP_SUCCESS) { in smb_acl_from_zfs()
307 smb_idmap_batch_destroy(&sib); in smb_acl_from_zfs()
313 sim = sib.sib_maps; in smb_acl_from_zfs()
334 smb_idmap_batch_destroy(&sib); in smb_acl_from_zfs()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_idmap.c52 static int smb_idmap_batch_binsid(smb_idmap_batch_t *sib);
77 smb_idmap_batch_t sib; in smb_idmap_getsid() local
80 stat = smb_idmap_batch_create(&sib, 1, SMB_IDMAP_ID2SID); in smb_idmap_getsid()
84 stat = smb_idmap_batch_getsid(sib.sib_idmaph, &sib.sib_maps[0], in smb_idmap_getsid()
88 smb_idmap_batch_destroy(&sib); in smb_idmap_getsid()
93 stat = smb_idmap_batch_getmappings(&sib, NULL); in smb_idmap_getsid()
96 smb_idmap_batch_destroy(&sib); in smb_idmap_getsid()
100 *sid = smb_sid_dup(sib.sib_maps[0].sim_sid); in smb_idmap_getsid()
102 smb_idmap_batch_destroy(&sib); in smb_idmap_getsid()
115 smb_idmap_batch_t sib; in smb_idmap_getid() local
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_idmap.c72 static int smb_idmap_batch_binsid(smb_idmap_batch_t *sib);
184 smb_idmap_batch_create(smb_idmap_batch_t *sib, uint16_t nmap, int flags) in smb_idmap_batch_create() argument
186 ASSERT(sib != NULL); in smb_idmap_batch_create()
188 bzero(sib, sizeof (smb_idmap_batch_t)); in smb_idmap_batch_create()
190 sib->sib_idmaph = kidmap_get_create(curzone); in smb_idmap_batch_create()
192 sib->sib_flags = flags; in smb_idmap_batch_create()
193 sib->sib_nmap = nmap; in smb_idmap_batch_create()
194 sib->sib_size = nmap * sizeof (smb_idmap_t); in smb_idmap_batch_create()
195 sib->sib_maps = kmem_zalloc(sib->sib_size, KM_SLEEP); in smb_idmap_batch_create()
208 smb_idmap_batch_destroy(smb_idmap_batch_t *sib) in smb_idmap_batch_destroy() argument
[all …]
H A Dsmb_acl.c298 smb_acl_bgm_error(smb_idmap_batch_t *sib, smb_idmap_t *sim) in smb_acl_bgm_error() argument
301 if ((sib->sib_flags & SMB_IDMAP_SKIP_ERRS) != 0) in smb_acl_bgm_error()
304 if ((sib->sib_flags & SMB_IDMAP_ID2SID) != 0) { in smb_acl_bgm_error()
315 if ((sib->sib_flags & SMB_IDMAP_SID2ID) != 0) { in smb_acl_bgm_error()
337 smb_idmap_batch_t sib; in smb_acl_from_zfs() local
341 idm_stat = smb_idmap_batch_create(&sib, zacl->acl_cnt, in smb_acl_from_zfs()
351 if (smb_fsacl_getsids(&sib, zacl) != IDMAP_SUCCESS) { in smb_acl_from_zfs()
352 smb_idmap_batch_destroy(&sib); in smb_acl_from_zfs()
358 sim = sib.sib_maps; in smb_acl_from_zfs()
379 smb_idmap_batch_destroy(&sib); in smb_acl_from_zfs()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_logon.c71 smb_token_idmap(smb_token_t *token, smb_idmap_batch_t *sib) in smb_token_idmap() argument
78 if (!token || !sib) in smb_token_idmap()
81 sim = sib->sib_maps; in smb_token_idmap()
90 stat = smb_idmap_batch_getid(sib->sib_idmaph, sim++, in smb_token_idmap()
99 stat = smb_idmap_batch_getid(sib->sib_idmaph, sim++, in smb_token_idmap()
109 stat = smb_idmap_batch_getid(sib->sib_idmaph, sim++, id->i_sid, in smb_token_idmap()
119 stat = smb_idmap_batch_getid(sib->sib_idmaph, sim, in smb_token_idmap()
133 smb_token_bgm_error(smb_idmap_batch_t *sib, smb_idmap_t *sim) in smb_token_bgm_error() argument
156 smb_idmap_batch_t sib; in smb_token_sids2ids() local
167 stat = smb_idmap_batch_create(&sib, nmaps, in smb_token_sids2ids()
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Dsmt.c213 yield_to_vcpu(cpu_t *sib, zoneid_t zoneid) in yield_to_vcpu() argument
215 cpu_smt_t *sibsmt = &sib->cpu_m.mcpu_smt; in yield_to_vcpu()
230 if (curthread->t_pri < sib->cpu_dispatch_pri) in yield_to_vcpu()
233 if (curthread->t_pri == sib->cpu_dispatch_pri && in yield_to_vcpu()
234 CPU->cpu_id < sib->cpu_id) in yield_to_vcpu()
534 cpu_t *sib; in smt_should_run() local
539 if ((sib = cp->cpu_m.mcpu_smt.cs_sib) == NULL) in smt_should_run()
542 sibstate = sib->cpu_m.mcpu_smt.cs_state; in smt_should_run()
630 cpu_t *sib; in smt_disable() local
637 if ((sib = smt_find_sibling(cp)) == NULL) in smt_disable()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c202 di_node_t devtree, dnode, sib; in bay_update_tnode() local
222 sib = di_child_node(dnode); in bay_update_tnode()
223 while (sib != DI_NODE_NIL) { in bay_update_tnode()
224 if (phy == x86pi_phy(mod, sib)) in bay_update_tnode()
226 sib = di_sibling_node(sib); in bay_update_tnode()
253 rv = bay_pgroups(mod, tnodep, &dnode, &sib, minor_name); in bay_update_tnode()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c559 for (; dnp = get_node(hdp, nidx); nidx = dnp->sib) { in read_nodes()
573 assert(strcmp(path, "/") != 0 || dnp->sib == DB_NIL); in read_nodes()
604 for (; dmp = get_minor(hdp, nidx); nidx = dmp->sib) { in read_minors()
646 for (; dlp = get_link(hdp, nidx); nidx = dlp->sib) { in read_links()
808 for (; cnp != NULL; cnp = cnp->sib) { in write_nodes()
841 dnp->sib = pdnp->child; in write_nodes()
877 for (; cmnp != NULL; cmnp = cmnp->sib) { in write_minors()
898 dmp->sib = pdnp->minor; in write_minors()
932 for (; clp != NULL; clp = clp->sib) { in write_links()
963 dlp->sib = pdmp->link; in write_links()
[all …]
H A Ddevinfo_devlink.h62 uint32_t sib; /* next link for same minor */ member
68 uint32_t sib; /* next minor for same node */ member
74 uint32_t sib; /* node's sibling */ member
104 struct cache_link *sib; /* next link for same minor */ member
112 struct cache_minor *sib; /* next minor for same node */ member
119 struct cache_node *sib; /* node's sibling */ member
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathaccess.c52 int sib = a && a[0] == '.' && a[1] == '.' && a[2] == 0; in pathaccess_20100601() local
60 if ((!sib || *path == '/') && pathexists(path, mode)) in pathaccess_20100601()
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c329 spppstr_t *sib; in sppp_close() local
363 sib = ppa->ppa_streams; in sppp_close()
364 while (sib != NULL) { in sppp_close()
365 ASSERT(ppa == sib->sps_ppa); in sppp_close()
366 sib->sps_npmode = NPMODE_DROP; in sppp_close()
367 sib->sps_flags &= ~(SPS_PIOATTACH | SPS_CACHED); in sppp_close()
374 if ((mp = sib->sps_hangup) != NULL) { in sppp_close()
375 sib->sps_hangup = NULL; in sppp_close()
385 putnext(sib->sps_rq, mp); in sppp_close()
387 qenable(WR(sib->sps_rq)); in sppp_close()
[all …]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dfasttrap_isa.c73 #define FASTTRAP_SIB_SCALE(sib) (((sib) >> 6) & 0x3) argument
74 #define FASTTRAP_SIB_INDEX(sib) (((sib) >> 3) & 0x7) argument
75 #define FASTTRAP_SIB_BASE(sib) ((sib) & 0x7) argument
377 uint8_t sib = instr[start + 2]; in fasttrap_tracepoint_init() local
378 uint_t index = FASTTRAP_SIB_INDEX(sib); in fasttrap_tracepoint_init()
379 uint_t base = FASTTRAP_SIB_BASE(sib); in fasttrap_tracepoint_init()
381 tp->ftt_scale = FASTTRAP_SIB_SCALE(sib); in fasttrap_tracepoint_init()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c735 di_node_t sib; in pci_children_instantiate() local
747 sib = di_child_node(pn); in pci_children_instantiate()
748 while (sib != DI_NODE_NIL) { in pci_children_instantiate()
749 np = did_create(mod, sib, board, bridge, rc, bover); in pci_children_instantiate()
758 sib = di_sibling_node(sib); in pci_children_instantiate()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_dwarf.c1403 Dwarf_Die sib, tdie; in ctf_dwarf_fixup_sou() local
1465 if ((ret = ctf_dwarf_sib(cup, memb, &sib)) != 0) in ctf_dwarf_fixup_sou()
1467 memb = sib; in ctf_dwarf_fixup_sou()
1560 Dwarf_Die sib; in ctf_dwarf_create_sou() local
1578 if ((ret = ctf_dwarf_sib(cup, child, &sib)) != 0) in ctf_dwarf_create_sou()
1580 child = sib; in ctf_dwarf_create_sou()
1716 Dwarf_Die sib; in ctf_dwarf_create_array_range() local
1721 if ((ret = ctf_dwarf_sib(cup, range, &sib)) != 0) in ctf_dwarf_create_array_range()
1723 if (sib != NULL) { in ctf_dwarf_create_array_range()
1725 if ((ret = ctf_dwarf_create_array_range(cup, sib, &id, in ctf_dwarf_create_array_range()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregdecomp.c52 for (y = x->sib; y; y = y->sib) in detrie()
H A Dreglib.h480 struct Trie_node_s* sib; member
H A Dregcomp.c181 triedrop(disc, e->sib); in triedrop()
1957 if (!t->sib && !(t->sib = trienode(env, *s))) in insert()
1959 t = t->sib; in insert()
2998 } while (x = x->sib); in bmtrie()
H A Dregnexec.c511 if (!(x = x->sib)) in parsetrie()
526 if (!(x = x->sib)) in parsetrie()
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddllscan.c27 char* sib[3]; \
102 info.sibling = info.sib; in dllinfo()
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_xml.c1068 xmlNodePtr sib; in create_shadow() local
1113 for (sib = node->children; sib != NULL; sib = sib->next) { in create_shadow()
1114 if ((ret = create_shadow(sib)) != PO_SUCCESS) in create_shadow()
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sse.c68 int i, dbl, simd, rex, modrm, sib, r; in __fex_parse_sse() local
261 sib = ip[i++]; in __fex_parse_sse()
262 if ((sib & 7) == 5 && (modrm >> 6) == 0) { in __fex_parse_sse()
268 r = ((rex & 1) << 3) | (sib & 7); in __fex_parse_sse()
271 r = ((rex & 2) << 2) | ((sib >> 3) & 7); in __fex_parse_sse()
275 << (sib >> 6); in __fex_parse_sse()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c2836 uintptr_t cld, sib; in proc_walk_step() local
2847 sib = (uintptr_t)pr.p_sibling; in proc_walk_step()
2851 goto sib; in proc_walk_step()
2870 goto sib; in proc_walk_step()
2883 sib: in proc_walk_step()
2891 if (sib != 0 && mdb_ctf_vread(&pr, "proc_t", "mdb_walk_proc_t", in proc_walk_step()
2892 sib, 0) == -1) { in proc_walk_step()
2894 addr, sib); in proc_walk_step()
2895 sib = 0; in proc_walk_step()
2898 if ((wsp->walk_addr = sib) == 0) { in proc_walk_step()
/illumos-gate/usr/src/cmd/spell/
H A Dlist20560 sib
/illumos-gate/usr/src/cmd/look/
H A Dwords20561 sib