Searched refs:newch (Results 1 – 5 of 5) sorted by last modified time
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_subr.c | 327 newch = NULL; in clget_impl() 356 if (newch == NULL) { in clget_impl() 358 newch = kmem_alloc(sizeof (*newch), KM_SLEEP); in clget_impl() 368 newch->ch_list = NULL; in clget_impl() 371 ch = newch; in clget_impl() 372 newch = NULL; in clget_impl() 394 if (newch != NULL) { in clget_impl() 397 kmem_free(newch, sizeof (*newch)); in clget_impl() 424 if (newch != NULL) { in clget_impl() 425 kmem_free(newch->ch_protofmly, strlen(newch->ch_protofmly) + 1); in clget_impl() [all …]
|
H A D | nfs4_subr.c | 842 newch = NULL; in clget4() 871 if (newch == NULL) { in clget4() 873 newch = kmem_alloc(sizeof (*newch), KM_SLEEP); in clget4() 883 newch->ch_list = NULL; in clget4() 886 ch = newch; in clget4() 887 newch = NULL; in clget4() 909 if (newch != NULL) { in clget4() 912 kmem_free(newch, sizeof (*newch)); in clget4() 942 if (newch != NULL) { in clget4() 943 kmem_free(newch->ch_protofmly, strlen(newch->ch_protofmly) + 1); in clget4() [all …]
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.c | 554 newch->keylen, newch->algtype); in remap_cache_file_ch() 563 cd = MOVE_ADDR(&(newch->array[0]), currecs*newch->reclength); in remap_cache_file_ch() 572 (void) msync(newch->address, newch->length, MS_SYNC); in remap_cache_file_ch() 574 return (newch); in remap_cache_file_ch() 877 newch = ch; in cache_insert_ch() 881 return (newch); in cache_insert_ch() 904 list_insert(cd, &(newch->free), 0, &(newch->free_count)); in cache_insert_ch() 905 return (newch); in cache_insert_ch() 911 list_insert(cd, &(newch->inuse), &(newch->inuse_end), in cache_insert_ch() 914 (void) msync((caddr_t)newch, newch->length, MS_SYNC); in cache_insert_ch() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi.c | 5172 *newch++ = '%'; in iscsi_get_name_from_iqn() 5173 *newch++ = '3'; in iscsi_get_name_from_iqn() 5174 *newch = 'A'; in iscsi_get_name_from_iqn() 5177 *newch++ = '%'; in iscsi_get_name_from_iqn() 5178 *newch++ = '2'; in iscsi_get_name_from_iqn() 5179 *newch = '0'; in iscsi_get_name_from_iqn() 5182 *newch++ = '%'; in iscsi_get_name_from_iqn() 5183 *newch++ = '4'; in iscsi_get_name_from_iqn() 5184 *newch = '0'; in iscsi_get_name_from_iqn() 5187 *newch++ = '%'; in iscsi_get_name_from_iqn() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | roff.c | 4083 size_t oldch, newch; in roff_setstrn() local 4114 newch = stringsz + (1 < append ? 2u : 1u); in roff_setstrn() 4117 n->val.p = mandoc_malloc(newch); in roff_setstrn() 4122 n->val.p = mandoc_realloc(n->val.p, oldch + newch); in roff_setstrn()
|