Searched defs:MAX_KEY_SIZE (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | persistent.c | 33 * MAX_KEY_SIZE needs to be the same size of the ISCSI_MAX_NAME_LEN 36 #define MAX_KEY_SIZE (ISCSI_MAX_NAME_LEN + 5) macro 151 target_name = kmem_alloc(MAX_KEY_SIZE, KM_SLEEP); 184 kmem_free(target_name, MAX_KEY_SIZE); 204 target_name = kmem_zalloc(MAX_KEY_SIZE, KM_SLEEP); 230 kmem_free(target_name, MAX_KEY_SIZE); 423 key = kmem_zalloc(MAX_KEY_SIZE, KM_SLEEP); 433 if (snprintf(key, MAX_KEY_SIZE - 1, "%s,%s:%d,%d", 434 target_name, ip_str, e->e_port, e->e_tpgt) >= MAX_KEY_SIZE) { 435 kmem_free(key, MAX_KEY_SIZE); [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device_info.c | 61 #define MAX_KEY_SIZE 128 macro 151 char merge_key[MAX_KEY_SIZE]; 688 strncpy (pc->merge_key, attr[1], MAX_KEY_SIZE); 747 strncpy (pc->merge_key, attr[1], MAX_KEY_SIZE); 792 strncpy (pc->merge_key, attr[1], MAX_KEY_SIZE); 819 strncpy (pc->merge_key, attr[1], MAX_KEY_SIZE); 866 strncpy (pc->merge_key, attr[1], MAX_KEY_SIZE);
|
Completed in 71 milliseconds