Home
last modified time | relevance | path

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

123

/trueos/sys/netsmb/
HDsmb_conn.c157 vcspec->ssp = NULL; in smb_sm_lookupint()
160 &vcspec->ssp); in smb_sm_lookupint()
183 struct smb_share *ssp = NULL; in smb_sm_lookup() local
207 error = smb_share_create(vcp, shspec, scred, &ssp); in smb_sm_lookup()
210 error = smb_smb_treeconnect(ssp, scred); in smb_sm_lookup()
212 vcspec->ssp = ssp; in smb_sm_lookup()
214 smb_share_put(ssp, scred); in smb_sm_lookup()
612 smb_vc_cmpshare(struct smb_share *ssp, struct smb_sharespec *dp) in smb_vc_cmpshare() argument
616 if (strcmp(ssp->ss_name, dp->name) != 0) in smb_vc_cmpshare()
619 if (ssp->ss_uid != dp->owner) in smb_vc_cmpshare()
[all …]
HDsmb_dev.c146 struct smb_share *ssp; in sdp_trydestroy() local
158 ssp = sdp->sd_share; in sdp_trydestroy()
159 if (ssp != NULL) { in sdp_trydestroy()
160 smb_share_lock(ssp); in sdp_trydestroy()
161 smb_share_rele(ssp, scred); in sdp_trydestroy()
179 struct smb_share *ssp; in nsmb_dev_ioctl() local
213 (struct smbioc_oshare*)data, scred, &ssp); in nsmb_dev_ioctl()
216 sdp->sd_share = ssp; in nsmb_dev_ioctl()
217 smb_share_unlock(ssp); in nsmb_dev_ioctl()
263 if ((ssp = sdp->sd_share) == NULL) { in nsmb_dev_ioctl()
[all …]
HDsmb_conn.h289 #define SMBS_ST_LOCK(ssp) smb_sl_lock(&(ssp)->ss_stlock) argument
290 #define SMBS_ST_LOCKPTR(ssp) (&(ssp)->ss_stlock) argument
291 #define SMBS_ST_UNLOCK(ssp) smb_sl_unlock(&(ssp)->ss_stlock) argument
311 #define SSTOVC(ssp) CPTOVC(((ssp)->obj.co_parent)) argument
312 #define SSTOCP(ssp) (&(ssp)->obj) argument
329 struct smb_share *ssp; /* returned */ member
392 int smb_share_access(struct smb_share *ssp, struct smb_cred *scred, mode_t mode);
393 void smb_share_ref(struct smb_share *ssp);
394 void smb_share_rele(struct smb_share *ssp, struct smb_cred *scred);
395 int smb_share_get(struct smb_share *ssp, struct smb_cred *scred);
[all …]
HDsmb_smb.c499 smb_smb_treeconnect(struct smb_share *ssp, struct smb_cred *scred) in smb_smb_treeconnect() argument
511 if (SSTOVC(ssp)->vc_hflags2 & SMB_FLAGS2_UNICODE) { in smb_smb_treeconnect()
512 vcp = SSTOVC(ssp); in smb_smb_treeconnect()
518 ssp->ss_tid = SMB_TID_UNKNOWN; in smb_smb_treeconnect()
519 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_TREE_CONNECT_ANDX, scred, &rqp); in smb_smb_treeconnect()
539 smb_share_getpass(ssp)/*, in smb_smb_treeconnect()
542 strncpy(pbuf, smb_share_getpass(ssp), in smb_smb_treeconnect()
569 pp = ssp->ss_name; in smb_smb_treeconnect()
571 pp = smb_share_typename(ssp->ss_type); in smb_smb_treeconnect()
578 ssp->ss_tid = rqp->sr_rptid; in smb_smb_treeconnect()
[all …]
HDsmb_usr.c151 *sspp = vspec.ssp; in smb_usr_lookup()
186 struct smb_share *ssp; in smb_usr_openshare() local
193 error = smb_vc_lookupshare(vcp, &shspec, scred, &ssp); in smb_usr_openshare()
195 *sspp = ssp; in smb_usr_openshare()
200 error = smb_share_create(vcp, &shspec, scred, &ssp); in smb_usr_openshare()
203 error = smb_smb_treeconnect(ssp, scred); in smb_usr_openshare()
205 smb_share_put(ssp, scred); in smb_usr_openshare()
207 *sspp = ssp; in smb_usr_openshare()
212 smb_usr_simplerequest(struct smb_share *ssp, struct smbioc_rq *dp, in smb_usr_simplerequest() argument
235 error = smb_rq_init(rqp, SSTOCP(ssp), dp->ioc_cmd, scred); in smb_usr_simplerequest()
[all …]
HDsmb_rq.c183 struct smb_share *ssp = rqp->sr_share; in smb_rq_enqueue() local
186 if (ssp == NULL || rqp->sr_cred == &rqp->sr_vc->vc_iod->iod_scred) { in smb_rq_enqueue()
190 SMBS_ST_LOCK(ssp); in smb_rq_enqueue()
191 if (ssp->ss_flags & SMBS_RECONNECTING) { in smb_rq_enqueue()
192 msleep(&ssp->ss_vcgenid, SMBS_ST_LOCKPTR(ssp), in smb_rq_enqueue()
198 if (smb_share_valid(ssp) || (ssp->ss_flags & SMBS_CONNECTED) == 0) { in smb_rq_enqueue()
199 SMBS_ST_UNLOCK(ssp); in smb_rq_enqueue()
201 SMBS_ST_UNLOCK(ssp); in smb_rq_enqueue()
203 SMBIOD_EV_TREECONNECT | SMBIOD_EV_SYNC, ssp); in smb_rq_enqueue()
282 struct smb_share *ssp = NULL; in smb_rq_getenv() local
[all …]
HDsmb_iod.c188 smb_iod_treeconnect(struct smbiod *iod, struct smb_share *ssp) in smb_iod_treeconnect() argument
201 SMBS_ST_LOCK(ssp); in smb_iod_treeconnect()
202 ssp->ss_flags |= SMBS_RECONNECTING; in smb_iod_treeconnect()
203 SMBS_ST_UNLOCK(ssp); in smb_iod_treeconnect()
204 error = smb_smb_treeconnect(ssp, &iod->iod_scred); in smb_iod_treeconnect()
205 SMBS_ST_LOCK(ssp); in smb_iod_treeconnect()
206 ssp->ss_flags &= ~SMBS_RECONNECTING; in smb_iod_treeconnect()
207 SMBS_ST_UNLOCK(ssp); in smb_iod_treeconnect()
208 wakeup(&ssp->ss_vcgenid); in smb_iod_treeconnect()
217 struct smb_share *ssp = rqp->sr_share; in smb_iod_sendrq() local
[all …]
HDsmb_dev.h189 int smb_usr_simplerequest(struct smb_share *ssp, struct smbioc_rq *data,
191 int smb_usr_t2request(struct smb_share *ssp, struct smbioc_t2rq *data,
/trueos/share/examples/sunrpc/sort/
HDsort_proc.c13 sort_1(ssp) in sort_1() argument
14 struct sortstrings *ssp; in sort_1()
21 qsort(ssp->ss.ss_val, ssp->ss.ss_len, sizeof (char *), comparestrings);
22 ss_res.ss.ss_len = ssp->ss.ss_len;
23 ss_res.ss.ss_val = (str *)malloc(ssp->ss.ss_len * sizeof(str *));
24 bcopy(ssp->ss.ss_val, ss_res.ss.ss_val,
25 ssp->ss.ss_len * sizeof(str *));
/trueos/gnu/lib/libssp/
HDMakefile12 .PATH: ${SRCDIR} ${SRCDIR}/ssp
14 LIB= ssp
18 SRCS= ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
26 VERSION_MAP= ${SRCDIR}/ssp.map
29 INCS= ssp.h string.h stdio.h unistd.h
30 INCSDIR=${INCLUDEDIR}/ssp
32 CLEANFILES= ssp.h
33 ssp.h: ssp.h.in
/trueos/contrib/gcclibs/libssp/
HDMakefile.am15 version_arg = -Wl,--version-script=$(srcdir)/ssp.map
16 version_dep = $(srcdir)/ssp.map
28 nobase_libsubinclude_HEADERS = ssp/ssp.h ssp/string.h ssp/stdio.h ssp/unistd.h
31 ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
41 ssp-local.c
HDMakefile.in50 $(top_srcdir)/ssp/ssp.h.in ChangeLog
64 CONFIG_CLEAN_FILES = ssp/ssp.h
75 am_libssp_la_OBJECTS = ssp.lo gets-chk.lo memcpy-chk.lo memmove-chk.lo \
80 am_libssp_nonshared_la_OBJECTS = libssp_nonshared_la-ssp-local.lo
221 @LIBSSP_USE_SYMVER_TRUE@version_arg = -Wl,--version-script=$(srcdir)/ssp.map
223 @LIBSSP_USE_SYMVER_TRUE@version_dep = $(srcdir)/ssp.map
227 nobase_libsubinclude_HEADERS = ssp/ssp.h ssp/string.h ssp/stdio.h ssp/unistd.h
229 ssp.c gets-chk.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
240 ssp-local.c
346 ssp/ssp.h: $(top_builddir)/config.status $(top_srcdir)/ssp/ssp.h.in
[all …]
HDconfigure.ac7 AC_CONFIG_SRCDIR(ssp.c)
173 AC_CONFIG_FILES([Makefile ssp/ssp.h])
/trueos/sys/fs/smbfs/
HDsmbfs_smb.c89 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_lockandx() local
98 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_LOCKING_ANDX, scred, &rqp); in smbfs_smb_lockandx()
127 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_lock() local
129 if (SMB_DIALECT(SSTOVC(ssp)) < SMB_DIALECT_LANMAN1_0) in smbfs_smb_lock()
139 smbfs_query_info_fs(struct smb_share *ssp, struct statfs *sbp, in smbfs_query_info_fs() argument
149 error = smb_t2_alloc(SSTOCP(ssp), SMB_TRANS2_QUERY_FS_INFORMATION, in smbfs_query_info_fs()
180 smbfs_query_info_alloc(struct smb_share *ssp, struct statfs *sbp, in smbfs_query_info_alloc() argument
190 error = smb_t2_alloc(SSTOCP(ssp), SMB_TRANS2_QUERY_FS_INFORMATION, in smbfs_query_info_alloc()
221 smbfs_query_info_disk(struct smb_share *ssp, struct statfs *sbp, in smbfs_query_info_disk() argument
229 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_QUERY_INFORMATION_DISK, in smbfs_query_info_disk()
[all …]
HDsmbfs_vfsops.c135 struct smb_share *ssp = NULL; in smbfs_mount() local
162 error = smb_dev2share(v, SMBM_EXEC, scred, &ssp, &dev); in smbfs_mount()
171 vcp = SSTOVC(ssp); in smbfs_mount()
172 smb_share_unlock(ssp); in smbfs_mount()
173 mp->mnt_stat.f_iosize = SSTOVC(ssp)->vc_txmax; in smbfs_mount()
175 smp->sm_share = ssp; in smbfs_mount()
226 strncpy(pc, ssp->ss_name, pe - pc - 2); in smbfs_mount()
244 if (ssp) in smbfs_mount()
245 smb_share_put(ssp, scred); in smbfs_mount()
391 struct smb_share *ssp = smp->sm_share; in smbfs_statfs() local
[all …]
/trueos/sys/dev/isci/scil/
HDscic_sds_remote_node_context.c185 rnc->ssp.remote_node_index = this_rnc->remote_node_index; in scic_sds_remote_node_context_construct_buffer()
186 rnc->ssp.remote_node_port_width = this_rnc->device->device_port_width; in scic_sds_remote_node_context_construct_buffer()
187 rnc->ssp.logical_port_index = in scic_sds_remote_node_context_construct_buffer()
190 rnc->ssp.remote_sas_address_hi = SCIC_SWAP_DWORD(this_rnc->device->device_address.high); in scic_sds_remote_node_context_construct_buffer()
191 rnc->ssp.remote_sas_address_lo = SCIC_SWAP_DWORD(this_rnc->device->device_address.low); in scic_sds_remote_node_context_construct_buffer()
193 rnc->ssp.nexus_loss_timer_enable = TRUE; in scic_sds_remote_node_context_construct_buffer()
194 rnc->ssp.check_bit = FALSE; in scic_sds_remote_node_context_construct_buffer()
195 rnc->ssp.is_valid = FALSE; in scic_sds_remote_node_context_construct_buffer()
196 rnc->ssp.is_remote_node_context = TRUE; in scic_sds_remote_node_context_construct_buffer()
197 rnc->ssp.function_number = 0; in scic_sds_remote_node_context_construct_buffer()
[all …]
HDscic_sds_port.c667 rnc->ssp.remote_sas_address_hi = 0; in scic_sds_port_construct_dummy_rnc()
668 rnc->ssp.remote_sas_address_lo = 0; in scic_sds_port_construct_dummy_rnc()
670 rnc->ssp.remote_node_index = rni; in scic_sds_port_construct_dummy_rnc()
671 rnc->ssp.remote_node_port_width = 1; in scic_sds_port_construct_dummy_rnc()
672 rnc->ssp.logical_port_index = this_port->physical_port_index; in scic_sds_port_construct_dummy_rnc()
674 rnc->ssp.nexus_loss_timer_enable = FALSE; in scic_sds_port_construct_dummy_rnc()
675 rnc->ssp.check_bit = FALSE; in scic_sds_port_construct_dummy_rnc()
676 rnc->ssp.is_valid = TRUE; in scic_sds_port_construct_dummy_rnc()
677 rnc->ssp.is_remote_node_context = TRUE; in scic_sds_port_construct_dummy_rnc()
678 rnc->ssp.function_number = 0; in scic_sds_port_construct_dummy_rnc()
[all …]
/trueos/contrib/llvm/patches/
HDpatch-r267981-llvm-r211435-fix-ppc-fctiduz.diff49 -define void @fptoui_float_i64(float %a) nounwind ssp {
61 define void @fptoui_double_i32(double %a) nounwind ssp {
68 -define void @fptoui_double_i64(double %a) nounwind ssp {
92 define void @sitofp_single_i64(i64 %a, float %b) nounwind ssp {
109 define void @sitofp_single_i32(i32 %a, float %b) nounwind ssp {
126 define void @sitofp_single_i16(i16 %a, float %b) nounwind ssp {
146 define void @sitofp_single_i8(i8 %a) nounwind ssp {
166 define void @sitofp_double_i32(i32 %a, double %b) nounwind ssp {
182 define void @sitofp_double_i64(i64 %a, double %b) nounwind ssp {
198 define void @sitofp_double_i16(i16 %a, double %b) nounwind ssp {
[all …]
/trueos/usr.bin/mail/
HDutil.c249 static int ssp; /* Top of file stack */ variable
275 if (ssp >= SSTACK_SIZE - 1) { in source()
280 sstack[ssp].s_file = input; in source()
281 sstack[ssp].s_cond = cond; in source()
282 sstack[ssp].s_loading = loading; in source()
283 ssp++; in source()
298 if (ssp <= 0) { in unstack()
306 ssp--; in unstack()
307 cond = sstack[ssp].s_cond; in unstack()
308 loading = sstack[ssp].s_loading; in unstack()
[all …]
/trueos/gnu/lib/libssp/libssp_nonshared/
HDMakefile6 .PATH: ${GCCLIB}/libssp ${GCCLIB}/libssp/ssp
12 SRCS= ssp-local.c
/trueos/contrib/nvi/regex/
HDengine.c320 register const RCHAR_T *ssp; /* start of string matched by subsubRE */ local
404 ssp = sp;
405 oldssp = ssp;
407 sep = slow(m, ssp, rest, ssub, esub);
408 if (sep == NULL || sep == ssp)
410 oldssp = ssp; /* on to next try */
411 ssp = sep;
415 sep = ssp;
416 ssp = oldssp;
419 assert(slow(m, ssp, sep, ssub, esub) == rest);
[all …]
/trueos/lib/libc/tests/ssp/
HDMakefile5 TESTSDIR= ${TESTSBASE}/lib/libc/ssp
14 CFLAGS.h_raw+= --param ssp-buffer-size=1
/trueos/lib/libc/regex/
HDengine.c385 const char *ssp; /* start of string matched by subsubRE */ in dissect() local
469 ssp = sp; in dissect()
470 oldssp = ssp; in dissect()
472 sep = slow(m, ssp, rest, ssub, esub); in dissect()
473 if (sep == NULL || sep == ssp) in dissect()
475 oldssp = ssp; /* on to next try */ in dissect()
476 ssp = sep; in dissect()
480 sep = ssp; in dissect()
481 ssp = oldssp; in dissect()
484 assert(slow(m, ssp, sep, ssub, esub) == rest); in dissect()
[all …]
/trueos/sys/gnu/dts/arm/
HDimx23-olinuxino.dts27 ssp0: ssp@80010000 {
61 ssp1: ssp@80034000 {
/trueos/contrib/llvm/lib/Support/
HDregengine.inc307 const char *ssp; /* start of string matched by subsubRE */
309 const char *oldssp; /* previous ssp */
391 ssp = sp;
392 oldssp = ssp;
394 sep = slow(m, ssp, rest, ssub, esub);
395 if (sep == NULL || sep == ssp)
397 oldssp = ssp; /* on to next try */
398 ssp = sep;
402 sep = ssp;
403 ssp = oldssp;
[all …]

123