Searched refs:container (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/lib/libfru/include/
H A Dlibfruds.h66 fru_errno_t (*get_seg_list)(fru_treehdl_t container, fru_strlist_t *list);
67 fru_errno_t (*get_seg_def)(fru_treehdl_t container, const char *seg_name,
69 fru_errno_t (*add_seg)(fru_treehdl_t container, fru_segdef_t *def);
70 fru_errno_t (*delete_seg)(fru_treehdl_t container, const char *seg_name);
78 fru_errno_t (*add_tag_to_seg)(fru_treehdl_t container, const char *seg_name,
80 fru_errno_t (*get_tag_list)(fru_treehdl_t container, const char *seg_name,
82 fru_errno_t (*get_tag_data)(fru_treehdl_t container, const char *seg_name,
85 fru_errno_t (*set_tag_data)(fru_treehdl_t container, const char *seg_name,
88 fru_errno_t (*delete_tag)(fru_treehdl_t container, const char *seg_name,
H A Dlibfru.h245 fru_errno_t fru_list_segments(fru_nodehdl_t container, fru_strlist_t *list);
246 fru_errno_t fru_create_segment(fru_nodehdl_t container, fru_segdef_t *def);
247 fru_errno_t fru_remove_segment(fru_nodehdl_t container, const char *seg_name);
248 fru_errno_t fru_get_segment_def(fru_nodehdl_t container, const char *seg_name,
250 fru_errno_t fru_list_elems_in(fru_nodehdl_t container, const char *seg_name,
254 fru_errno_t fru_read_field(fru_nodehdl_t container,
261 fru_errno_t fru_update_field(fru_nodehdl_t container,
267 fru_errno_t fru_get_num_iterations(fru_nodehdl_t container,
275 fru_errno_t fru_add_element(fru_nodehdl_t container, const char *seg_name,
277 fru_errno_t fru_delete_element(fru_nodehdl_t container, cons
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.h77 #define REF_INIT(container, count, inactive, kmem) { \
78 (container)->ref.cnt = (count); \
79 (container)->ref.last = (void (*)(void *))((inactive)); \
80 (container)->ref.kmc = (kmem); \
83 #define REF_HOLD(container) { \
84 atomic_inc_32(&(container)->ref.cnt); \
85 ASSERT((container)->ref.cnt != 0); \
88 #define REF_RELE(container) { \
89 if (atomic_dec_32_nv(&(container)->ref.cnt) == 0) { \
90 (container)
[all...]
/illumos-gate/usr/src/lib/libfru/libfru/
H A Dlibfru.cc42 * 3) Figure out which tags of this type are in the container.
86 * Define a hash of rwlocks for each container.
127 "Not container",
141 "Failed to read container device",
430 segment_is_encrypted(fru_nodehdl_t container, const char *seg_name) argument
439 RETRY(err = data_source->get_seg_def(NODEHDL_TO_TREEHDL(container),
829 fru_list_segments(fru_nodehdl_t container, fru_strlist_t *list) argument
833 if ((err = is_container(container)) != FRU_SUCCESS) {
837 if (lock_container(READ_LOCK, container) != FRU_SUCCESS) {
841 err = get_seg_list_from_ds(container, lis
849 fru_create_segment(fru_nodehdl_t container, fru_segdef_t *def) argument
899 fru_remove_segment(fru_nodehdl_t container, const char *seg_name) argument
935 fru_get_segment_def(fru_nodehdl_t container, const char *seg_name, fru_segdef_t *definition) argument
987 fru_list_elems_in(fru_nodehdl_t container, const char *seg_name, fru_strlist_t *list) argument
1074 fru_for_each_segment(fru_nodehdl_t container, int (*function)(fru_seghdl_t segment, void *args), void *args) argument
1412 get_payload(fru_nodehdl_t container, const char *seg_name, int instance, const char *field_path, PathDef **pathDef, Ancestor **ancestors, Ancestor **correct, int *tagInstance, int *instLeft, uint8_t **payload, size_t *payloadLen, int mode) argument
1531 do_decryption(fru_nodehdl_t container, const char *seg_name, uint8_t *payload, size_t payloadLen) argument
1553 get_seg_and_payload(fru_nodehdl_t container, char **seg_name, int instance, const char *field_path, PathDef **pathDef, Ancestor **ancestors, Ancestor **correct, int *tagInstance, int *instLeft, uint8_t **payload, size_t *payloadLen) argument
1629 fru_read_field(fru_nodehdl_t container, char **seg_name, unsigned int instance, const char *field_path, void **data, size_t *data_len, char **found_path) argument
1706 fru_update_field(fru_nodehdl_t container, char *seg_name, unsigned int instance, const char *field_path, void *data, size_t length) argument
1785 fru_get_num_iterations(fru_nodehdl_t container, char **seg_name, unsigned int instance, const char *iter_path, int *num_there, char **found_path) argument
1894 fru_add_element(fru_nodehdl_t container, const char *seg_name, const char *element) argument
1960 fru_delete_element(fru_nodehdl_t container, const char *seg_name, unsigned int instance, const char *element) argument
[all...]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_wr.c101 * the next entry in the container.
127 dapls_tavor_wrid_list_hdr_t *container; local
139 * addr. If the current "container" is not the last one on the list,
145 * determine when the current container has been emptied (so that we
146 * can move on to the next container).
148 container = wq->wq_wrid_poll;
149 while (container != NULL) {
151 /* Is this the last/only "container" on the list */
152 last_container = (container != wq->wq_wrid_post) ? 0 : 1;
157 * reaplist, they can only be the last container
306 dapls_tavor_wrid_list_hdr_t *container, *to_free; local
346 dapls_tavor_wrid_list_hdr_t *container, *to_free; local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_auth.c139 const krb5_authdata *container,
147 if ((container->ad_type & AD_TYPE_FIELD_TYPE_MASK) != type)
150 data.length = container->length;
151 data.data = (char *)container->contents;
164 krb5_authdata ***container)
171 *container = NULL;
184 code = krb5_copy_authdata(context, ad_data, container);
137 krb5_decode_authdata_container(krb5_context context, krb5_authdatatype type, const krb5_authdata *container, krb5_authdata ***authdata) argument
161 krb5_encode_authdata_container(krb5_context context, krb5_authdatatype type, krb5_authdata *const*authdata, krb5_authdata ***container) argument
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dfru_access.h52 uint32_t offset; /* bytes from container beginning */
62 char name[SEG_NAME_LEN]; /* from container section header */
81 int fru_close_container(container_hdl_t container);
82 int fru_get_num_sections(container_hdl_t container, door_cred_t *cred);
83 int fru_get_sections(container_hdl_t container, section_t *section,
H A Draw_access.c698 fru_get_sections(container_hdl_t container, section_t *section, int maxsec, argument
706 cont_object = lookup_handle_object(container, CONTAINER_TYPE);
933 fru_get_num_sections(container_hdl_t container, door_cred_t *cred) argument
937 hash_object = lookup_handle_object(container, CONTAINER_TYPE);
1158 fru_close_container(container_hdl_t container) argument
1165 /* lookup for container hash object */
1166 hash_obj = lookup_handle_object(container, CONTAINER_TYPE);
1206 /* free container hash object */
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.h54 uint32_t offset; /* bytes from container beginning */
64 char name[SEG_NAME_LEN]; /* from container section header */
83 int fru_close_container(container_hdl_t container);
84 int fru_get_num_sections(container_hdl_t container, door_cred_t *cred);
85 int fru_get_sections(container_hdl_t container, section_t *section,
H A Dfru_access.c79 /* called to allocate container hash object */
743 * Description :fru_open_container() opens the container associated with a fru.
744 * it's called by data plugin module before creating container
751 * FRU with the container to open.
754 * On Success, a Positive integer container handle. is returned
859 /* matches driver binding name to get container information */
922 * container. it calls get_container_index() to get the container
923 * index number in the container list.
926 * container_hdl_t : container handl
936 fru_get_num_sections(container_hdl_t container, door_cred_t *cred) argument
1121 fru_get_sections(container_hdl_t container, section_t *section, int maxsec, door_cred_t *cred) argument
2752 fru_close_container(container_hdl_t container) argument
[all...]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddoor.c474 * For DD and DD set membership, container and member pairs are given.
488 xmlChar *container = NULL, *member = NULL; local
531 container =
540 if (container != NULL && member != NULL) {
553 req->req_data.pair[req->count]->container =
554 container;
559 if (container != NULL) {
560 xmlFree(container);
568 container = NULL;
585 container
678 xmlChar *container = NULL, *member = NULL, *xml_id; local
[all...]
H A Disns_mgmt.h205 xmlChar *container; member in struct:__anon674
H A Dadmintf.c1673 * container - dd name
1680 uchar_t *container,
1699 lc.data[0].ptr = container;
1732 * container - dd set name
1739 uchar_t *container,
1753 lc.data[0].ptr = container;
2341 lc.data[0].ptr = (uchar_t *)req->req_data.pair[i]->container;
2362 (uchar_t *)req->req_data.pair[i]->container,
2365 (uchar_t *)req->req_data.pair[i]->container,
2406 (xmlChar *)req->req_data.pair[i]->container);
1679 i_delete_ddmember_op( uchar_t *container, uchar_t *member ) argument
1738 i_delete_ddsetmember_op( uchar_t *container, uchar_t *member ) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/
H A Dlibfruaccess.c55 int fru_get_num_sections(container_hdl_t container,
57 int fru_get_sections(container_hdl_t container, section_t *section,
151 fru_get_num_sections(container_hdl_t container, door_cred_t *cred) argument
159 numsections.hdl = container;
169 fru_get_sections(container_hdl_t container, section_t *section, argument
178 sections.fru_hdl = container;
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_builtin.c201 char *container; local
203 container = "Users";
205 container = "Builtin";
211 wksid->winname, container, _idmapdstate.hostname);
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_wr.c2372 * Allocate space for the tavor_wrid_entry_t container
2395 /* Chain the new WRID list container to the workq hdr list */
2495 * Allocate space for the tavor_wrid_entry_t container.
2584 /* Chain the WRID list "container" to the workq hdr list */
2620 * For each of this QP's Work Queues, move the WRID "container" to
2692 * Find the entry in the container pointed to by the "tail" index.
2721 * then we have filled the container. We use the "full" flag to
2835 * function to grab "wqeaddrsz" from the next entry in the container.
2864 tavor_wrid_list_hdr_t *container; local
2878 * addr. If the current "container" i
3057 tavor_wrid_list_hdr_t *container, *to_free; local
3098 tavor_wrid_list_hdr_t *container, *to_free; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_iocb.c1294 rcvbuf_t *container; local
1362 container = ha->rcvbuf_ring_ptr;
1365 * Build container.
1368 (uint32_t *)(void *)&container->bufp[0],
1372 (uint32_t *)(void *)&container->bufp[1],
1375 ddi_put16(ha->hba_buf.acc_handle, &container->handle,
1423 rcvbuf_t *container; local
1468 container = &pkt->buffers[0];
1472 * Build container.
1474 ddi_put32(ha->hba_buf.acc_handle, &container
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c221 /* called to allocate container hash object */
506 /* initialize the container */
515 ipmi_fru_get_num_sections(container_hdl_t container, door_cred_t *cred) argument
519 cont_hash_obj = lookup_handle_object((handle_t)container,
529 ipmi_fru_get_sections(container_hdl_t container, section_t *section, argument
536 cont_object = lookup_handle_object((handle_t)container,
832 ipmi_fru_close_container(container_hdl_t container) argument
839 /* lookup for container hash object */
840 hash_obj = lookup_handle_object(container, CONTAINER_TYPE);
882 /* free container has
1354 sun_fru_get_num_sections(container_hdl_t container, door_cred_t *cred) argument
1493 sun_fru_get_sections(container_hdl_t container, section_t *section, int maxsec, door_cred_t *cred) argument
2966 sun_fru_close_container(container_hdl_t container) argument
3147 fru_close_container(container_hdl_t container) argument
3164 fru_get_num_sections(container_hdl_t container, door_cred_t *cred) argument
3181 fru_get_sections(container_hdl_t container, section_t *section, int max_sections, door_cred_t *cred) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_share.c377 * if it has an AD container, calls kernel to take a hold on
466 * if it has an AD container, and calls the kernel to release
476 char container[MAXPATHLEN]; local
513 (void) strlcpy(container, si->shr_container, sizeof (container));
518 smb_shr_unpublish(sharename, container);
629 * o AD container
662 /* save current container - needed for unpublishing */
1794 smb_shr_publish(const char *sharename, const char *container) argument
1796 smb_shr_publisher_queue(sharename, container, SMB_SHR_PUBLIS
1800 smb_shr_unpublish(const char *sharename, const char *container) argument
1810 smb_shr_publisher_queue(const char *sharename, const char *container, char op) argument
[all...]
/illumos-gate/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c80 * cause a refresh of the sub-nodes by writing anything to the container
86 uint32_t container = FRUDATA_DELETE_TAG_KEY; local
90 PICL_PROP_CONTAINER, (void *)&container,
91 sizeof (container))) != PICL_SUCCESS) {
330 /* there is data for this node. (ie fru is a container) */
957 picl_nodehdl_t container = TREEHDL_TO_PICLHDL(treenode), local
961 if ((status = update_data_nodes(container)) != FRU_SUCCESS)
965 for (status = picl_get_propval_by_name(container, PICL_PROP_CHILD,
/illumos-gate/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c84 * cause a refresh of the sub-nodes by writing anything to the container
90 uint32_t container = FRUDATA_DELETE_TAG_KEY; local
94 PICL_PROP_CONTAINER, (void *)&container,
95 sizeof (container))) != PICL_SUCCESS) {
341 /* there is data for this node. (ie fru is a container) */
969 picl_nodehdl_t container = TREEHDL_TO_PICLHDL(treenode), local
973 if ((status = update_data_nodes(container)) != FRU_SUCCESS)
977 for (status = ptree_get_propval_by_name(container, PICL_PROP_CHILD,
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ads.c814 * cn=<sharename>,<container RDNs>,<domain DN>
816 * If the domain DN is not included in the container parameter,
822 smb_ads_get_sharedn(const char *sharename, const char *container, argument
829 container_len = strlen(container);
837 if (smb_strcasecmp(container + offset,
844 container, domain_dn);
847 container);
859 * The container location to add the object needs to specified.
920 * Call by smb_ads_remove_share to remove share object from ADS. The container
1010 * specified ADS container
[all...]
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_regs.h767 * Used to flush drive cache for container "cid"
1220 struct aac_AifContainers container; /* For Container and */ member in union:aac_AifJobClient
1248 AifEnContainerChange, /* Adapter specific container cfg. change */
1251 AifEnContainerEvent, /* Significant container event */
1259 AifEnAddContainer, /* A new container was created. */
1260 AifEnDeleteContainer, /* A container was deleted. */
1282 uint32_t container; /* Container with failed element */ member in struct:aac_AifEnsMirrorFailover
1288 uint32_t container[2]; /* container that changed, -1 if */ member in struct:aac_AifEnsContainerChange
1289 /* no container */
1293 uint32_t container; /* container number */ member in struct:aac_AifEnsContainerEvent
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_confmgr.c580 char *profile, *container, *base; local
620 container = _PROFILE_CONTAINER;
626 (void) fprintf(fp, "dn: cn=%s,ou=%s,%s\n", profile, container, base);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c80 /* called to allocate container hash object */
737 * Description :fru_open_container() opens the container associated with a fru.
738 * it's called by data plugin module before creating container
745 * FRU with the container to open.
748 * On Success, a Positive integer container handle. is returned
813 /* takes driver binding name as to get container information */
876 * container. it calls get_container_index() to get the container
877 * index number in the container list.
880 * container_hdl_t : container handl
889 fru_get_num_sections(container_hdl_t container, door_cred_t *cred) argument
1050 fru_get_sections(container_hdl_t container, section_t *section, int maxsec, door_cred_t *cred) argument
2657 fru_close_container(container_hdl_t container) argument
[all...]

Completed in 139 milliseconds

12