/osnet-11/usr/src/grub/grub2/util/ |
H A D | raid.c | 41 int fd, ret, i, j; local 52 ret = ioctl (fd, RAID_VERSION, &version); 53 if (ret != 0) 67 ret = ioctl (fd, GET_ARRAY_INFO, &info); 68 if (ret != 0) 76 ret = ioctl (fd, GET_DISK_INFO, &disk); 77 if (ret != 0)
|
/osnet-11/usr/src/cmd/powertop/common/ |
H A D | suggestions.c | 161 int ret = 0; local 199 ret = 1; 203 return (ret);
|
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_compare.c | 82 int ret; local 135 dbt, bo->pgno, bo->tlen, func == __bam_defcmp ? NULL : func, &ret); 136 return (ret);
|
H A D | bt_open.c | 77 int ret; local 80 if ((ret = __os_calloc(1, sizeof(BTREE), &t)) != 0) 81 return (ret); 135 if ((ret = __bam_read_root(dbp)) != 0) 143 einval: ret = EINVAL; 146 return (ret); 216 int ret, t_ret; local 218 ret = 0; 222 if ((ret = dbp->cursor(dbp, NULL, &dbc, 0)) != 0) 223 return (ret); [all...] |
H A D | bt_stat.c | 45 int ret, t_ret; local 50 if ((ret = __db_statchk(dbp, flags)) != 0) 51 return (ret); 53 if ((ret = dbp->cursor(dbp, NULL, &dbc, 0)) != 0) 54 return (ret); 64 if ((ret = __os_malloc(sizeof(*sp), db_malloc, &sp)) != 0) 71 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_READ, &lock)) != 0) 73 if ((ret = memp_fget(dbp->mpf, &pgno, 0, (PAGE **)&h)) != 0) 85 if ((ret = __bam_lget(dbc, 0, pgno, DB_LOCK_READ, &lock)) != 0) 87 if ((ret [all...] |
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_apprec.c | 51 int ret; local 57 if ((ret = __db_txnlist_init(&txninfo)) != 0) 58 return (ret); 100 if ((ret = log_get(lp, &ckp_lsn, &data, DB_CHECKPOINT)) != 0) { 106 first: if ((ret = log_get(lp, &ckp_lsn, &data, DB_FIRST)) != 0) { 107 if (ret == DB_NOTFOUND) 108 ret = 0; 114 } else if ((ret = __txn_ckp_read(data.data, &ckp_args)) != 0) { 119 (ret = log_get(lp, &ckp_args->last_ckp, &data, DB_SET)) != 0) 133 ret [all...] |
H A D | db_join.c | 76 int i, ret; local 80 if ((ret = __db_joinchk(primary, flags)) != 0) 81 return (ret); 89 if ((ret = __os_calloc(1, sizeof(DBC), &dbc)) != 0) 92 if ((ret = __os_calloc(1, sizeof(JOIN_CURSOR), &jc)) != 0) 95 if ((ret = __os_malloc(256, NULL, &jc->j_key.data)) != 0) 103 if ((ret = __os_calloc((jc->j_curslist - curslist + 1), 133 return (ret); 171 int ret; local 183 if ((ret [all...] |
/osnet-11/usr/src/cmd/sendmail/db/log/ |
H A D | log_auto.c | 39 int ret; local 55 if ((ret = __os_malloc(logrec.size, NULL, &logrec.data)) != 0) 56 return (ret); 95 ret = __log_put(logp, ret_lsnp, (DBT *)&logrec, flags); 99 return (ret); 117 int ret; local 125 if ((ret = __log_register_read(dbtp->data, &argp)) != 0) 126 return (ret); 170 int ret; local 172 ret 209 int ret; local 224 int ret; local [all...] |
H A D | log_get.c | 39 int ret; local 63 ret = __log_get(dblp, alsn, dbt, flags, 0); 64 if (ret == 0 && alsn->offset == 0) { 73 ret = __log_get(dblp, alsn, dbt, flags, 0); 78 return (ret); 100 int cnt, ret; local 115 ret = ENOENT; 128 if ((ret = __log_find(dblp, 1, &cnt)) != 0) 188 if ((ret = __db_retcopy(dbt, (u_int8_t *)p + sizeof(HDR), 196 if ((ret [all...] |
H A D | log_register.c | 42 int inserted, ret; local 59 if ((ret = __db_appname(dblp->dbenv, 61 return (ret); 90 else if ((ret = __db_shalloc(dblp->addr, sizeof(FNAME), 0, &fnp)) != 0) 100 if ((ret = __db_shalloc(dblp->addr, len, 0, &namep)) != 0) 117 if ((ret = __log_register_log(dblp, NULL, &r_unused, 120 if ((ret = __log_add_logid(dblp, dbp, name, fnp->id)) != 0) 144 return (ret); 159 int ret; local 163 ret [all...] |
/osnet-11/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_fget.c | 43 int b_incr, first, ret; local 66 if ((ret = 68 return (ret); 95 b_incr = ret = 0; 154 ret = EINVAL; 177 ret = EINVAL; 231 if ((ret = __memp_pg(dbmfp, bhp, 1)) != 0) 243 if ((ret = __memp_alloc(dbmp, sizeof(BH) - 251 ret = EINVAL; 302 reread: if ((ret [all...] |
H A D | mp_open.c | 40 int is_private, ret; local 48 if ((ret = __db_fchk(dbenv, "memp_open", flags, OKFLAGS)) != 0) 49 return (ret); 55 if ((ret = __os_calloc(1, sizeof(DB_MPOOL), &dbmp)) != 0) 56 return (ret); 71 if ((ret = __memp_ropen(dbmp, 86 ret = __memp_alloc(dbmp, 89 if (ret != 0) { 101 return (ret); 114 int ret, t_re local 174 int ret; local 200 int ret; local [all...] |
/osnet-11/usr/src/cmd/sendmail/db/os/ |
H A D | os_alloc.c | 54 int ret; local 60 if ((ret = __os_malloc(size, NULL, &p)) != 0) 61 return (ret); 81 int ret; local 84 if ((ret = __os_malloc(size, NULL, &p)) != 0) 85 return (ret);
|
H A D | os_dir.c | 54 int arraysz, cnt, ret; local 66 if ((ret = __os_realloc(&names, 70 if ((ret = __os_strdup(dp->d_name, &names[cnt])) != 0) 81 return (ret);
|
/osnet-11/usr/src/cmd/sendmail/db/txn/ |
H A D | txn_rec.c | 79 int ret; local 87 if ((ret = __txn_regop_read(dbtp->data, &argp)) != 0) 88 return (ret); 91 ret = EINVAL; 94 ret = __db_txnlist_add(info, argp->txnid->txnid); 96 if (ret == 0) 100 return (ret); 118 int ret; local 126 if ((ret = __txn_xa_regop_read(dbtp->data, &argp)) != 0) 127 return (ret); 178 int ret; local 219 int ret; local 267 int ret; local [all...] |
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | fopen.c | 231 int ioflags, ret; local 290 ret = (*fp2->f_open)(fp2, info, flags, rpool); 296 if (ret < 0)
|
H A D | fseek.c | 89 int ret; local 156 ret = -1; 278 ret = 0; 309 ret = 0; 314 return ret; 322 ret = SM_TIME_FOREVER; 323 if (sm_flush(fp, &ret) != 0 || 326 ret = -1; 336 ret = 0;
|
/osnet-11/usr/src/cmd/hal/probing/network-printer/ |
H A D | probe-network-printer.c | 38 int ret = 1; local 82 ret = snmp_printer_info(printer_address, community, &manufacturer, 85 if (ret < 0) { 92 ret = add_printer_info(cs, udi, manufacturer, model, description, 94 if (ret < 0) { 102 ret = 0; 117 return (ret);
|
/osnet-11/usr/src/lib/libast/common/hash/ |
H A D | hashalloc.c | 44 register Hash_table_t* ret = 0; local 189 ret = tab; 198 if (!ret) hashfree(tab); 199 return(ret);
|
/osnet-11/usr/src/lib/libbe/common/ |
H A D | be_rename.c | 73 int zret = 0, ret = BE_SUCCESS; local 87 ret = be_check_rozr(); 88 if (ret != BE_SUCCESS) 89 return (ret); 171 ret = zfs_err_to_be_err(g_zfs); 173 return (ret); 189 if ((ret = be_get_legacy_fs(bt.obe_name, bt.obe_root_ds, NULL, NULL, 203 ret = zfs_err_to_be_err(g_zfs); 212 ret = zfs_err_to_be_err(g_zfs); 224 ret [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getusershell.c | 103 char *ret; local 107 ret = *curshell; 108 if (ret != NULL) 110 return (ret);
|
H A D | isaexec.c | 59 long ret = sysinfo(SI_ISALIST, isalist, isalen); local 60 if (ret == -1l) { 65 if (ret > isalen) { 66 isalen = ret;
|
H A D | realpath.c | 47 int ret; local 66 ret = syscall(SYS_frealpathat, fd, path, kbuf, mysize); 68 if (ret == 0 || buf != NULL || bufsize != 0 || errno != ERANGE) 77 if (ret != 0 || kbuf == NULL) { 106 char *ret; local 108 ret = krealpath_impl(AT_FDCWD, file_name, resolved_name, 115 if (ret == NULL && resolved_name != NULL && errno != EINVAL) 118 return (ret);
|
H A D | setpriority.c | 154 int ret; local 184 ret = priocntl(idtype, id, PC_DONICE, &pcnice); 186 if (ret != 0 && errno == EPERM) { 213 return (ret);
|
H A D | ttyslot.c | 59 int ret = -1; local 86 ret = s; 98 return (ret);
|