Lines Matching refs:t
302 static void *xs_talkv(struct xenbus_transaction t, in xs_talkv() argument
324 msg.tx_id = t.id; in xs_talkv()
355 static void *xs_single(struct xenbus_transaction t, in xs_single() argument
364 return xs_talkv(t, type, &iovec, 1, len); in xs_single()
422 char **xenbus_directory(struct xenbus_transaction t, in xenbus_directory() argument
432 strings = xs_single(t, XS_DIRECTORY, path, &len); in xenbus_directory()
442 int xenbus_exists(struct xenbus_transaction t, in xenbus_exists() argument
448 d = xenbus_directory(t, dir, node, &dir_n); in xenbus_exists()
460 void *xenbus_read(struct xenbus_transaction t, in xenbus_read() argument
470 ret = xs_single(t, XS_READ, path, len); in xenbus_read()
479 int xenbus_write(struct xenbus_transaction t, in xenbus_write() argument
495 ret = xs_error(xs_talkv(t, XS_WRITE, iovec, ARRAY_SIZE(iovec), NULL)); in xenbus_write()
502 int xenbus_mkdir(struct xenbus_transaction t, in xenbus_mkdir() argument
512 ret = xs_error(xs_single(t, XS_MKDIR, path, NULL)); in xenbus_mkdir()
519 int xenbus_rm(struct xenbus_transaction t, const char *dir, const char *node) in xenbus_rm() argument
528 ret = xs_error(xs_single(t, XS_RM, path, NULL)); in xenbus_rm()
537 int xenbus_transaction_start(struct xenbus_transaction *t) in xenbus_transaction_start() argument
545 t->id = simple_strtoul(id_str, NULL, 0); in xenbus_transaction_start()
554 int xenbus_transaction_end(struct xenbus_transaction t, int abort) in xenbus_transaction_end() argument
563 return xs_error(xs_single(t, XS_TRANSACTION_END, abortstr, NULL)); in xenbus_transaction_end()
568 int xenbus_scanf(struct xenbus_transaction t, in xenbus_scanf() argument
575 val = xenbus_read(t, dir, node, NULL); in xenbus_scanf()
606 int xenbus_printf(struct xenbus_transaction t, in xenbus_printf() argument
620 ret = xenbus_write(t, dir, node, buf); in xenbus_printf()
629 int xenbus_gather(struct xenbus_transaction t, const char *dir, ...) in xenbus_gather() argument
641 p = xenbus_read(t, dir, name, NULL); in xenbus_gather()