Searched refs:hello (Results 1 - 44 of 44) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_proto.c31 * pro_send_hello : send hello message
32 * pro_recv_hello : receive hello message
453 ksocknal_send_hello_v1(ksock_conn_t *conn, ksock_hello_msg_t *hello) ksocknal_send_hello_v1() argument
491 hdr->src_nid = cpu_to_le64 (hello->kshm_src_nid); ksocknal_send_hello_v1()
492 hdr->src_pid = cpu_to_le32 (hello->kshm_src_pid); ksocknal_send_hello_v1()
494 hdr->payload_length = cpu_to_le32 (hello->kshm_nips * sizeof(__u32)); ksocknal_send_hello_v1()
495 hdr->msg.hello.type = cpu_to_le32 (hello->kshm_ctype); ksocknal_send_hello_v1()
496 hdr->msg.hello.incarnation = cpu_to_le64 (hello->kshm_src_incarnation); ksocknal_send_hello_v1()
505 if (hello->kshm_nips == 0) ksocknal_send_hello_v1()
508 for (i = 0; i < (int) hello->kshm_nips; i++) { ksocknal_send_hello_v1()
509 hello->kshm_ips[i] = __cpu_to_le32 (hello->kshm_ips[i]); ksocknal_send_hello_v1()
512 rc = lnet_sock_write(sock, hello->kshm_ips, ksocknal_send_hello_v1()
513 hello->kshm_nips * sizeof(__u32), ksocknal_send_hello_v1()
517 rc, hello->kshm_nips, ksocknal_send_hello_v1()
527 ksocknal_send_hello_v2(ksock_conn_t *conn, ksock_hello_msg_t *hello) ksocknal_send_hello_v2() argument
532 hello->kshm_magic = LNET_PROTO_MAGIC; ksocknal_send_hello_v2()
533 hello->kshm_version = conn->ksnc_proto->pro_version; ksocknal_send_hello_v2()
539 hello->kshm_version++; /* just different! */ ksocknal_send_hello_v2()
545 rc = lnet_sock_write(sock, hello, offsetof(ksock_hello_msg_t, kshm_ips), ksocknal_send_hello_v2()
553 if (hello->kshm_nips == 0) ksocknal_send_hello_v2()
556 rc = lnet_sock_write(sock, hello->kshm_ips, ksocknal_send_hello_v2()
557 hello->kshm_nips * sizeof(__u32), ksocknal_send_hello_v2()
561 rc, hello->kshm_nips, ksocknal_send_hello_v2()
569 ksocknal_recv_hello_v1(ksock_conn_t *conn, ksock_hello_msg_t *hello, ksocknal_recv_hello_v1() argument
602 hello->kshm_src_nid = le64_to_cpu(hdr->src_nid); ksocknal_recv_hello_v1()
603 hello->kshm_src_pid = le32_to_cpu(hdr->src_pid); ksocknal_recv_hello_v1()
604 hello->kshm_src_incarnation = le64_to_cpu(hdr->msg.hello.incarnation); ksocknal_recv_hello_v1()
605 hello->kshm_ctype = le32_to_cpu(hdr->msg.hello.type); ksocknal_recv_hello_v1()
606 hello->kshm_nips = le32_to_cpu(hdr->payload_length) / ksocknal_recv_hello_v1()
609 if (hello->kshm_nips > LNET_MAX_INTERFACES) { ksocknal_recv_hello_v1()
611 hello->kshm_nips, &conn->ksnc_ipaddr); ksocknal_recv_hello_v1()
616 if (hello->kshm_nips == 0) ksocknal_recv_hello_v1()
619 rc = lnet_sock_read(sock, hello->kshm_ips, ksocknal_recv_hello_v1()
620 hello->kshm_nips * sizeof(__u32), timeout); ksocknal_recv_hello_v1()
628 for (i = 0; i < (int) hello->kshm_nips; i++) { ksocknal_recv_hello_v1()
629 hello->kshm_ips[i] = __le32_to_cpu(hello->kshm_ips[i]); ksocknal_recv_hello_v1()
631 if (hello->kshm_ips[i] == 0) { ksocknal_recv_hello_v1()
645 ksocknal_recv_hello_v2(ksock_conn_t *conn, ksock_hello_msg_t *hello, int timeout) ksocknal_recv_hello_v2() argument
651 if (hello->kshm_magic == LNET_PROTO_MAGIC) ksocknal_recv_hello_v2()
656 rc = lnet_sock_read(sock, &hello->kshm_src_nid, ksocknal_recv_hello_v2()
668 __swab32s(&hello->kshm_src_pid); ksocknal_recv_hello_v2()
669 __swab64s(&hello->kshm_src_nid); ksocknal_recv_hello_v2()
670 __swab32s(&hello->kshm_dst_pid); ksocknal_recv_hello_v2()
671 __swab64s(&hello->kshm_dst_nid); ksocknal_recv_hello_v2()
672 __swab64s(&hello->kshm_src_incarnation); ksocknal_recv_hello_v2()
673 __swab64s(&hello->kshm_dst_incarnation); ksocknal_recv_hello_v2()
674 __swab32s(&hello->kshm_ctype); ksocknal_recv_hello_v2()
675 __swab32s(&hello->kshm_nips); ksocknal_recv_hello_v2()
678 if (hello->kshm_nips > LNET_MAX_INTERFACES) { ksocknal_recv_hello_v2()
680 hello->kshm_nips, &conn->ksnc_ipaddr); ksocknal_recv_hello_v2()
684 if (hello->kshm_nips == 0) ksocknal_recv_hello_v2()
687 rc = lnet_sock_read(sock, hello->kshm_ips, ksocknal_recv_hello_v2()
688 hello->kshm_nips * sizeof(__u32), timeout); ksocknal_recv_hello_v2()
696 for (i = 0; i < (int) hello->kshm_nips; i++) { ksocknal_recv_hello_v2()
698 __swab32s(&hello->kshm_ips[i]); ksocknal_recv_hello_v2()
700 if (hello->kshm_ips[i] == 0) { ksocknal_recv_hello_v2()
H A Dsocklnd_cb.c1605 ksocknal_parse_proto_version (ksock_hello_msg_t *hello) ksocknal_parse_proto_version() argument
1609 if (hello->kshm_magic == LNET_PROTO_MAGIC) ksocknal_parse_proto_version()
1610 version = hello->kshm_version; ksocknal_parse_proto_version()
1611 else if (hello->kshm_magic == __swab32(LNET_PROTO_MAGIC)) ksocknal_parse_proto_version()
1612 version = __swab32(hello->kshm_version); ksocknal_parse_proto_version()
1632 if (hello->kshm_magic == le32_to_cpu(LNET_PROTO_TCP_MAGIC)) { ksocknal_parse_proto_version()
1633 lnet_magicversion_t *hmv = (lnet_magicversion_t *)hello; ksocknal_parse_proto_version()
1648 lnet_nid_t peer_nid, ksock_hello_msg_t *hello) ksocknal_send_hello()
1653 LASSERT(hello->kshm_nips <= LNET_MAX_INTERFACES); ksocknal_send_hello()
1658 hello->kshm_src_nid = ni->ni_nid; ksocknal_send_hello()
1659 hello->kshm_dst_nid = peer_nid; ksocknal_send_hello()
1660 hello->kshm_src_pid = the_lnet.ln_pid; ksocknal_send_hello()
1662 hello->kshm_src_incarnation = net->ksnn_incarnation; ksocknal_send_hello()
1663 hello->kshm_ctype = conn->ksnc_type; ksocknal_send_hello()
1665 return conn->ksnc_proto->pro_send_hello(conn, hello); ksocknal_send_hello()
1686 ksock_hello_msg_t *hello, lnet_process_id_t *peerid, ksocknal_recv_hello()
1708 rc = lnet_sock_read(sock, &hello->kshm_magic, sizeof (hello->kshm_magic), timeout); ksocknal_recv_hello()
1716 if (hello->kshm_magic != LNET_PROTO_MAGIC && ksocknal_recv_hello()
1717 hello->kshm_magic != __swab32(LNET_PROTO_MAGIC) && ksocknal_recv_hello()
1718 hello->kshm_magic != le32_to_cpu (LNET_PROTO_TCP_MAGIC)) { ksocknal_recv_hello()
1721 __cpu_to_le32 (hello->kshm_magic), ksocknal_recv_hello()
1727 rc = lnet_sock_read(sock, &hello->kshm_version, ksocknal_recv_hello()
1728 sizeof(hello->kshm_version), timeout); ksocknal_recv_hello()
1736 proto = ksocknal_parse_proto_version(hello); ksocknal_recv_hello()
1747 hello->kshm_nips = 0; ksocknal_recv_hello()
1748 ksocknal_send_hello(ni, conn, ni->ni_nid, hello); ksocknal_recv_hello()
1761 /* receive the rest of hello message anyway */ ksocknal_recv_hello()
1762 rc = conn->ksnc_proto->pro_recv_hello(conn, hello, timeout); ksocknal_recv_hello()
1764 CERROR("Error %d reading or checking hello from from %pI4h\n", ksocknal_recv_hello()
1770 *incarnation = hello->kshm_src_incarnation; ksocknal_recv_hello()
1772 if (hello->kshm_src_nid == LNET_NID_ANY) { ksocknal_recv_hello()
1784 recv_id.nid = hello->kshm_src_nid; ksocknal_recv_hello()
1785 recv_id.pid = hello->kshm_src_pid; ksocknal_recv_hello()
1792 conn->ksnc_type = ksocknal_invert_type(hello->kshm_ctype); ksocknal_recv_hello()
1795 hello->kshm_ctype, libcfs_id2str(*peerid), ksocknal_recv_hello()
1812 if (hello->kshm_ctype == SOCKLND_CONN_NONE) { ksocknal_recv_hello()
1817 if (ksocknal_invert_type(hello->kshm_ctype) != conn->ksnc_type) { ksocknal_recv_hello()
1821 hello->kshm_ctype); ksocknal_recv_hello()
1647 ksocknal_send_hello(lnet_ni_t *ni, ksock_conn_t *conn, lnet_nid_t peer_nid, ksock_hello_msg_t *hello) ksocknal_send_hello() argument
1685 ksocknal_recv_hello(lnet_ni_t *ni, ksock_conn_t *conn, ksock_hello_msg_t *hello, lnet_process_id_t *peerid, __u64 *incarnation) ksocknal_recv_hello() argument
H A Dsocklnd.c1021 ksock_hello_msg_t *hello; ksocknal_create_conn() local
1058 LIBCFS_ALLOC(hello, offsetof(ksock_hello_msg_t, ksocknal_create_conn()
1060 if (hello == NULL) { ksocknal_create_conn()
1080 hello->kshm_nips = ksocknal_local_ipvec(ni, hello->kshm_ips); ksocknal_create_conn()
1097 rc = ksocknal_send_hello(ni, conn, peerid.nid, hello); ksocknal_create_conn()
1108 rc = ksocknal_recv_hello(ni, conn, hello, &peerid, &incarnation); ksocknal_create_conn()
1298 hello->kshm_ips, hello->kshm_nips); ksocknal_create_conn()
1300 hello->kshm_nips = ksocknal_select_ips(peer, hello->kshm_ips, ksocknal_create_conn()
1301 hello->kshm_nips); ksocknal_create_conn()
1302 rc = ksocknal_send_hello(ni, conn, peerid.nid, hello); ksocknal_create_conn()
1305 LIBCFS_FREE(hello, offsetof(ksock_hello_msg_t, ksocknal_create_conn()
1308 /* setup the socket AFTER I've received hello (it disables ksocknal_create_conn()
1369 hello->kshm_nips = 0; ksocknal_create_conn()
1370 ksocknal_send_hello(ni, conn, peerid.nid, hello); ksocknal_create_conn()
1382 if (hello != NULL) ksocknal_create_conn()
1383 LIBCFS_FREE(hello, offsetof(ksock_hello_msg_t, ksocknal_create_conn()
H A Dsocklnd.h660 lnet_nid_t peer_nid, ksock_hello_msg_t *hello);
662 ksock_hello_msg_t *hello, lnet_process_id_t *id,
/linux-4.4.14/samples/kdb/
H A Dkdb_hello.c45 kdb_register("hello", kdb_hello_cmd, "[string]", kdb_hello_cmd_init()
52 kdb_unregister("hello"); kdb_hello_cmd_exit()
59 MODULE_DESCRIPTION("KDB example to add a hello command");
/linux-4.4.14/net/ceph/
H A Dauth_x_protocol.h30 /* initial hello (no reply header) */
H A Dauth_x.c512 /* it's a hello */ ceph_x_handle_reply()
H A Dmessenger.c1427 * We connected to a peer and are saying hello.
1765 * Verify the hello banner looks okay.
/linux-4.4.14/samples/kfifo/
H A Drecord-example.c76 struct { unsigned char buf[6]; } hello = { "hello" }; testfunc() local
80 kfifo_in(&test, &hello, sizeof(hello)); testfunc()
H A Dbytestream-example.c63 kfifo_in(&test, "hello", 5); testfunc()
/linux-4.4.14/drivers/platform/chrome/
H A Dcros_ec_proto.c213 "EC failed to respond to v2 hello: %d\n", cros_ec_host_command_proto_query_v2()
218 "EC responded to v2 hello with error: %d\n", cros_ec_host_command_proto_query_v2()
224 "EC responded to v2 hello with bad result: %u\n", cros_ec_host_command_proto_query_v2()
289 /* Try querying with a v2 hello message. */ cros_ec_query_all()
294 /* V2 hello succeeded. */ cros_ec_query_all()
/linux-4.4.14/include/linux/mfd/
H A Dmax77693.h5 * SangYoung Son <hello.son@samsung.com>
H A Dmax77693-private.h5 * SangYoung Son <hello.son@samsung.com>
/linux-4.4.14/include/net/
H A Ddn_dev.h55 * t2 - Rate limit timer, min time between routing and hello messages
56 * t3 - Hello timer, send hello messages when it expires
H A Ddn_route.h52 /* Values for info field in hello message */
/linux-4.4.14/tools/build/feature/
H A DMakefile12 test-hello.bin \
54 test-hello.bin:
H A Dtest-all.c25 # include "test-hello.c"
/linux-4.4.14/drivers/input/mouse/
H A Delan_i2c_smbus.c62 /* Get hello packet */ elan_smbus_initialize()
66 dev_err(&client->dev, "hello packet length fail: %d\n", len); elan_smbus_initialize()
71 /* compare hello packet */ elan_smbus_initialize()
73 dev_err(&client->dev, "hello packet fail [%*ph]\n", elan_smbus_initialize()
/linux-4.4.14/samples/rpmsg/
H A Drpmsg_client_sample.c24 #define MSG "hello world!"
/linux-4.4.14/samples/trace_events/
H A Dtrace-events-sample.c35 trace_foo_bar("hello", cnt, array, random_strings[len], simple_thread_func()
/linux-4.4.14/arch/blackfin/kernel/
H A Dkgdb_test.c63 kgdb_test("hello world!", 12, 0x55, 0x10); kgdb_test_proc_read()
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
H A Dsocklnd.h94 /* We need to know this number to parse hello msg from ksocklnd in
H A Dtypes.h184 lnet_hello_t hello; member in union:__anon10399::__anon10400
/linux-4.4.14/net/decnet/
H A Ddn_neigh.c159 * by a hello message in most cases. dn_neigh_construct()
371 * Pointopoint link receives a hello message
379 * Ethernet router hello message received
441 * Endnode hello message received
H A Ddn_dev.c22 * Patrick Caulfield : Fixed router hello message format
/linux-4.4.14/arch/mips/sgi-ip22/
H A Dip22-eisa.c126 /* First say hello to the EIU */ ip22_eisa_init()
/linux-4.4.14/net/bridge/
H A Dbr_stp_timer.c38 br_debug(br, "hello timer expired\n"); br_hello_timer_expired()
H A Dbr_stp_if.c160 /* Stop hello and hold timers */ br_stp_start()
/linux-4.4.14/net/sched/
H A Dact_simple.c40 * Example if this was the 3rd packet and the string was "hello" tcf_simp()
/linux-4.4.14/include/linux/
H A Delfnote.h36 * 'descdata' is the data itself e.g. "hello, world".
/linux-4.4.14/drivers/mfd/
H A Dmax77693.c5 * SangYoung Son <hello.son@smasung.com>
398 MODULE_AUTHOR("SangYoung, Son <hello.son@samsung.com>");
/linux-4.4.14/tools/perf/config/
H A Dutilities.mak101 # |hello
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Dapi-ni.c259 CLASSERT((int)offsetof(lnet_hdr_t, msg.hello.incarnation) == 32); lnet_assert_wire_constants()
260 CLASSERT((int)sizeof(((lnet_hdr_t *)0)->msg.hello.incarnation) == 8); lnet_assert_wire_constants()
261 CLASSERT((int)offsetof(lnet_hdr_t, msg.hello.type) == 40); lnet_assert_wire_constants()
262 CLASSERT((int)sizeof(((lnet_hdr_t *)0)->msg.hello.type) == 4); lnet_assert_wire_constants()
/linux-4.4.14/drivers/input/touchscreen/
H A Delants_i2c.c537 "failed to read 'hello' packet: %d\n", error); elants_i2c_initialize()
551 "invalid 'hello' packet: %*ph\n", elants_i2c_initialize()
704 /* Old iap needs to wait 200ms for WDT and rest is for hello packets */ elants_i2c_do_update_firmware()
/linux-4.4.14/drivers/media/dvb-frontends/
H A Dmt352.c522 dprintk("%s: hello\n",__func__); mt352_init()
/linux-4.4.14/drivers/media/i2c/
H A Dmsp3400-driver.c825 /* hello world :-) */ msp_probe()
/linux-4.4.14/drivers/usb/gadget/udc/
H A Ds3c2410_udc.c1644 /* time to say "hello, world" */ s3c2410_udc_enable()
/linux-4.4.14/fs/ocfs2/
H A Dinode.c835 * voting [hello, deadlock city!] so we cannot delete the inode. But ocfs2_inode_is_valid_to_delete()
/linux-4.4.14/arch/mn10300/kernel/
H A Dgdb-stub.c1862 gdbstub_io_tx_char('+'); /* 'hello world' */ gdbstub_init()
/linux-4.4.14/arch/frv/kernel/
H A Dgdb-stub.c2040 gdbstub_tx_char('+'); /* 'hello world' */ gdbstub_init()
/linux-4.4.14/drivers/net/ethernet/3com/
H A Dtyphoon.c466 /* We only get a hello request if we've not sent anything to the typhoon_hello()
/linux-4.4.14/drivers/scsi/csiostor/
H A Dcsio_hw.c879 * "hello timeout" and we haven't exhausted our retries, try csio_do_hello()
/linux-4.4.14/fs/btrfs/
H A Dtree-log.c4416 * echo "hello world" > /mnt/x/foobar
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c5823 * "hello timeout" and we haven't exhausted our retries, try t4_fw_hello()

Completed in 2641 milliseconds