/illumos-gate/usr/src/common/lvm/ |
H A D | md_crc.c | 74 * during the crc computation. The result area of the record is also ignored 86 uint_t *result, /* put check-sum here(really u_long) */ 144 /* Skip the result pointer */ 145 if (record == (uchar_t *)result) { 164 /* If we are checking, we either get a 0 - OK, or 1 - Not OK result */ 166 if (*((uint_t *)result) == newcrc) 172 * If we are generating, we stuff the result, if we have a result 175 if (result != NULL) 176 *((uint_t *)result) 83 crcfunc( uint_t check, uchar_t *record, uint_t *result, size_t size, crc_skip_t *skip ) argument [all...] |
/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_walkdag.c | 141 int result; local 174 result = (func)((md_t *)mdp, parentidx, nodeidx, private); 175 if (result != MDE_WALK_NEXT) { 176 return (result); 185 result = MDE_WALK_NEXT; 193 result = mdl_walk_dag(mdp, nodeidx, mdep->d.prop_idx, 196 if (result != MDE_WALK_NEXT) { 198 return (result); 203 return (result);
|
/illumos-gate/usr/src/cmd/policykit/ |
H A D | polkit-is-privileged.c | 82 LibPolKitResult result; local 161 result = libpolkit_is_uid_allowed_for_privilege (ctx, 169 switch (result) { 195 printf ("result %d\n", result);
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metaoffline.c | 161 int result; local 162 result = meta_mn_send_command(sp, origargc, origargv, 165 md_exit(sp, result);
|
H A D | metaonline.c | 157 int result; local 158 result = meta_mn_send_command(sp, origargc, origargv, 167 if (result == 0) { 168 if ((result = meta_mn_send_resync_starting(mirnp, ep)) 172 md_exit(sp, result);
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_clntout.c | 112 printarglist(proc_list *proc, char *result, char *addargname, char *addargtype) argument 124 if (mtflag) { /* Generate result field */ 129 f_print(fout, "*%s, ", result); 143 result); 155 f_print(fout, "*%s;\n", result); 167 f_print(fout, "*%s, ", result); 186 f_print(fout, "%s, ", result); 196 f_print(fout, "*%s;\n", result); 207 f_print(fout, "*%s, ", result);
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | class_id.c | 89 char *result; local 113 result = strdup(opp->oprom_array); 115 return (result); 176 * the `name' property is the same as the result of `uname -i', modulo
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | cache.c | 39 gboolean result = FALSE; local 63 result = TRUE; 69 return (result); 88 gboolean result; local 96 result = g_hash_table_lookup_extended(seen, name, 99 if ((result == FALSE) && ((val = calloc(1, sizeof (*val))) != NULL)) { 105 return (result);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | kadm_rpc_svc.c | 93 char *result; local 251 result = (*local)(&argument, rqstp); 252 if (result != NULL && !svc_sendreply(transp, xdr_result, (char *) result)) {
|
/illumos-gate/usr/src/cmd/tnf/tnfdump/ |
H A D | table.c | 70 hrtime_t result; local 72 result = ((entry_t *)i)->time - ((entry_t *)j)->time; 73 if (result < (longlong_t) 0) 75 else if (result == (longlong_t) 0)
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio_compress.c | 68 enum zio_compress result; local 74 result = child; 75 if (result == ZIO_COMPRESS_INHERIT) 76 result = parent; 78 if (result == ZIO_COMPRESS_ON) { 80 result = ZIO_COMPRESS_LZ4_ON_VALUE; 82 result = ZIO_COMPRESS_LEGACY_ON_VALUE; 85 return (result);
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_dev.c | 88 void **result) 92 *result = aggr_dip; 95 *result = 0; 87 aggr_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | nulldriver.c | 126 void *arg, void **result) 125 nulldriver_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
|
H A D | options.c | 39 void **result); 103 options_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument 112 *result = (void *) options_devi; 117 *result = (void *)0;
|
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/ |
H A D | sppptun_mod.c | 201 void **result) 210 *result = (void *)tun_dev_info; 215 *result = NULL; 200 tun_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
|
/illumos-gate/usr/src/uts/common/io/vscan/ |
H A D | vscan_door.c | 128 * Returns: result returned in door response or VS_STATUS_ERROR 136 uint32_t result = 0; local 149 arg.rbuf = (char *)&result; 164 result = VS_STATUS_ERROR; 172 return (result);
|
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | utils.c | 96 /* concatenate three strings and return the result */ 100 char *result; local 105 result = malloc((size_a + size_b + size_c + 2)*sizeof(char)); 106 strcpy(result, a); 107 strcpy(&result[size_a], c); 108 strcpy(&result[size_a+size_c], b); 109 return(result); 116 register char *result; local 119 result = malloc(len+2); 120 result[ [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | nfsauth.c | 58 nfsauth_access(auth_req *argp, auth_res *result) argument 65 result->auth_perm = NFSAUTH_DENIED; 84 result->auth_perm = check_client(sh, &cln, argp->req_flavor, 86 argp->req_clnt_gids.val, &result->auth_srv_uid, 87 &result->auth_srv_gid, &result->auth_srv_gids.len, 88 &result->auth_srv_gids.val); 92 if (result->auth_perm == NFSAUTH_DENIED) {
|
/illumos-gate/usr/src/lib/pysolaris/common/ |
H A D | misc.c | 102 char *message, *result; local 108 result = dgettext(TEXT_DOMAIN, message); 110 ret = Py_BuildValue("s", result);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_strerror.c | 115 * Copy the given format string into the result buffer, expanding 116 * %m as we go. If the result buffer is too short, complain and 170 char *result; local 174 result = "Not owner"; 177 result = "No such file or directory"; 180 result = "I/O error"; 183 result = "Permission denied"; 186 result = "File exists"; 189 result = "Not a directory"; 192 result [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | hunt_phy.c | 89 uint32_t result; local 115 result = MCDI_OUT_DWORD(req, POLL_BIST_OUT_RESULT); 117 if (result == MC_CMD_POLL_BIST_FAILED && 146 } else if (result == MC_CMD_POLL_BIST_FAILED && 160 if (result == MC_CMD_POLL_BIST_RUNNING) 162 else if (result == MC_CMD_POLL_BIST_PASSED)
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | pager.c | 157 int result; local 167 result = -1; 171 result = 0; 176 result = 1; 181 return (result);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | pager.c | 136 int result; local 146 result = -1; 150 result = 0; 155 result = 1; 160 return(result);
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getbootparams.c | 63 ns_ldap_result_t *result = be->result; local 65 if (result == NULL) 68 if (argp->buf.result != NULL) { 80 names = __ns_ldap_getAttr(result->entry, _B_HOSTNAME); 86 bparams = __ns_ldap_getAttrStruct(result->entry, _B_PARAMETER); 113 if (argp->buf.result != NULL) 118 (void) __ns_ldap_freeResult(&be->result);
|
H A D | getnetmasks.c | 55 * and argp->buf.result to non-NULL. 69 ns_ldap_result_t *result = be->result; local 72 if (result == NULL) 77 netmask = __ns_ldap_getAttr(result->entry, _N_NETMASK); 85 if (argp->buf.result != NULL) { 100 (void) __ns_ldap_freeResult(&be->result);
|