Home
last modified time | relevance | path

Searched refs:pdd (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/lib/libc/port/threads/
H A Ddoor_calls.c104 privdoor_data_hold(struct privdoor_data *pdd) in privdoor_data_hold() argument
106 atomic_inc_32(&pdd->pd_refcnt); in privdoor_data_hold()
110 privdoor_data_rele(struct privdoor_data *pdd) in privdoor_data_rele() argument
112 if (atomic_dec_32_nv(&pdd->pd_refcnt) == 0) in privdoor_data_rele()
113 free(pdd); in privdoor_data_rele()
233 struct privdoor_data *pdd = malloc(sizeof (*pdd)); in door_create_cmn() local
235 if (pdd == NULL) { in door_create_cmn()
241 pdd->pd_dfd = d; in door_create_cmn()
242 pdd->pd_uniqid = di.di_uniquifier; in door_create_cmn()
243 pdd->pd_refcnt = 1; /* prevent free during xcreate_n */ in door_create_cmn()
[all …]
/titanic_50/usr/src/uts/common/fs/zfs/
H A Ddmu_objset.c835 dsl_dir_t *pdd; in dmu_objset_create_check() local
845 error = dsl_dir_hold(dp, doca->doca_name, FTAG, &pdd, &tail); in dmu_objset_create_check()
849 dsl_dir_rele(pdd, FTAG); in dmu_objset_create_check()
852 error = dsl_fs_ss_limit_check(pdd, 1, ZFS_PROP_FILESYSTEM_LIMIT, NULL, in dmu_objset_create_check()
854 dsl_dir_rele(pdd, FTAG); in dmu_objset_create_check()
864 dsl_dir_t *pdd; in dmu_objset_create_sync() local
871 VERIFY0(dsl_dir_hold(dp, doca->doca_name, FTAG, &pdd, &tail)); in dmu_objset_create_sync()
873 obj = dsl_dataset_create_sync(pdd, tail, NULL, doca->doca_flags, in dmu_objset_create_sync()
876 VERIFY0(dsl_dataset_hold_obj(pdd->dd_pool, obj, FTAG, &ds)); in dmu_objset_create_sync()
878 os = dmu_objset_create_impl(pdd->dd_pool->dp_spa, in dmu_objset_create_sync()
[all …]
H A Ddsl_dataset.c918 dsl_dataset_create_sync(dsl_dir_t *pdd, const char *lastname, in dsl_dataset_create_sync() argument
921 dsl_pool_t *dp = pdd->dd_pool; in dsl_dataset_create_sync()
928 ddobj = dsl_dir_create_sync(dp, pdd, lastname, tx); in dsl_dataset_create_sync()
/titanic_50/usr/src/uts/common/os/
H A Ddriver_lyr.c831 i_ldi_prop_op_free(struct prop_driver_data *pdd) in i_ldi_prop_op_free() argument
833 kmem_free(pdd, pdd->pdd_size); in i_ldi_prop_op_free()
839 struct prop_driver_data *pdd; in i_ldi_prop_op_alloc() local
843 pdd = kmem_alloc(pdd_size, KM_SLEEP); in i_ldi_prop_op_alloc()
844 pdd->pdd_size = pdd_size; in i_ldi_prop_op_alloc()
845 pdd->pdd_prop_free = i_ldi_prop_op_free; in i_ldi_prop_op_alloc()
846 return ((caddr_t)&pdd[1]); in i_ldi_prop_op_alloc()
2529 struct prop_driver_data *pdd; in ldi_prop_lookup_string() local
2532 pdd = ((struct prop_driver_data *)(*data)) - 1; in ldi_prop_lookup_string()
2533 pdd_prop_size = pdd->pdd_size - in ldi_prop_lookup_string()
H A Dsunddi.c1776 struct prop_driver_data *pdd; in ddi_prop_decode_alloc() local
1781 pdd = kmem_zalloc(sizeof (struct prop_driver_data) + size, KM_SLEEP); in ddi_prop_decode_alloc()
1782 pdd->pdd_size = (sizeof (struct prop_driver_data) + size); in ddi_prop_decode_alloc()
1783 pdd->pdd_prop_free = prop_free; in ddi_prop_decode_alloc()
1788 return ((void *)((caddr_t)pdd + sizeof (struct prop_driver_data))); in ddi_prop_decode_alloc()
1832 struct prop_driver_data *pdd; in ddi_prop_free() local
1837 pdd = (struct prop_driver_data *) in ddi_prop_free()
1842 (*pdd->pdd_prop_free)(pdd); in ddi_prop_free()
1850 ddi_prop_free_ints(struct prop_driver_data *pdd) in ddi_prop_free_ints() argument
1852 kmem_free(pdd, pdd->pdd_size); in ddi_prop_free_ints()
[all …]