Home
last modified time | relevance | path

Searched refs:max_len (Results 1 – 18 of 18) sorted by relevance

/titanic_44/usr/src/lib/libfakekernel/common/
H A Dcopy.c23 copyinstr(const char *src, char *dst, size_t max_len, size_t *copied) in copyinstr() argument
25 return (copystr(src, dst, max_len, copied)); in copyinstr()
29 copystr(const char *src, char *dst, size_t max_len, size_t *outlen) in copystr() argument
33 if (max_len == 0) in copystr()
36 copied = strlcpy(dst, src, max_len) + 1; in copystr()
37 if (copied >= max_len) in copystr()
/titanic_44/usr/src/uts/intel/io/drm/
H A Di915_gem_debug.c75 int max_len; in decode_mi() member
104 if (opcodes_mi[opcode].max_len > 1) { in decode_mi()
107 len > opcodes_mi[opcode].max_len) in decode_mi()
138 int max_len; in decode_2d() member
262 if (opcodes_2d[opcode].max_len > 1) { in decode_2d()
265 len > opcodes_2d[opcode].max_len) in decode_2d()
322 int max_len; in decode_3d_1d() member
526 if (opcodes_3d_1d[opcode].max_len > 1) { in decode_3d_1d()
529 len > opcodes_3d_1d[opcode].max_len) in decode_3d_1d()
744 int max_len; in decode_3d() member
[all …]
/titanic_44/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_text.c351 uint32_t len, remainder, max_len; in iscsit_send_next_text_response() local
355 max_len = ISCSI_DEFAULT_MAX_RECV_SEG_LEN; in iscsit_send_next_text_response()
357 if (iscsit_text_max_len > 0 && iscsit_text_max_len < max_len) in iscsit_send_next_text_response()
358 max_len = iscsit_text_max_len; in iscsit_send_next_text_response()
362 if (remainder <= max_len) { in iscsit_send_next_text_response()
366 len = max_len; in iscsit_send_next_text_response()
/titanic_44/usr/src/lib/libnisdb/
H A Ddb_scheme.cc152 scols[keynum].where.max_len = NIS_MAXATTRVAL; in db_scheme()
237 keys.keys_val[i].where.max_len); in print()
239 data.where.start_column, data.where.max_len); in print()
H A Ddb_scheme_c.x53 short int max_len; member
/titanic_44/usr/src/uts/common/inet/
H A Dproto_set.c356 proto_opt_check(int level, int name, int len, t_uscalar_t *max_len, in proto_opt_check() argument
426 if (max_len != NULL) in proto_opt_check()
427 *max_len = optd->opdes_size; in proto_opt_check()
/titanic_44/usr/src/lib/libscf/common/
H A Dscf_type.c240 check_net_prefix(const char *p, int max_len) in check_net_prefix() argument
246 if (p == end || len < 0 || len > max_len) in check_net_prefix()
/titanic_44/usr/src/lib/libgss/
H A Dg_glue.c130 gssint_put_der_length(unsigned int length, unsigned char **buf, unsigned int max_len) in gssint_put_der_length() argument
137 if (buf == 0 || max_len < 1) in gssint_put_der_length()
164 for (i = MSO_BIT; i >= 0 && buf_len <= max_len; i -= 8) { in gssint_put_der_length()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/envmon/
H A Dpiclenvmon.c115 static void fixstate(uint8_t state, const char *string, int *max_len);
117 int *max_len);
1352 fixstate(uint8_t state, const char *string, int *max_len) in fixstate() argument
1364 if (len >= *max_len) in fixstate()
1365 *max_len = len + 1; in fixstate()
1372 fixkeyposn(envmon_keysw_pos_t keyposn, const char *string, int *max_len) in fixkeyposn() argument
1384 if (len >= *max_len) in fixkeyposn()
1385 *max_len = len + 1; in fixkeyposn()
/titanic_44/usr/src/uts/common/net/
H A Dppp-comp.h73 PACKETPTR mp, int orig_len, int max_len));
/titanic_44/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c215 uint32_t xfer_len, max_len, first_len; in sbd_do_sgl_read_xfer() local
246 max_len = MIN(task->task_max_xfer_len, sl->sl_max_xfer_len); in sbd_do_sgl_read_xfer()
248 max_len = MIN(max_len, sbd_max_xfer_len); in sbd_do_sgl_read_xfer()
264 xfer_len = MIN(max_len, scmd->len); in sbd_do_sgl_read_xfer()
1079 uint32_t xfer_len, max_len, first_len; in sbd_do_sgl_write_xfer() local
1111 max_len = MIN(task->task_max_xfer_len, sl->sl_max_xfer_len); in sbd_do_sgl_write_xfer()
1113 max_len = MIN(max_len, sbd_max_xfer_len); in sbd_do_sgl_write_xfer()
1130 xfer_len = MIN(max_len, scmd->len); in sbd_do_sgl_write_xfer()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/blade/bsc/
H A Dpicllom.c1063 fixstate(uint8_t state, const char *string, int *max_len) in fixstate() argument
1075 if (len >= *max_len) in fixstate()
1076 *max_len = len + 1; in fixstate()
/titanic_44/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c845 get_input_string(char *prompt, char *default_str, int min_len, int max_len) in get_input_string() argument
877 if (len >= min_len && len <= max_len) { in get_input_string()
/titanic_44/usr/src/uts/common/io/bge/
H A Dbge_hw.h1774 uint16_t max_len; member
1780 uint16_t max_len; member
H A Dbge_main2.c2249 brp->hw_rcb.max_len = (uint16_t)bufsize;
2328 rrp->hw_rcb.max_len = (uint16_t)nslots;
2394 srp->hw_rcb.max_len = (uint16_t)nslots;
H A Dbge_chip2.c761 rcbp->max_len, rcbp->flags, rcbp->nic_ring_addr)); in bge_reg_putrcb()
1072 rcbp->max_len, rcbp->flags, rcbp->nic_ring_addr)); in bge_nic_putrcb()
/titanic_44/usr/src/cmd/isns/isnsd/
H A Dobj.c1483 uint32_t min_len = 4, max_len = 224; in extract_attr() local
1492 max_len = 256; in extract_attr()
1495 if (tlv->attr_len < min_len || tlv->attr_len > max_len) { in extract_attr()
/titanic_44/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c13427 size_t max_len = 0; in listprop() local
13518 if (pgnlen > max_len) in listprop()
13519 max_len = pgnlen; in listprop()
13592 if (prnlen > max_len) in listprop()
13593 max_len = prnlen; in listprop()
13627 list_pg_info(pg, names[i], max_len); in listprop()
13637 list_prop_info(prop, names[i], max_len); in listprop()