Searched refs:newch (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.c | 463 struct cachekey_header *newch; in remap_cache_file_ch() local 545 if ((newch = (void *)mmap(oldaddr, newsize, in remap_cache_file_ch() 552 newch->length = newsize; in remap_cache_file_ch() 554 if (cache_remap_addresses_ch(newch) == 0) { in remap_cache_file_ch() 556 newch->keylen, newch->algtype); in remap_cache_file_ch() 557 newch->length = oldsize; in remap_cache_file_ch() 558 close(newch->fd); in remap_cache_file_ch() 559 munmap((caddr_t)newch, newsize); in remap_cache_file_ch() 565 cd = MOVE_ADDR(&(newch->array[0]), currecs*newch->reclength); in remap_cache_file_ch() 566 for (i = currecs; i < MAPRECS(newch); i++) { in remap_cache_file_ch() [all …]
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_subr.c | 827 struct chhead *ch, *newch; in clget4() local 842 newch = NULL; in clget4() 871 if (newch == NULL) { in clget4() 873 newch = kmem_alloc(sizeof (*newch), KM_SLEEP); in clget4() 874 newch->ch_timesused = 0; in clget4() 875 newch->ch_prog = ci->cl_prog; in clget4() 876 newch->ch_vers = ci->cl_vers; in clget4() 877 newch->ch_dev = svp->sv_knconf->knc_rdev; in clget4() 878 newch->ch_protofmly = kmem_alloc( in clget4() 881 (void) strcpy(newch->ch_protofmly, in clget4() [all …]
|
H A D | nfs_subr.c | 311 struct chhead *ch, *newch; in clget_impl() local 326 newch = NULL; in clget_impl() 355 if (newch == NULL) { in clget_impl() 357 newch = kmem_alloc(sizeof (*newch), KM_SLEEP); in clget_impl() 358 newch->ch_timesused = 0; in clget_impl() 359 newch->ch_prog = ci->cl_prog; in clget_impl() 360 newch->ch_vers = ci->cl_vers; in clget_impl() 361 newch->ch_dev = svp->sv_knconf->knc_rdev; in clget_impl() 362 newch->ch_protofmly = kmem_alloc( in clget_impl() 365 (void) strcpy(newch->ch_protofmly, in clget_impl() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi.c | 5164 char *newch = NULL; in iscsi_get_name_from_iqn() local 5168 for (oldch = &name[0], newch = &tmp[0]; *oldch != '\0'; in iscsi_get_name_from_iqn() 5169 oldch++, newch++) { in iscsi_get_name_from_iqn() 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() [all …]
|
/titanic_50/usr/src/cmd/mandoc/ |
H A D | roff.c | 2824 size_t oldch, newch; in roff_setstrn() local 2855 newch = stringsz + (1 < append ? 2u : 1u); in roff_setstrn() 2858 n->val.p = mandoc_malloc(newch); in roff_setstrn() 2863 n->val.p = mandoc_realloc(n->val.p, oldch + newch); in roff_setstrn()
|