Home
last modified time | relevance | path

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

12345678910>>...13

/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsvcctl_svc.c333 struct svcctl_Close *param = arg; in svcctl_s_Close() local
334 ndr_hdid_t *id = (ndr_hdid_t *)&param->handle; in svcctl_s_Close()
338 bzero(&param->result_handle, sizeof (svcctl_handle_t)); in svcctl_s_Close()
339 param->status = ERROR_SUCCESS; in svcctl_s_Close()
349 struct svcctl_ControlService *param = arg; in svcctl_s_ControlService() local
350 ndr_hdid_t *id = (ndr_hdid_t *)&param->service_handle; in svcctl_s_ControlService()
358 bzero(param, sizeof (struct svcctl_ControlService)); in svcctl_s_ControlService()
359 param->status = ERROR_INVALID_HANDLE; in svcctl_s_ControlService()
366 bzero(param, sizeof (struct svcctl_ControlService)); in svcctl_s_ControlService()
367 param->status = ERROR_INVALID_HANDLE; in svcctl_s_ControlService()
[all …]
H A Dsamr_svc.c229 struct samr_Connect *param = arg; in samr_s_Connect() local
234 bcopy(id, &param->handle, sizeof (samr_handle_t)); in samr_s_Connect()
235 param->status = 0; in samr_s_Connect()
237 bzero(&param->handle, sizeof (samr_handle_t)); in samr_s_Connect()
238 param->status = NT_SC_ERROR(NT_STATUS_NO_MEMORY); in samr_s_Connect()
253 struct samr_CloseHandle *param = arg; in samr_s_CloseHandle() local
254 ndr_hdid_t *id = (ndr_hdid_t *)&param->handle; in samr_s_CloseHandle()
258 bzero(&param->result_handle, sizeof (samr_handle_t)); in samr_s_CloseHandle()
259 param->status = 0; in samr_s_CloseHandle()
274 struct samr_LookupDomain *param = arg; in samr_s_LookupDomain() local
[all …]
H A Dlsar_svc.c164 struct mslsa_OpenPolicy2 *param = arg; in lsarpc_s_OpenDomainHandle() local
168 bcopy(id, &param->domain_handle, sizeof (mslsa_handle_t)); in lsarpc_s_OpenDomainHandle()
169 param->status = NT_STATUS_SUCCESS; in lsarpc_s_OpenDomainHandle()
171 bzero(&param->domain_handle, sizeof (mslsa_handle_t)); in lsarpc_s_OpenDomainHandle()
172 param->status = NT_SC_ERROR(NT_STATUS_NO_MEMORY); in lsarpc_s_OpenDomainHandle()
189 struct mslsa_CloseHandle *param = arg; in lsarpc_s_CloseHandle() local
190 ndr_hdid_t *id = (ndr_hdid_t *)&param->handle; in lsarpc_s_CloseHandle()
194 bzero(&param->result_handle, sizeof (param->result_handle)); in lsarpc_s_CloseHandle()
195 param->status = NT_STATUS_SUCCESS; in lsarpc_s_CloseHandle()
206 struct mslsa_QuerySecurityObject *param = arg; in lsarpc_s_QuerySecurityObject() local
[all …]
H A Dspoolss_svc.c230 struct spoolss_OpenPrinter *param = arg; in spoolss_s_OpenPrinter() local
231 char *name = (char *)param->printer_name; in spoolss_s_OpenPrinter()
236 bzero(&param->handle, sizeof (spoolss_handle_t)); in spoolss_s_OpenPrinter()
237 param->status = ERROR_INVALID_PRINTER_NAME; in spoolss_s_OpenPrinter()
245 bzero(&param->handle, sizeof (spoolss_handle_t)); in spoolss_s_OpenPrinter()
246 param->status = ERROR_NOT_ENOUGH_MEMORY; in spoolss_s_OpenPrinter()
250 bcopy(id, &param->handle, sizeof (spoolss_handle_t)); in spoolss_s_OpenPrinter()
251 param->status = 0; in spoolss_s_OpenPrinter()
259 struct spoolss_StartPagePrinter *param = arg; in spoolss_s_StartPagePrinter() local
261 param->status = ERROR_SUCCESS; in spoolss_s_StartPagePrinter()
[all …]
H A Dwinreg_svc.c316 struct winreg_OpenHKCR *param = arg; in winreg_s_OpenHK() local
322 bzero(&param->handle, sizeof (winreg_handle_t)); in winreg_s_OpenHK()
323 param->status = ERROR_ACCESS_DENIED; in winreg_s_OpenHK()
325 bcopy(id, &param->handle, sizeof (winreg_handle_t)); in winreg_s_OpenHK()
326 param->status = ERROR_SUCCESS; in winreg_s_OpenHK()
344 struct winreg_Close *param = arg; in winreg_s_Close() local
345 ndr_hdid_t *id = (ndr_hdid_t *)&param->handle; in winreg_s_Close()
351 bzero(&param->result_handle, sizeof (winreg_handle_t)); in winreg_s_Close()
352 param->status = ERROR_SUCCESS; in winreg_s_Close()
396 struct winreg_CreateKey *param = arg; in winreg_s_CreateKey() local
[all …]
H A Dsrvsvc_svc.c252 srvsvc_NetConnectEnum_t *param = arg; in srvsvc_s_NetConnectEnum() local
264 qualifier = (char *)param->qualifier; in srvsvc_s_NetConnectEnum()
271 param->total_entries = srvsvc_open_connections(qualtype, qualifier); in srvsvc_s_NetConnectEnum()
272 if (param->total_entries == 0) { in srvsvc_s_NetConnectEnum()
273 bzero(param, sizeof (srvsvc_NetConnectEnum_t)); in srvsvc_s_NetConnectEnum()
274 param->status = ERROR_SUCCESS; in srvsvc_s_NetConnectEnum()
280 se.se_level = param->info.level; in srvsvc_s_NetConnectEnum()
281 se.se_ntotal = param->total_entries; in srvsvc_s_NetConnectEnum()
284 if (param->pref_max_len == SMB_SRVSVC_MAXPREFLEN || in srvsvc_s_NetConnectEnum()
285 param->pref_max_len > SMB_SRVSVC_MAXBUFLEN) in srvsvc_s_NetConnectEnum()
[all …]
H A Deventlog_svc.c266 struct logr_EventLogClose *param = arg; in logr_s_EventLogClose() local
267 ndr_hdid_t *id = (ndr_hdid_t *)&param->handle; in logr_s_EventLogClose()
271 bzero(&param->result_handle, sizeof (logr_handle_t)); in logr_s_EventLogClose()
272 param->status = NT_SC_ERROR(NT_STATUS_INVALID_HANDLE); in logr_s_EventLogClose()
278 bzero(&param->result_handle, sizeof (logr_handle_t)); in logr_s_EventLogClose()
279 param->status = NT_STATUS_SUCCESS; in logr_s_EventLogClose()
293 struct logr_EventLogOpen *param = arg; in logr_s_EventLogOpen() local
299 bzero(&param->handle, sizeof (logr_handle_t)); in logr_s_EventLogOpen()
300 param->status = NT_SC_ERROR(NT_STATUS_ACCESS_DENIED); in logr_s_EventLogOpen()
304 if (param->log_name.length != 0) in logr_s_EventLogOpen()
[all …]
H A Dnetdfs.c171 struct netdfs_getver *param = arg; in netdfs_s_getver() local
173 param->version = DFS_MANAGER_VERSION_NT4; in netdfs_s_getver()
186 netdfs_add_t *param = arg; in netdfs_s_add() local
189 const char *uncpath = (const char *)param->dfs_path; in netdfs_s_add()
194 param->status = ERROR_ACCESS_DENIED; in netdfs_s_add()
198 if (param->server == NULL || param->share == NULL) { in netdfs_s_add()
199 param->status = ERROR_INVALID_PARAMETER; in netdfs_s_add()
203 switch (param->flags) { in netdfs_s_add()
210 param->status = ERROR_INVALID_PARAMETER; in netdfs_s_add()
216 param->status = status; in netdfs_s_add()
[all …]
H A Dwkssvc_svc.c72 struct mslm_NetWkstaGetInfo *param = arg; in wkssvc_s_NetWkstaGetInfo() local
92 bzero(param, sizeof (struct mslm_NetWkstaGetInfo)); in wkssvc_s_NetWkstaGetInfo()
93 param->status = ERROR_NOT_ENOUGH_MEMORY; in wkssvc_s_NetWkstaGetInfo()
99 param->result.level = param->level; in wkssvc_s_NetWkstaGetInfo()
100 param->result.bufptr.nullptr = (void *)rb; in wkssvc_s_NetWkstaGetInfo()
102 switch (param->level) { in wkssvc_s_NetWkstaGetInfo()
152 param->result.bufptr.nullptr = 0; in wkssvc_s_NetWkstaGetInfo()
158 bzero(param, sizeof (struct mslm_NetWkstaGetInfo)); in wkssvc_s_NetWkstaGetInfo()
159 param->status = status; in wkssvc_s_NetWkstaGetInfo()
171 struct mslm_NetWkstaTransportEnum *param = arg; in wkssvc_s_NetWkstaTransportEnum() local
[all …]
H A Dmlsvc_netr.c90 struct netr_ServerReqChallenge *param = arg; in netr_s_ServerReqChallenge() local
92 bzero(param, sizeof (struct netr_ServerReqChallenge)); in netr_s_ServerReqChallenge()
93 param->status = NT_SC_ERROR(NT_STATUS_ACCESS_DENIED); in netr_s_ServerReqChallenge()
104 struct netr_ServerAuthenticate2 *param = arg; in netr_s_ServerAuthenticate2() local
106 bzero(param, sizeof (struct netr_ServerAuthenticate2)); in netr_s_ServerAuthenticate2()
107 param->status = NT_SC_ERROR(NT_STATUS_ACCESS_DENIED); in netr_s_ServerAuthenticate2()
118 struct netr_PasswordSet *param = arg; in netr_s_ServerPasswordSet() local
120 bzero(param, sizeof (struct netr_PasswordSet)); in netr_s_ServerPasswordSet()
121 param->status = NT_SC_ERROR(NT_STATUS_ACCESS_DENIED); in netr_s_ServerPasswordSet()
132 struct netr_SamLogon *param = arg; in netr_s_SamLogon() local
[all …]
H A Dmsgsvc_svc.c71 msgsvcsend_NetrSendMessage_t *param = arg; in msgsvcsend_NetrSendMessage() local
74 param->status = ERROR_ACCESS_DENIED; in msgsvcsend_NetrSendMessage()
78 if (param->from == NULL || param->to == NULL || param->text == NULL) { in msgsvcsend_NetrSendMessage()
79 param->status = ERROR_INVALID_PARAMETER; in msgsvcsend_NetrSendMessage()
83 syslog(LOG_INFO, "%s to %s: %s", param->from, param->to, param->text); in msgsvcsend_NetrSendMessage()
84 param->status = ERROR_SUCCESS; in msgsvcsend_NetrSendMessage()
/titanic_41/usr/src/lib/libpkg/common/
H A Dckparam.c42 static int proc_name(char *param, char *value);
43 static int proc_arch(char *param, char *value);
44 static int proc_version(char *param, char *value);
45 static int proc_category(char *param, char *value);
46 static int bad_first_char(char *param, char *value);
47 static int not_alnum(char *param, char *pt);
48 static int not_ascii(char *param, char *pt);
49 static int too_long(char *param, char *pt, int len);
50 static int isnull(char *param, char *pt);
53 ckparam(char *param, char *val) in ckparam() argument
[all …]
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_write.c49 smb_rw_param_t *param; in smb_pre_write() local
54 param = kmem_zalloc(sizeof (smb_rw_param_t), KM_SLEEP); in smb_pre_write()
55 sr->arg.rw = param; in smb_pre_write()
56 param->rw_magic = SMB_RW_MAGIC; in smb_pre_write()
60 param->rw_count = (uint32_t)count; in smb_pre_write()
61 param->rw_offset = (uint64_t)off; in smb_pre_write()
62 param->rw_vdb.vdb_uio.uio_loffset = (offset_t)param->rw_offset; in smb_pre_write()
65 smb_rw_param_t *, param); in smb_pre_write()
82 smb_rw_param_t *param = sr->arg.rw; in smb_com_write() local
93 if (param->rw_count == 0) { in smb_com_write()
[all …]
H A Dsmb_read.c60 smb_rw_param_t *param; in smb_pre_read() local
66 param = kmem_zalloc(sizeof (smb_rw_param_t), KM_SLEEP); in smb_pre_read()
67 sr->arg.rw = param; in smb_pre_read()
72 param->rw_offset = (uint64_t)off_low; in smb_pre_read()
73 param->rw_count = (uint32_t)count; in smb_pre_read()
74 param->rw_mincnt = 0; in smb_pre_read()
77 smb_rw_param_t *, param); in smb_pre_read()
94 smb_rw_param_t *param = sr->arg.rw; in smb_com_read() local
106 if (param->rw_count > SMB_CORE_READ_MAX) in smb_com_read()
107 param->rw_count = SMB_CORE_READ_MAX; in smb_com_read()
[all …]
/titanic_41/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ep_free.c72 DAT_EP_PARAM *param; in dapl_ep_free() local
78 param = &ep_ptr->param; in dapl_ep_free()
85 ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECTED)) { in dapl_ep_free()
91 if (ep_ptr->param.ep_state == DAT_EP_STATE_RESERVED || in dapl_ep_free()
92 ep_ptr->param.ep_state == DAT_EP_STATE_PASSIVE_CONNECTION_PENDING || in dapl_ep_free()
93 ep_ptr->param.ep_state == in dapl_ep_free()
97 ep_ptr->param.ep_state, ep_ptr); in dapl_ep_free()
116 if (ep_ptr->param.ep_state == DAT_EP_STATE_CONNECTED || in dapl_ep_free()
117 ep_ptr->param.ep_state == DAT_EP_STATE_ACTIVE_CONNECTION_PENDING || in dapl_ep_free()
118 ep_ptr->param.ep_state == DAT_EP_STATE_COMPLETION_PENDING || in dapl_ep_free()
[all …]
H A Ddapl_cr_accept.c100 cr_ptr->param.local_ep_handle != NULL)) { in dapl_cr_accept()
124 ep_handle = cr_ptr->param.local_ep_handle; in dapl_cr_accept()
125 if ((((DAPL_EP *) ep_handle)->param.ep_state != in dapl_cr_accept()
127 (((DAPL_EP *)ep_handle)->param.ep_state != in dapl_cr_accept()
133 if (((DAPL_EP *)ep_handle)->param.ep_state != in dapl_cr_accept()
153 if ((ep_ptr->param.pz_handle == NULL) || in dapl_cr_accept()
154 DAPL_BAD_HANDLE(ep_ptr->param.pz_handle, DAPL_MAGIC_PZ) || in dapl_cr_accept()
155 (ep_ptr->param.connect_evd_handle == NULL) || in dapl_cr_accept()
156 DAPL_BAD_HANDLE(ep_ptr->param.connect_evd_handle, DAPL_MAGIC_EVD) || in dapl_cr_accept()
157 !(((DAPL_EVD *)ep_ptr->param.connect_evd_handle)->evd_flags & in dapl_cr_accept()
[all …]
H A Ddapl_rmr_bind.c112 if (DAT_EP_STATE_CONNECTED != ep_ptr->param.ep_state) { in dapli_rmr_bind_fuse()
119 dapl_mr_get_address(lmr->param.region_desc, lmr->param.mem_type), in dapli_rmr_bind_fuse()
120 lmr->param.length, in dapli_rmr_bind_fuse()
129 if ((ep_ptr->param.pz_handle != lmr->param.pz_handle) || in dapli_rmr_bind_fuse()
130 (ep_ptr->param.pz_handle != rmr->param.pz_handle)) { in dapli_rmr_bind_fuse()
136 ep_ptr->param.ep_attr.request_completion_flags, completion_flags) || in dapli_rmr_bind_fuse()
138 ep_ptr->param.ep_attr.request_completion_flags, completion_flags) || in dapli_rmr_bind_fuse()
141 ep_ptr->param.ep_attr.request_completion_flags, completion_flags)) { in dapli_rmr_bind_fuse()
172 rmr->param.mem_priv = mem_priv; in dapli_rmr_bind_fuse()
173 rmr->param.lmr_triplet = *lmr_triplet; in dapli_rmr_bind_fuse()
[all …]
H A Ddapl_ep_connect.c118 if (DAPL_BAD_HANDLE(ep_ptr->param.connect_evd_handle, DAPL_MAGIC_EVD)) { in dapl_ep_connect()
139 if (ep_ptr->param.pz_handle == NULL || in dapl_ep_connect()
140 DAPL_BAD_HANDLE(ep_ptr->param.pz_handle, DAPL_MAGIC_PZ)) { in dapl_ep_connect()
196 if (ep_ptr->param.pz_handle == NULL || in dapl_ep_connect()
197 DAPL_BAD_HANDLE(ep_ptr->param.pz_handle, DAPL_MAGIC_PZ) || in dapl_ep_connect()
198 ep_ptr->param.connect_evd_handle == NULL || in dapl_ep_connect()
199 DAPL_BAD_HANDLE(ep_ptr->param.connect_evd_handle, in dapl_ep_connect()
201 !(((DAPL_EVD *)ep_ptr->param.connect_evd_handle)->evd_flags & in dapl_ep_connect()
203 (ep_ptr->param.recv_evd_handle != DAT_HANDLE_NULL && in dapl_ep_connect()
204 (DAPL_BAD_HANDLE(ep_ptr->param.recv_evd_handle, in dapl_ep_connect()
[all …]
H A Ddapl_ep_modify.c117 alloc_ep.param.ep_attr = ep_attr1; in dapl_ep_modify()
119 alloc_ep.param.pz_handle = ep_param->pz_handle; in dapl_ep_modify()
123 alloc_ep.param.recv_evd_handle = ep_param->recv_evd_handle; in dapl_ep_modify()
127 alloc_ep.param.request_evd_handle = in dapl_ep_modify()
132 alloc_ep.param.connect_evd_handle = in dapl_ep_modify()
201 new_ep.param.ep_attr = ep_attr2; in dapl_ep_modify()
209 new_ep.param.pz_handle = alloc_ep.param.pz_handle; in dapl_ep_modify()
210 new_ep.param.recv_evd_handle = alloc_ep.param.recv_evd_handle; in dapl_ep_modify()
211 new_ep.param.request_evd_handle = alloc_ep.param.request_evd_handle; in dapl_ep_modify()
212 new_ep.param.connect_evd_handle = alloc_ep.param.connect_evd_handle; in dapl_ep_modify()
[all …]
H A Ddapl_ep_disconnect.c102 if (ep_ptr->param.ep_state != DAT_EP_STATE_CONNECTED && in dapl_ep_disconnect()
103 ep_ptr->param.ep_state != DAT_EP_STATE_DISCONNECTED && in dapl_ep_disconnect()
104 ep_ptr->param.ep_state != DAT_EP_STATE_ACTIVE_CONNECTION_PENDING && in dapl_ep_disconnect()
105 ep_ptr->param.ep_state != DAT_EP_STATE_COMPLETION_PENDING && in dapl_ep_disconnect()
106 ep_ptr->param.ep_state != DAT_EP_STATE_DISCONNECT_PENDING) { in dapl_ep_disconnect()
113 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECTED) { in dapl_ep_disconnect()
123 if (ep_ptr->param.ep_state == DAT_EP_STATE_DISCONNECT_PENDING && in dapl_ep_disconnect()
134 if (ep_ptr->param.ep_state == DAT_EP_STATE_ACTIVE_CONNECTION_PENDING || in dapl_ep_disconnect()
135 ep_ptr->param.ep_state == DAT_EP_STATE_COMPLETION_PENDING) { in dapl_ep_disconnect()
139 ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECT_PENDING; in dapl_ep_disconnect()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c169 parse_probe_param(char *argv[], probe_param_t *param) in parse_probe_param() argument
176 param->probe = ping_probe; in parse_probe_param()
182 param->probe = tcp_probe; in parse_probe_param()
183 param->proto = IPPROTO_TCP; in parse_probe_param()
185 param->probe = udp_probe; in parse_probe_param()
186 param->proto = IPPROTO_UDP; in parse_probe_param()
193 if (inet_pton(AF_INET6, argv[1], &param->vip) == 0) in parse_probe_param()
198 IN6_INADDR_TO_V4MAPPED(&v4addr, &param->vip); in parse_probe_param()
209 if (inet_pton(AF_INET6, argv[2], &param->srv_addr) == 0) in parse_probe_param()
214 IN6_INADDR_TO_V4MAPPED(&v4addr, &param->srv_addr); in parse_probe_param()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Ddefaults.c77 char *param, *pastv6, *value, *end; in df_build_cache() local
110 if ((param = strchr(entry, '.')) == NULL) { in df_build_cache()
111 pastv6 = param = entry; in df_build_cache()
113 pastv6 = ++param; in df_build_cache()
114 if (strncasecmp(param, "v6.", 3) == 0) in df_build_cache()
130 for (; *param != '\0'; param++) in df_build_cache()
131 *param = toupper(*param); in df_build_cache()
160 df_get_string(const char *if_name, boolean_t isv6, uint_t param) in df_get_string() argument
170 if (param >= (sizeof (defaults) / sizeof (*defaults))) in df_get_string()
179 return (defaults[param].df_default); in df_get_string()
[all …]
/titanic_41/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_param.c67 uint_t param, presence, subparam; in param_attr_init() local
76 param = DCAM1394_PARAM_CAP_POWER_CTRL; in param_attr_init()
79 param_attr_set(param_attr, param, subparam, attr_bmap); in param_attr_init()
84 param = DCAM1394_PARAM_CAP_VID_MODE; in param_attr_init()
89 param_attr_set(param_attr, param, subparam, attr_bmap); in param_attr_init()
97 for (param = DCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_0; in param_attr_init()
98 param <= DCAM1394_PARAM_CAP_FRAME_RATE_VID_MODE_5; param++) { in param_attr_init()
102 param_attr_set(param_attr, param, subparam, attr_bmap); in param_attr_init()
109 param = DCAM1394_PARAM_POWER; in param_attr_init()
118 param_attr_set(param_attr, param, subparam, attr_bmap); in param_attr_init()
[all …]
/titanic_41/usr/src/lib/libcontract/common/
H A Dlibcontract.c71 ct_param_t param; in ct_tmpl_set_internal() local
74 param.ctpm_id = id; in ct_tmpl_set_internal()
75 param.ctpm_size = sizeof (uint64_t); in ct_tmpl_set_internal()
76 param.ctpm_value = &param_value; in ct_tmpl_set_internal()
77 if (ioctl(fd, CT_TSET, &param) == -1) in ct_tmpl_set_internal()
86 ct_param_t param; in ct_tmpl_set_internal_string() local
90 param.ctpm_id = id; in ct_tmpl_set_internal_string()
91 param.ctpm_size = strlen(value) + 1; in ct_tmpl_set_internal_string()
92 param.ctpm_value = (void *)value; in ct_tmpl_set_internal_string()
93 if (ioctl(fd, CT_TSET, &param) == -1) in ct_tmpl_set_internal_string()
[all …]
/titanic_41/usr/src/cmd/nscd/
H A Dnscd_door.c198 door_arg_t param; in _nscd_doorcall_fd() local
215 param.rbuf = (char *)dptr; in _nscd_doorcall_fd()
216 param.rsize = ndata; in _nscd_doorcall_fd()
217 param.data_ptr = (char *)dptr; in _nscd_doorcall_fd()
218 param.data_size = adata; in _nscd_doorcall_fd()
219 param.desc_ptr = NULL; in _nscd_doorcall_fd()
220 param.desc_num = 0; in _nscd_doorcall_fd()
221 ret = door_call(fd, &param); in _nscd_doorcall_fd()
238 ndata = param.rsize; in _nscd_doorcall_fd()
239 dptr = (void *)param.data_ptr; in _nscd_doorcall_fd()
[all …]

12345678910>>...13