/linux/fs/nfsd/ |
H A D | export.c | 78 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 (qword_get(&mesg, buf, PAGE_SIZE) <= 0) in expkey_parse() 110 if (qword_get(&mesg, buf, PAGE_SIZE) <= 0) in expkey_parse() 118 if ((len=qword_get(&mesg, buf, PAGE_SIZE)) <= 0) in expkey_parse() 126 err = get_expiry(&mesg, &key.h.expiry_time); in expkey_parse() 141 len = qword_get(&mesg, buf, PAGE_SIZE); in expkey_parse() 464 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument 474 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse() [all …]
|
H A D | nfsctl.c | 319 char *mesg = buf; in write_filehandle() 331 dname = mesg; in write_filehandle() 332 len = qword_get(&mesg, dname, size); in write_filehandle() 337 len = qword_get(&mesg, path, size); in write_filehandle() 341 len = get_int(&mesg, &maxsize); in write_filehandle() 349 if (qword_get(&mesg, mesg, size) > 0) in write_filehandle() 364 mesg = buf; in write_filehandle() 366 qword_addhex(&mesg, &len, fh.fh_raw, fh.fh_size); in write_filehandle() 367 mesg[ in write_filehandle() 322 char *mesg = buf; write_filehandle() local 404 char *mesg = buf; write_threads() local 454 char *mesg = buf; write_pool_threads() local 547 char *mesg = buf; __write_versions() local 711 char *mesg = buf; __write_ports_addfd() local 876 char *mesg = buf; write_maxblksize() local 927 char *mesg = buf; write_maxconn() local 948 char *mesg = buf; __nfsd4_write_time() local 1038 char *mesg = buf; __write_recoverydir() local [all...] |
/linux/net/atm/ |
H A D | lec.c | 143 struct atmlec_msg *mesg; in lec_handle_bridge() local 149 mesg = (struct atmlec_msg *)skb2->data; in lec_handle_bridge() 150 mesg->type = l_topology_change; in lec_handle_bridge() 152 mesg->content.normal.flag = *buff & 0x01; in lec_handle_bridge() 347 struct atmlec_msg *mesg; in lec_atm_send() local 352 mesg = (struct atmlec_msg *)skb->data; in lec_atm_send() 355 pr_debug("%s: msg from zeppelin:%d\n", dev->name, mesg->type); in lec_atm_send() 356 switch (mesg->type) { in lec_atm_send() 358 eth_hw_addr_set(dev, mesg->content.normal.mac_addr); in lec_atm_send() 364 lec_addr_delete(priv, mesg->content.normal.atm_addr, in lec_atm_send() [all …]
|
H A D | mpc.c | 78 static void set_mpc_ctrl_addr_rcvd(struct k_message *mesg, 80 static void set_mps_mac_addr_rcvd(struct k_message *mesg, 860 struct k_message mesg; in send_set_mps_ctrl_addr() local 864 mesg.type = SET_MPS_CTRL_ADDR; in send_set_mps_ctrl_addr() 865 memcpy(mesg.MPS_ctrl, addr, ATM_ESA_LEN); in send_set_mps_ctrl_addr() 866 msg_to_mpoad(&mesg, mpc); in send_set_mps_ctrl_addr() 912 struct k_message *mesg = (struct k_message *)skb->data; in msg_from_mpoad() local 920 switch (mesg->type) { in msg_from_mpoad() 923 MPOA_res_reply_rcvd(mesg, mpc); in msg_from_mpoad() 927 MPOA_trigger_rcvd(mesg, mpc); in msg_from_mpoad() [all …]
|
/linux/drivers/misc/sgi-gru/ |
H A D | grukservices.c | 578 void *mesg) in send_noop_message() argument 584 struct message_header save_mhdr, *mhdr = mesg; in send_noop_message() 614 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, 1, 1, in send_noop_message() 636 void *mesg, int lines) in send_message_queue_full() argument 667 if (send_noop_message(cb, mqd, mesg)) { in send_message_queue_full() 705 void *mesg, int lines) in send_message_put_nacked() argument 716 gru_vstore(cb, m, gru_get_tri(mesg), XTYPE_CL, lines, 1, IMA); in send_message_put_nacked() 732 ret = send_noop_message(cb, mqd, mesg); in send_message_put_nacked() 753 void *mesg, int lines) in send_message_failure() argument 769 ret = send_message_queue_full(cb, mqd, mesg, lines); in send_message_failure() [all …]
|
H A D | grukservices.h | 82 void *mesg, unsigned int bytes);
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 275 struct ip_vs_sync_mesg *mesg; member 338 sb->mesg = kmalloc(len, GFP_ATOMIC); in ip_vs_sync_buff_create() 339 if (!sb->mesg) { in ip_vs_sync_buff_create() 343 sb->mesg->reserved = 0; /* old nr_conns i.e. must be zero now */ in ip_vs_sync_buff_create() 344 sb->mesg->version = SYNC_PROTO_VER; in ip_vs_sync_buff_create() 345 sb->mesg->syncid = ipvs->mcfg.syncid; in ip_vs_sync_buff_create() 346 sb->mesg->size = htons(sizeof(struct ip_vs_sync_mesg)); in ip_vs_sync_buff_create() 347 sb->mesg->nr_conns = 0; in ip_vs_sync_buff_create() 348 sb->mesg->spare = 0; in ip_vs_sync_buff_create() 349 sb->head = (unsigned char *)sb->mesg + sizeof(struct ip_vs_sync_mesg); in ip_vs_sync_buff_create() [all …]
|
/linux/net/sunrpc/ |
H A D | svcauth_unix.c | 179 char *mesg, int mlen) in ip_map_parse() argument 184 char *buf = mesg; in ip_map_parse() 199 if (mesg[mlen-1] != '\n') in ip_map_parse() 201 mesg[mlen-1] = 0; in ip_map_parse() 204 len = qword_get(&mesg, class, sizeof(class)); in ip_map_parse() 208 len = qword_get(&mesg, buf, mlen); in ip_map_parse() 229 err = get_expiry(&mesg, &expiry); in ip_map_parse() 234 len = qword_get(&mesg, buf, mlen); in ip_map_parse() 488 char *mesg, int mlen) in unix_gid_parse() argument 500 if (mesg[mlen - 1] != '\n') in unix_gid_parse() [all …]
|
/linux/drivers/iio/dac/ |
H A D | ti-dac082s085.c | 52 struct spi_message mesg; member 72 return spi_sync(ti_dac->mesg.spi, &ti_dac->mesg); in ti_dac_cmd() 281 spi_message_init_with_transfers(&ti_dac->mesg, &ti_dac->xfer, 1); in ti_dac_probe() 282 ti_dac->mesg.spi = spi; in ti_dac_probe()
|
/linux/net/sunrpc/auth_gss/ |
H A D | svcauth_gss.c | 226 char *mesg, int mlen) in rsi_parse() argument 229 char *buf = mesg; in rsi_parse() 238 len = qword_get(&mesg, buf, mlen); in rsi_parse() 246 len = qword_get(&mesg, buf, mlen); in rsi_parse() 260 status = get_expiry(&mesg, &expiry); in rsi_parse() 266 len = qword_get(&mesg, buf, mlen); in rsi_parse() 272 len = qword_get(&mesg, buf, mlen); in rsi_parse() 280 len = qword_get(&mesg, buf, mlen); in rsi_parse() 288 len = qword_get(&mesg, buf, mlen); in rsi_parse() 465 char *mesg, in in rsc_parse() argument [all...] |
/linux/drivers/spi/ |
H A D | spi-fsi.c | 425 struct spi_message *mesg) in fsi_spi_transfer_one_message() argument 428 u8 seq_slave = SPI_FSI_SEQUENCE_SEL_SLAVE(spi_get_chipselect(mesg->spi, 0) + 1); in fsi_spi_transfer_one_message() 437 list_for_each_entry(transfer, &mesg->transfers, transfer_list) { in fsi_spi_transfer_one_message() 465 &mesg->transfers)) { in fsi_spi_transfer_one_message() 507 mesg->status = rc; in fsi_spi_transfer_one_message()
|
/linux/drivers/ata/ |
H A D | pata_triflex.c | 198 static int triflex_ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in triflex_ata_pci_device_suspend() argument 202 ata_host_suspend(host, mesg); in triflex_ata_pci_device_suspend()
|
H A D | pata_cs5520.c | 253 static int cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) in cs5520_pci_device_suspend() argument 257 ata_host_suspend(host, mesg); in cs5520_pci_device_suspend()
|
H A D | pata_macio.c | 871 static int pata_macio_do_suspend(struct pata_macio_priv *priv, pm_message_t mesg) in pata_macio_do_suspend() argument 874 ata_host_suspend(priv->host, mesg); in pata_macio_do_suspend() 1223 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend() argument 1227 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_suspend() 1327 static int pata_macio_pci_suspend(struct pci_dev *pdev, pm_message_t mesg) in pata_macio_pci_suspend() argument 1331 return pata_macio_do_suspend(host->private_data, mesg); in pata_macio_pci_suspend()
|
H A D | libata-core.c | 5096 static void ata_port_request_pm(struct ata_port *ap, pm_message_t mesg, in ata_port_request_pm() argument 5116 ap->pm_mesg = mesg; in ata_port_request_pm() 5131 static void ata_port_suspend(struct ata_port *ap, pm_message_t mesg, in ata_port_suspend() argument 5150 ata_port_request_pm(ap, mesg, 0, in ata_port_suspend() 5185 static void ata_port_resume(struct ata_port *ap, pm_message_t mesg, in ata_port_resume() argument 5188 ata_port_request_pm(ap, mesg, ATA_EH_RESET, in ata_port_resume() 5273 void ata_host_suspend(struct ata_host *host, pm_message_t mesg) in ata_host_suspend() argument 5275 host->dev->power.power_state = mesg; in ata_host_suspend() 6175 void ata_pci_device_do_suspend(struct pci_dev *pdev, pm_message_t mesg) in ata_pci_device_do_suspend() argument 6180 if (mesg.event & PM_EVENT_SLEEP) in ata_pci_device_do_suspend() [all …]
|
H A D | sata_nv.c | 309 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg); 331 static int nv_swncq_port_suspend(struct ata_port *ap, pm_message_t mesg); 1199 static int nv_adma_port_suspend(struct ata_port *ap, pm_message_t mesg) in nv_adma_port_suspend() argument 1810 static int nv_swncq_port_suspend(struct ata_port *ap, pm_message_t mesg) in nv_swncq_port_suspend() argument
|
/linux/drivers/gpio/ |
H A D | gpio-max3191x.c | 81 struct spi_message mesg; member 130 val = spi_sync(spi, &max3191x->mesg); in max3191x_readout_locked() 417 spi_message_init_with_transfers(&max3191x->mesg, &max3191x->xfer, 1); in max3191x_probe()
|
/linux/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 1045 static int nvidiafb_suspend_late(struct device *dev, pm_message_t mesg) in nvidiafb_suspend_late() argument 1050 if (mesg.event == PM_EVENT_PRETHAW) in nvidiafb_suspend_late() 1051 mesg.event = PM_EVENT_FREEZE; in nvidiafb_suspend_late() 1053 par->pm_state = mesg.event; in nvidiafb_suspend_late() 1055 if (mesg.event & PM_EVENT_SLEEP) { in nvidiafb_suspend_late() 1060 dev->power.power_state = mesg; in nvidiafb_suspend_late()
|
/linux/include/linux/spi/ |
H A D | spi.h | 672 struct spi_message *mesg); 721 struct spi_message *mesg);
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 1298 char mesg[64]; in qlcnic_dump_fw() local 1299 char *msg[] = {mesg, NULL}; in qlcnic_dump_fw() 1390 snprintf(mesg, sizeof(mesg), "FW_DUMP=%s", adapter->netdev->name); in qlcnic_dump_fw()
|
/linux/drivers/video/fbdev/savage/ |
H A D | savagefb_driver.c | 2361 static int savagefb_suspend_late(struct device *dev, pm_message_t mesg) in savagefb_suspend_late() argument 2368 if (mesg.event == PM_EVENT_PRETHAW) in savagefb_suspend_late() 2369 mesg.event = PM_EVENT_FREEZE; in savagefb_suspend_late() 2370 par->pm_state = mesg.event; in savagefb_suspend_late() 2371 dev->power.power_state = mesg; in savagefb_suspend_late() 2377 if (mesg.event == PM_EVENT_FREEZE) in savagefb_suspend_late()
|
/linux/include/linux/ |
H A D | libata.h | 995 int (*port_suspend)(struct ata_port *ap, pm_message_t mesg); 1153 extern void ata_host_suspend(struct ata_host *host, pm_message_t mesg); 1339 extern void ata_pci_device_do_suspend(struct pci_dev *pdev, pm_message_t mesg); 1341 extern int ata_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg);
|
/linux/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 1567 static int i810fb_suspend(struct pci_dev *dev, pm_message_t mesg) in i810fb_suspend() argument 1572 par->cur_state = mesg.event; in i810fb_suspend() 1574 switch (mesg.event) { in i810fb_suspend() 1577 dev->dev.power.power_state = mesg; in i810fb_suspend() 1593 pci_set_power_state(dev, pci_choose_state(dev, mesg)); in i810fb_suspend()
|
/linux/drivers/base/ |
H A D | platform.c | 1095 static int platform_legacy_suspend(struct device *dev, pm_message_t mesg) in platform_legacy_suspend() argument 1102 ret = pdrv->suspend(pdev, mesg); in platform_legacy_suspend()
|
/linux/drivers/video/fbdev/aty/ |
H A D | radeon_pm.c | 2613 static int radeonfb_pci_suspend_late(struct device *dev, pm_message_t mesg) in radeonfb_pci_suspend_late() argument 2619 if (mesg.event == pdev->dev.power.power_state.event) in radeonfb_pci_suspend_late() 2623 pci_name(pdev), mesg.event); in radeonfb_pci_suspend_late() 2630 switch (mesg.event) { in radeonfb_pci_suspend_late() 2697 pdev->dev.power.power_state = mesg; in radeonfb_pci_suspend_late()
|