Home
last modified time | relevance | path

Searched refs:mesg (Results 1 – 25 of 79) sorted by relevance

1234

/linux-3.4.99/fs/nfsd/
Dnfsctl.c310 char *mesg = buf; in write_filehandle() local
322 dname = mesg; in write_filehandle()
323 len = qword_get(&mesg, dname, size); in write_filehandle()
328 len = qword_get(&mesg, path, size); in write_filehandle()
332 len = get_int(&mesg, &maxsize); in write_filehandle()
341 if (qword_get(&mesg, mesg, size)>0) in write_filehandle()
354 mesg = buf; in write_filehandle()
356 qword_addhex(&mesg, &len, (char*)&fh.fh_base, fh.fh_size); in write_filehandle()
357 mesg[-1] = '\n'; in write_filehandle()
358 return mesg - buf; in write_filehandle()
[all …]
Dexport.c78 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument
90 if (mesg[mlen - 1] != '\n') in expkey_parse()
92 mesg[mlen-1] = 0; in expkey_parse()
100 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
110 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
118 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse()
126 key.h.expiry_time = get_expiry(&mesg); in expkey_parse()
141 len = qword_get(&mesg, buf, PAGE_SIZE); in expkey_parse()
398 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument
404 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()
[all …]
/linux-3.4.99/drivers/spi/
Dspi-rspi.c240 static int rspi_send_pio(struct rspi_data *rspi, struct spi_message *mesg, in rspi_send_pio() argument
268 static int rspi_receive_pio(struct rspi_data *rspi, struct spi_message *mesg, in rspi_receive_pio() argument
313 struct spi_message *mesg; in rspi_work() local
320 mesg = list_entry(rspi->queue.next, struct spi_message, queue); in rspi_work()
321 list_del_init(&mesg->queue); in rspi_work()
326 list_for_each_entry(t, &mesg->transfers, transfer_list) { in rspi_work()
328 ret = rspi_send_pio(rspi, mesg, t); in rspi_work()
333 ret = rspi_receive_pio(rspi, mesg, t); in rspi_work()
337 mesg->actual_length += t->len; in rspi_work()
341 mesg->status = 0; in rspi_work()
[all …]
Dspi-sh.c167 static int spi_sh_send(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_send() argument
215 if (list_is_last(&t->transfer_list, &mesg->transfers)) { in spi_sh_send()
235 static int spi_sh_receive(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_receive() argument
297 struct spi_message *mesg; in spi_sh_work() local
306 mesg = list_entry(ss->queue.next, struct spi_message, queue); in spi_sh_work()
307 list_del_init(&mesg->queue); in spi_sh_work()
310 list_for_each_entry(t, &mesg->transfers, transfer_list) { in spi_sh_work()
317 ret = spi_sh_send(ss, mesg, t); in spi_sh_work()
322 ret = spi_sh_receive(ss, mesg, t); in spi_sh_work()
326 mesg->actual_length += t->len; in spi_sh_work()
[all …]
Dspi.c651 struct spi_message *mesg; in spi_finalize_current_message() local
655 mesg = master->cur_msg; in spi_finalize_current_message()
661 mesg->state = NULL; in spi_finalize_current_message()
662 if (mesg->complete) in spi_finalize_current_message()
663 mesg->complete(mesg->context); in spi_finalize_current_message()
/linux-3.4.99/drivers/isdn/sc/
Dmessage.h38 #define IS_CM_MESSAGE(mesg, tx, cx, dx) \ argument
39 ((mesg.type == cmRspType##tx) \
40 && (mesg.class == cmRspClass##cx) \
41 && (mesg.code == cmRsp##dx))
46 #define IS_CE_MESSAGE(mesg, tx, cx, dx) \ argument
47 ((mesg.type == ceRspType##tx) \
48 && (mesg.class == ceRspClass##cx) \
49 && (mesg.code == ceRsp##tx##dx))
/linux-3.4.99/net/atm/
Dlec.c144 struct atmlec_msg *mesg; in lec_handle_bridge() local
150 mesg = (struct atmlec_msg *)skb2->data; in lec_handle_bridge()
151 mesg->type = l_topology_change; in lec_handle_bridge()
153 mesg->content.normal.flag = *buff & 0x01; in lec_handle_bridge()
421 struct atmlec_msg *mesg; in lec_atm_send() local
427 mesg = (struct atmlec_msg *)skb->data; in lec_atm_send()
430 pr_debug("%s: msg from zeppelin:%d\n", dev->name, mesg->type); in lec_atm_send()
431 switch (mesg->type) { in lec_atm_send()
434 dev->dev_addr[i] = mesg->content.normal.mac_addr[i]; in lec_atm_send()
441 lec_addr_delete(priv, mesg->content.normal.atm_addr, in lec_atm_send()
[all …]
Dmpc.c77 static void set_mpc_ctrl_addr_rcvd(struct k_message *mesg,
79 static void set_mps_mac_addr_rcvd(struct k_message *mesg,
862 struct k_message mesg; in send_set_mps_ctrl_addr() local
866 mesg.type = SET_MPS_CTRL_ADDR; in send_set_mps_ctrl_addr()
867 memcpy(mesg.MPS_ctrl, addr, ATM_ESA_LEN); in send_set_mps_ctrl_addr()
868 msg_to_mpoad(&mesg, mpc); in send_set_mps_ctrl_addr()
914 struct k_message *mesg = (struct k_message *)skb->data; in msg_from_mpoad() local
922 switch (mesg->type) { in msg_from_mpoad()
925 MPOA_res_reply_rcvd(mesg, mpc); in msg_from_mpoad()
929 MPOA_trigger_rcvd(mesg, mpc); in msg_from_mpoad()
[all …]
/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_sync.c269 struct ip_vs_sync_mesg *mesg; member
332 sb->mesg = kmalloc(ipvs->send_mesg_maxlen, GFP_ATOMIC); in ip_vs_sync_buff_create()
333 if (!sb->mesg) { in ip_vs_sync_buff_create()
337 sb->mesg->reserved = 0; /* old nr_conns i.e. must be zeo now */ in ip_vs_sync_buff_create()
338 sb->mesg->version = SYNC_PROTO_VER; in ip_vs_sync_buff_create()
339 sb->mesg->syncid = ipvs->master_syncid; in ip_vs_sync_buff_create()
340 sb->mesg->size = sizeof(struct ip_vs_sync_mesg); in ip_vs_sync_buff_create()
341 sb->mesg->nr_conns = 0; in ip_vs_sync_buff_create()
342 sb->mesg->spare = 0; in ip_vs_sync_buff_create()
343 sb->head = (unsigned char *)sb->mesg + sizeof(struct ip_vs_sync_mesg); in ip_vs_sync_buff_create()
[all …]
/linux-3.4.99/drivers/misc/sgi-gru/
Dgrukservices.c587 void *mesg) in send_noop_message() argument
593 struct message_header save_mhdr, *mhdr = mesg; in send_noop_message()
623 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, 1, 1, in send_noop_message()
645 void *mesg, int lines) in send_message_queue_full() argument
676 if (send_noop_message(cb, mqd, mesg)) { in send_message_queue_full()
714 void *mesg, int lines) in send_message_put_nacked() argument
716 unsigned long m, *val = mesg, gpa, save; in send_message_put_nacked()
725 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, lines, 1, IMA); in send_message_put_nacked()
743 gru_vstore_phys(cb, gpa, gru_get_tri(mesg), IAA_REGISTER, IMA); in send_message_put_nacked()
756 void *mesg, int lines) in send_message_failure() argument
[all …]
Dgrukservices.h95 void *mesg, unsigned int bytes);
/linux-3.4.99/net/sunrpc/
Dsvcauth_unix.c182 char *mesg, int mlen) in ip_map_parse() argument
187 char *buf = mesg; in ip_map_parse()
202 if (mesg[mlen-1] != '\n') in ip_map_parse()
204 mesg[mlen-1] = 0; in ip_map_parse()
207 len = qword_get(&mesg, class, sizeof(class)); in ip_map_parse()
211 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
232 expiry = get_expiry(&mesg); in ip_map_parse()
237 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
499 char *mesg, int mlen) in unix_gid_parse() argument
510 if (mesg[mlen - 1] != '\n') in unix_gid_parse()
[all …]
/linux-3.4.99/net/sunrpc/auth_gss/
Dsvcauth_gss.c191 char *mesg, int mlen) in rsi_parse() argument
194 char *buf = mesg; in rsi_parse()
203 len = qword_get(&mesg, buf, mlen); in rsi_parse()
211 len = qword_get(&mesg, buf, mlen); in rsi_parse()
225 expiry = get_expiry(&mesg); in rsi_parse()
231 len = qword_get(&mesg, buf, mlen); in rsi_parse()
237 len = qword_get(&mesg, buf, mlen); in rsi_parse()
245 len = qword_get(&mesg, buf, mlen); in rsi_parse()
253 len = qword_get(&mesg, buf, mlen); in rsi_parse()
419 char *mesg, int mlen) in rsc_parse() argument
[all …]
/linux-3.4.99/drivers/ide/
Dide-pm.c5 int generic_ide_suspend(struct device *dev, pm_message_t mesg) in generic_ide_suspend() argument
25 if (mesg.event == PM_EVENT_PRETHAW) in generic_ide_suspend()
26 mesg.event = PM_EVENT_FREEZE; in generic_ide_suspend()
27 rqpm.pm_state = mesg.event; in generic_ide_suspend()
Dpmac.c1230 pmac_ide_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pmac_ide_macio_suspend() argument
1236 if (mesg.event != mdev->ofdev.dev.power.power_state.event in pmac_ide_macio_suspend()
1237 && (mesg.event & PM_EVENT_SLEEP)) { in pmac_ide_macio_suspend()
1240 mdev->ofdev.dev.power.power_state = mesg; in pmac_ide_macio_suspend()
1336 pmac_ide_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pmac_ide_pci_suspend() argument
1341 if (mesg.event != pdev->dev.power.power_state.event in pmac_ide_pci_suspend()
1342 && (mesg.event & PM_EVENT_SLEEP)) { in pmac_ide_pci_suspend()
1345 pdev->dev.power.power_state = mesg; in pmac_ide_pci_suspend()
/linux-3.4.99/drivers/ata/
Dacard-ahci.c82 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
129 static int acard_ahci_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in acard_ahci_pci_device_suspend() argument
136 if (mesg.event & PM_EVENT_SUSPEND && in acard_ahci_pci_device_suspend()
143 if (mesg.event & PM_EVENT_SLEEP) { in acard_ahci_pci_device_suspend()
154 return ata_pci_device_suspend(pdev, mesg); in acard_ahci_pci_device_suspend()
Dpata_triflex.c212 static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in triflex_ata_pci_device_suspend() argument
217 rc = ata_host_suspend(host, mesg); in triflex_ata_pci_device_suspend()
Dpata_cs5520.c270 static int cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in cs5520_pci_device_suspend() argument
275 rc = ata_host_suspend(host, mesg); in cs5520_pci_device_suspend()
/linux-3.4.99/include/linux/spi/
Dspi.h181 int (*suspend)(struct spi_device *spi, pm_message_t mesg);
339 struct spi_message *mesg);
363 struct spi_message *mesg);
/linux-3.4.99/drivers/video/omap/
Dlcd_htcherald.c97 pm_message_t mesg) in htcherald_panel_suspend() argument
Dlcd_inn1510.c91 pm_message_t mesg) in innovator1510_panel_suspend() argument
Dlcd_palmte.c90 static int palmte_panel_suspend(struct platform_device *pdev, pm_message_t mesg) in palmte_panel_suspend() argument
Dlcd_palmtt.c95 static int palmtt_panel_suspend(struct platform_device *pdev, pm_message_t mesg) in palmtt_panel_suspend() argument
Dlcd_palmz71.c91 pm_message_t mesg) in palmz71_panel_suspend() argument
Dlcd_osk.c109 static int osk_panel_suspend(struct platform_device *pdev, pm_message_t mesg) in osk_panel_suspend() argument

1234