Searched refs:chead (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/libdscfg/common/ |
H A D | cfg.c | 70 static struct parser chead[MAX_CFG] = { NULL }; variable 236 if (chead[i].tag.l_word[0] == '\0') { in cfg_get_parser_offset() 240 if (strcmp(chead[i].tag.l_word, section) == 0) in cfg_get_parser_offset() 471 if (cfg_filter_node(cfg, &chead[0], buf, section)) in cfg_get_cstring() 498 needed = cfg_get_item(&chead[0], section, itemp); in cfg_get_cstring() 569 nflds = cfg_get_num_flds(&chead[0], section, &tbl_off); in cfg_find_cstring() 628 fieldnum = cfg_get_item(&chead[0], section, fldbuf[j]); in cfg_find_cstring() 785 if (cfg_filter_node(cfg, &chead[0], tmpbuf, in cfg_put_cstring() 806 nflds = cfg_get_num_flds(&chead[0], section, &table_index); in cfg_put_cstring() 840 cfg_insert_node(cfg, &chead[0], buf, section); in cfg_put_cstring() [all …]
|
/titanic_44/usr/src/uts/common/io/ |
H A D | lofi.c | 1916 struct crypto_meta chead; in lofi_init_crypto() local 2045 chead.version = htons(LOFI_CRYPTO_VERSION); in lofi_init_crypto() 2046 bcopy(&(chead.version), marker, sizeof (chead.version)); in lofi_init_crypto() 2047 marker += sizeof (chead.version); in lofi_init_crypto() 2048 marker += sizeof (chead.reserved1); in lofi_init_crypto() 2049 chead.data_sector = htonl(LOFI_CRYPTO_DATA_SECTOR); in lofi_init_crypto() 2050 bcopy(&(chead.data_sector), marker, sizeof (chead.data_sector)); in lofi_init_crypto()
|