| /linux/tools/testing/selftests/filesystems/mount_cycle/ |
| H A D | unmounted_tree_test.c | 127 int tfd; in assert_not_walked() local 133 tfd = sys_open_tree(fd, "", AT_EMPTY_PATH | AT_RECURSIVE | OPEN_TREE_CLONE | in assert_not_walked() 135 EXPECT_LT(tfd, 0); in assert_not_walked() 137 if (tfd >= 0) in assert_not_walked() 138 close(tfd); in assert_not_walked() 145 int tfd; in assert_root_copied() local 147 tfd = sys_open_tree(fd, "", AT_EMPTY_PATH | OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in assert_root_copied() 148 ASSERT_GE(tfd, 0); in assert_root_copied() 149 ASSERT_EQ(sys_move_mount(tfd, "", AT_FDCWD, target, MOVE_MOUNT_F_EMPTY_PATH), 0); in assert_root_copied() 150 close(tfd); in assert_root_copied() [all …]
|
| H A D | mount_cover_test.c | 194 int tfd; /* T, unmounted, held */ in FIXTURE() local 215 if (self->tfd >= 0) in cover_cleanup() 216 close(self->tfd); in cover_cleanup() 252 self->dfd = self->cfd = self->fd = self->tfd = self->ufd = -1; in FIXTURE_SETUP() 306 self->tfd = syscall(__NR_pidfd_getfd, pidfd, fds[2], 0); in FIXTURE_SETUP() 313 ASSERT_GE(self->tfd, 0) in FIXTURE_SETUP() 553 fd = openat(self->tfd, "covered", O_RDONLY | O_DIRECTORY | O_CLOEXEC); in TEST_F() 569 close(self->tfd); in TEST_F() 570 self->tfd = -1; in TEST_F()
|
| H A D | loop_cycle_test.c | 661 int tfd, ifd, fsfd, mfd, n; in TEST_F() local 672 tfd = sys_open_tree(AT_FDCWD, at("vol"), OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F() 673 ASSERT_GE(tfd, 0); in TEST_F() 676 ifd = openat(tfd, "img", O_RDWR | O_CREAT | O_EXCL, 0600); in TEST_F() 687 ASSERT_EQ(mkdirat(tfd, "mnt", 0755), 0); in TEST_F() 693 ASSERT_EQ(sys_move_mount(mfd, "", tfd, "mnt", MOVE_MOUNT_F_EMPTY_PATH), 0); in TEST_F() 700 close(tfd); in TEST_F()
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | tx-gen2.c | |
| H A D | tx.c | |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | ksock.c | 69 int tfd = -1; in test_ksock_lsm() local 96 tfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_ksock_lsm() 97 if (!ASSERT_OK_FD(tfd, "trigger socket")) in test_ksock_lsm() 101 err = bind(tfd, (struct sockaddr *)&trigger_addr, sizeof(trigger_addr)); in test_ksock_lsm() 117 if (tfd >= 0) in test_ksock_lsm() 118 close(tfd); in test_ksock_lsm()
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-devtrace-iwlwifi.h | 75 void *tfd, size_t tfdlen, 78 TP_ARGS(dev, skb, tfd, tfdlen, buf0, buf0_len, hdr_len), 83 __dynamic_array(u8, tfd, tfdlen) 100 memcpy(__get_dynamic_array(tfd), tfd, tfdlen);
|
| /linux/tools/include/uapi/linux/ |
| H A D | kcmp.h | 24 __u32 tfd; /* target file number */ member
|
| /linux/include/uapi/linux/ |
| H A D | kcmp.h | 24 __u32 tfd; /* target file number */ member
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 3945.c | 602 struct il3945_tfd *tfd, *tfd_tmp; in il3945_hw_txq_attach_buf_to_tfd() local 606 tfd = &tfd_tmp[q->write_ptr]; in il3945_hw_txq_attach_buf_to_tfd() 609 memset(tfd, 0, sizeof(*tfd)); in il3945_hw_txq_attach_buf_to_tfd() 611 count = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags)); in il3945_hw_txq_attach_buf_to_tfd() 619 tfd->tbs[count].addr = cpu_to_le32(addr); in il3945_hw_txq_attach_buf_to_tfd() 620 tfd->tbs[count].len = cpu_to_le32(len); in il3945_hw_txq_attach_buf_to_tfd() 624 tfd->control_flags = in il3945_hw_txq_attach_buf_to_tfd() 640 struct il3945_tfd *tfd = &tfd_tmp[idx]; in il3945_hw_txq_free_tfd() local 646 counter = TFD_CTL_COUNT_GET(le32_to_cpu(tfd->control_flags)); in il3945_hw_txq_free_tfd() 663 dma_unmap_single(&dev->dev, le32_to_cpu(tfd->tbs[i].addr), in il3945_hw_txq_free_tfd() [all …]
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | ipw2200.c | 4994 struct tfd_frame *tfd; in ipw_queue_tx_hcmd() local 5001 tfd = &txq->bd[q->first_empty]; in ipw_queue_tx_hcmd() 5004 memset(tfd, 0, sizeof(*tfd)); in ipw_queue_tx_hcmd() 5005 tfd->control_flags.message_type = TX_HOST_COMMAND_TYPE; in ipw_queue_tx_hcmd() 5006 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK; in ipw_queue_tx_hcmd() 5008 tfd->u.cmd.index = hcmd; in ipw_queue_tx_hcmd() 5009 tfd->u.cmd.length = len; in ipw_queue_tx_hcmd() 5010 memcpy(tfd->u.cmd.payload, buf, len); in ipw_queue_tx_hcmd() 7146 struct tfd_data *tfd) in ipw_qos_set_tx_queue_command() argument 7152 tfd->tx_flags_ext |= DCT_FLAG_EXT_QOS_ENABLED; in ipw_qos_set_tx_queue_command() [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btintel_pcie.h | 345 struct tfd { 433 struct tfd *tfds; 293 struct tfd { global() struct 302 reserved1tfd global() argument
|
| H A D | btintel_pcie.c | 421 struct tfd *tfd; in btintel_pcie_send_sync() 423 tfd = &txq->tfds[tfd_index]; in btintel_pcie_send_sync() 424 memset(tfd, 0, sizeof(*tfd)); in btintel_pcie_send_sync() 428 tfd->size = skb->len; in btintel_pcie_send_sync() 429 tfd->addr = buf->data_p_addr; in btintel_pcie_send_sync() 432 memcpy(buf->data, skb->data, tfd->size); in btintel_pcie_send_sync() 3055 tfd_size = ALIGN(sizeof(struct tfd) * BTINTEL_PCIE_TX_DESCS_COUNT, in btintel_pcie_probe() 284 struct tfd *tfd; btintel_pcie_prepare_tx() local
|
| /linux/tools/testing/selftests/kcmp/ |
| H A D | kcmp_test.c | 143 .tfd = duped_num, in main()
|
| /linux/fs/ |
| H A D | eventpoll.c | 1367 seq_printf(m, "tfd: %8d events: %8x data: %16llx " in ep_show_fdinfo() 2910 static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) in ep_find_tfd() 2917 if (epi->ffd.fd == tfd) { in get_epoll_tfile_raw_ptr() 2929 struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, in get_epoll_tfile_raw_ptr() 2942 epi = ep_find_tfd(ep, tfd, toff); in do_compat_epoll_pwait() 2896 ep_find_tfd(struct eventpoll * ep,int tfd,unsigned long toff) ep_find_tfd() argument 2915 get_epoll_tfile_raw_ptr(struct file * file,int tfd,unsigned long toff) get_epoll_tfile_raw_ptr() argument
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | tx.c | 1530 if (IWL_FW_CHECK(mld, struct_size(ba_res, tfd, tfd_cnt) > pkt_len, 1542 struct iwl_compressed_ba_tfd *ba_tfd = &ba_res->tfd[i];
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | tx.c | 2106 struct_size(ba_res, tfd, tfd_cnt) > pkt_len, in iwl_mvm_rx_ba_notif() 2131 struct iwl_compressed_ba_tfd *ba_tfd = &ba_res->tfd[i]; in iwl_mvm_rx_ba_notif()
|
| /linux/Documentation/filesystems/ |
| H A D | proc.rst | 2097 tfd: 5 events: 1d data: ffffffffffffffff pos:0 ino:61af sdev:7 2099 where 'tfd' is a target file descriptor number in decimal form,
|