Lines Matching defs:error

162 	int atomic, error, tcmd;
247 error = tables_foreach(table_destroy_one, &oh, 1);
248 if (error != 0)
255 if ((error = table_flush(&oh)) == 0)
265 error = tables_foreach(table_flush_one, &oh, 1);
266 if (error != 0)
284 if ((error = table_get_info(&oh, &i)) != 0)
288 error = tables_foreach(table_show_info, arg, 1);
289 if (error != 0)
297 if ((error = table_get_info(&oh, &i)) != 0)
301 error = tables_foreach(table_show_one, arg, 1);
302 if (error != 0)
409 int error, missing, orflush, tcmd, val;
441 error = table_parse_type(val, p, &xi.tflags);
442 if (error != 0)
493 error = table_do_create(oh, &xi);
495 if (error == 0)
528 int error;
534 error = do_set3(IP_FW_TABLE_XCREATE, &oh->opheader, sizeof(tbuf));
536 return (error);
583 int error;
589 error = do_set3(IP_FW_TABLE_XMODIFY, &oh->opheader, sizeof(tbuf));
591 return (error);
659 int error;
666 error = do_set3(IP_FW_TABLE_XSWAP, &oh->opheader, sizeof(tbuf));
668 return (error);
868 int error;
873 if ((error = table_do_get_list(i, &oh)) != 0) {
875 return (error);
904 int error, i;
935 error = do_get3(cmd, &oh->opheader, &sz);
936 if (error != 0)
937 error = errno;
945 return (error);
956 int cmd, count, error, i, ignored;
1025 error = table_do_modify_record(cmd, oh, tent_buf, count, atomic);
1031 if (error == 0 || (error == EEXIST && add != 0) ||
1032 (error == ENOENT && add == 0)) {
1059 px = "error";
1079 if (error != 0 && atomic != 0 && ignored == 0)
1090 if (error == 0)
1092 /* Get real OS error */
1093 error = errno;
1095 /* Try to provide more human-readable error */
1096 switch (error) {
1113 etxt = strerror(error);
1158 int error;
1166 error = table_do_lookup(oh, key, &xi, &xtent);
1168 switch (error) {
1441 int error;
1448 error = table_get_info(oh, xi);
1450 error = 0;
1452 if (error == 0) {
1472 if (error != ESRCH)
1684 int i, error;
1709 error = f(info, arg);
1981 int error, i;
1984 error = table_do_get_algolist(&olh);
1985 if (error != 0)
2043 int error, i;
2047 error = table_do_get_vlist(&olh);
2048 if (error != 0)