Home
last modified time | relevance | path

Searched refs:p_header (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/staging/speakup/
Dvarhandlers.c90 struct st_var_header *p_header; in speakup_register_var() local
95 p_header = &var_headers[i]; in speakup_register_var()
96 var_ptrs[p_header->var_id] = p_header; in speakup_register_var()
97 p_header->data = NULL; in speakup_register_var()
100 p_header = var_ptrs[var->var_id]; in speakup_register_var()
101 if (p_header->data != NULL) in speakup_register_var()
103 p_header->data = var; in speakup_register_var()
104 switch (p_header->var_type) { in speakup_register_var()
106 set_string_var(nothing, p_header, 0); in speakup_register_var()
110 set_num_var(0, p_header, E_DEFAULT); in speakup_register_var()
[all …]
Dkobjects.c453 struct st_var_header *p_header; in punc_show() local
459 p_header = var_header_by_name(attr->attr.name); in punc_show()
460 if (p_header == NULL) { in punc_show()
466 var = get_punc_var(p_header->var_id); in punc_show()
469 p_header->var_id); in punc_show()
492 struct st_var_header *p_header; in punc_store() local
501 p_header = var_header_by_name(attr->attr.name); in punc_store()
502 if (p_header == NULL) { in punc_store()
508 var = get_punc_var(p_header->var_id); in punc_store()
511 p_header->var_id); in punc_store()
Dmain.c1760 struct st_var_header *p_header; in inc_dec_var() local
1768 p_header = get_var_header(var_id); in inc_dec_var()
1769 if (p_header == NULL) in inc_dec_var()
1771 if (p_header->var_type != VAR_NUM) in inc_dec_var()
1773 var_data = p_header->data; in inc_dec_var()
1774 if (set_num_var(1, p_header, how) != 0) in inc_dec_var()
1777 for (pn = p_header->name; *pn; pn++) { in inc_dec_var()
/linux-2.6.39/drivers/s390/net/
Dctcm_main.c665 struct pdu *p_header; in ctcmpc_transmit_skb() local
684 p_header = kmalloc(PDU_HEADER_LENGTH, gfp_type()); in ctcmpc_transmit_skb()
686 if (!p_header) { in ctcmpc_transmit_skb()
691 p_header->pdu_offset = skb->len; in ctcmpc_transmit_skb()
692 p_header->pdu_proto = 0x01; in ctcmpc_transmit_skb()
693 p_header->pdu_flag = 0x00; in ctcmpc_transmit_skb()
695 p_header->pdu_flag |= PDU_FIRST | PDU_CNTL; in ctcmpc_transmit_skb()
697 p_header->pdu_flag |= PDU_FIRST; in ctcmpc_transmit_skb()
699 p_header->pdu_seq = 0; in ctcmpc_transmit_skb()
700 memcpy(skb_push(skb, PDU_HEADER_LENGTH), p_header, in ctcmpc_transmit_skb()
[all …]
Dctcm_fsms.c1233 struct pdu *p_header; in ctcmpc_chx_txdone() local
1280 p_header = NULL; in ctcmpc_chx_txdone()
1289 p_header = (struct pdu *) in ctcmpc_chx_txdone()
1291 p_header->pdu_flag = 0x00; in ctcmpc_chx_txdone()
1293 p_header->pdu_flag |= 0x60; in ctcmpc_chx_txdone()
1295 p_header->pdu_flag |= 0x20; in ctcmpc_chx_txdone()
1301 CTCM_D3_DUMP((char *)p_header, min_t(int, skb->len, 32)); in ctcmpc_chx_txdone()
1315 if (p_header) in ctcmpc_chx_txdone()
1316 p_header->pdu_flag |= PDU_LAST; /*Say it's the last one*/ in ctcmpc_chx_txdone()
/linux-2.6.39/drivers/block/drbd/
Ddrbd_int.h351 union p_header { union
382 union p_header head;
636 union p_header header;
Ddrbd_receiver.c929 union p_header *h = &mdev->data.rbuf.header; in drbd_recv_header()
3700 union p_header *header = &mdev->data.rbuf.header; in drbdd()
3716 shs = drbd_cmd_handler[cmd].pkt_size - sizeof(union p_header); in drbdd()
Ddrbd_main.c2678 cpu_to_be16(sizeof(p) - sizeof(union p_header) + dgs + req->size); in drbd_send_dblock()
2683 cpu_to_be32(sizeof(p) - sizeof(union p_header) + dgs + req->size); in drbd_send_dblock()