Searched defs:ret_val (Results 1 - 25 of 113) sorted by relevance

12345

/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dsys_info.c42 char *ret_val; local
50 ret_val = strdup(host);
51 if (ret_val == NULL) {
60 return (ret_val);
H A Dnfs_nfssec.c76 char *ret_val; local
92 ret_val = strdup(defsecp.sc_name);
93 if (ret_val == NULL) {
98 return (ret_val);
H A Dcmd.c84 int ret_val; local
159 ret_val = 0;
160 return (ret_val);
184 char *ret_val; local
257 ret_val = cmd_retrieve_string(output[0], &err);
266 ret_val = cmd_retrieve_string(output[0], &err);
269 * Caller must free space allocated for ret_val with free()
271 return (ret_val);
292 char *ret_val; local
305 ret_val
[all...]
H A Dfileutil.c205 char **ret_val = NULL; local
210 ret_val = calloc(((*count) + 1), sizeof (char *));
211 if (ret_val != NULL) {
213 ret_val[i] = temp_array[i];
215 ret_val[*count] = strdup(line);
216 if (ret_val[*count] != NULL) {
221 *string_array = ret_val;
224 free(ret_val);
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_shmem.c50 prb_shmem_init(volatile shmem_msg_t **ret_val) argument
75 *ret_val = smp;
H A Dprb_child.c66 char * const *envp, prb_proc_ctl_t **ret_val)
197 prbstat = sync_child(childpid, smp, ret_val);
64 prb_child_create(const char *cmdname, char * const *cmdargs, const char *loption, const char *libtnfprobe_path, char * const *envp, prb_proc_ctl_t **ret_val) argument
H A Dopen.c55 tnfctl_handle_t **ret_val)
112 *ret_val = hdl;
131 tnfctl_pid_open(pid_t pid, tnfctl_handle_t **ret_val) argument
198 *ret_val = hdl;
216 tnfctl_handle_t **ret_val)
249 *ret_val = hdl;
258 tnfctl_kernel_open(tnfctl_handle_t **ret_val) argument
287 *ret_val = hdl;
52 tnfctl_exec_open(const char *pgm_name, char * const *args, char * const *envp, const char *ld_preload, const char *libtnfprobe_path, tnfctl_handle_t **ret_val) argument
215 tnfctl_indirect_open(void *prochandle, tnfctl_ind_config_t *config, tnfctl_handle_t **ret_val) argument
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsyscall.c92 int ret_val; local
642 ret_val = _syscall(syscallnum[sysnum], ap);
644 return (ret_val);
/illumos-gate/usr/src/lib/krb5/ss/
H A Derror.c24 register char *ret_val; local
29 ret_val = malloc((unsigned)
32 if (ret_val == (char *)NULL)
34 strcpy(ret_val, infop->subsystem_name);
35 return(ret_val);
40 ret_val = malloc((unsigned)sizeof(char) *
44 cp = ret_val;
55 return(ret_val);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dckparam.c56 int ret_val = 0; /* return value */ local
59 ret_val = proc_name(param, value);
62 ret_val = proc_arch(param, value);
65 ret_val = proc_version(param, value);
68 ret_val = proc_category(param, value);
72 return (ret_val);
78 int ret_val; local
80 if (!(ret_val = isnull(param, value))) {
81 ret_val += too_long(param, value, MAXLEN);
82 ret_val
91 int ret_val; local
110 int ret_val; local
124 int ret_val; local
[all...]
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_misc.c318 int ret_val = 0; local
336 ret_val = 0;
338 ret_val = (int)(max_input_size);
345 return (ret_val);
/illumos-gate/usr/src/lib/libsmedia/plugins/blkdev/common/
H A Db_generic.c83 int ret_val; local
110 ret_val = ioctl(handle->sm_fd, DKIOCGMEDIAINFO, &minfo);
111 if (ret_val < 0) {
113 return (ret_val);
115 ret_val = ioctl(handle->sm_fd, DKIOCGGEOM, &dkg);
116 if (ret_val < 0) {
118 return (ret_val);
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Duadmin.c107 uint8_t *ret_val = NULL; local
124 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) !=
126 update_flag = (*ret_val == 0) ? B_FALSE :
/illumos-gate/usr/src/cmd/smserverd/
H A Dmyaudit.c125 int ret_val; local
128 ret_val = door_cred(&client_cred);
129 if (ret_val == -1)
130 return (ret_val);
132 ret_val = auditon(A_GETPINFO_ADDR, (caddr_t)&door_dp->audit_ap,
134 if (ret_val == -1)
135 return (ret_val);
/illumos-gate/usr/src/cmd/sort/common/
H A Dstreams_wide.c129 int ret_val; local
177 ret_val = NEXT_LINE_INCOMPLETE;
185 ret_val = NEXT_LINE_COMPLETE;
191 return (ret_val);
H A Dstreams_stdio.c176 int ret_val; local
251 ret_val = NEXT_LINE_INCOMPLETE;
260 ret_val = NEXT_LINE_COMPLETE;
264 return (ret_val);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_nvram.c279 u32_t *ret_val,
322 *ret_val = val;
276 nvram_read_dword( lm_device_t *pdev, u32_t offset, u32_t *ret_val, u32_t nvram_flags) argument
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_workarounds.c79 s32 ret_val = E1000_SUCCESS; local
103 ret_val = -E1000_ERR_FIFO_WRAP;
108 ret_val = -E1000_ERR_FIFO_WRAP;
114 ret_val = -E1000_ERR_FIFO_WRAP;
135 return (ret_val);
200 s32 ret_val = E1000_SUCCESS; local
215 ret_val = e1000_phy_has_link_generic(hw, 1, 0, &link);
216 if (ret_val)
228 ret_val = E1000_SUCCESS;
237 ret_val
[all...]
/illumos-gate/usr/src/lib/libsmedia/library/common/
H A Dl_generic.c53 int32_t ret_val; local
55 ret_val = call_function((rmedia_handle_t *)handle,
60 return (ret_val);
66 int32_t ret_val; local
68 ret_val = call_function((rmedia_handle_t *)handle,
73 return (ret_val);
79 int32_t ret_val; local
81 ret_val = call_function((rmedia_handle_t *)handle,
85 return (ret_val);
91 int32_t ret_val; local
105 int32_t ret_val; local
116 int32_t ret_val; local
131 int32_t ret_val; local
147 int32_t ret_val; local
162 int32_t ret_val; local
173 int32_t ret_val; local
183 int32_t ret_val; local
193 int32_t ret_val; local
219 int32_t ret_val; local
[all...]
H A Dl_misc.c87 int ret_val; local
127 ret_val = door_call(door_fd, &door_args);
129 if (ret_val < 0) {
181 ret_val = door_call(door_fd, &door_args);
183 if (ret_val < 0) {
210 int32_t ret_val; local
252 ret_val = (*d_fcn_ptr)(dkinfo.dki_ctype, 0);
253 if (ret_val == 0) {
262 ret_val = (*v_fcn_ptr)();
263 if ((ret_val >
285 int32_t ret_val; local
344 int ret_val; local
[all...]
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c223 int32_t ret_val; local
283 ret_val = ioctl(handle->sm_fd, FDRAW, &fdraw);
284 if (ret_val < 0) {
297 int32_t ret_val; local
356 ret_val = ioctl(handle->sm_fd, FDRAW, &fdraw);
357 if (ret_val < 0) {
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dscanf.c56 int ret_val; local
65 ret_val = _doscan(stdin, nf, newap);
67 return(ret_val);
75 ret_val = _doscan(stdin, fmt, ap);
77 return (ret_val);
85 int ret_val; local
100 ret_val = _doscan(stdin, nf, newap);
102 return(ret_val);
110 ret_val = _doscan(iop, fmt, ap);
112 return (ret_val);
121 int ret_val; local
[all...]
/illumos-gate/usr/src/lib/libc/amd64/sys/
H A Duadmin.c123 uint8_t *ret_val = NULL; local
140 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) !=
142 update_flag = (*ret_val == 0) ? B_FALSE :
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Duadmin.c122 uint8_t *ret_val = NULL; local
139 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) !=
141 update_flag = (*ret_val == 0) ? B_FALSE :
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_susp_subr.c97 short ret_val = -1; local
150 while (ret_val == -1) {
157 ret_val = 1;
170 ret_val = 0; /* keep going */
173 ret_val = SUA_NULL_POINTER;
176 ret_val = SUA_ENOMEM;
179 ret_val = SUA_EINVAL;
182 ret_val = RELOC_DIR;
187 if (ret_val != 0)
195 return (ret_val);
[all...]

Completed in 134 milliseconds

12345