/linux-master/include/trace/events/ |
H A D | damon.h | 15 unsigned int target_idx, struct damon_region *r, 18 TP_ARGS(context_idx, target_idx, scheme_idx, r, nr_regions, do_trace), 25 __field(unsigned long, target_idx) 36 __entry->target_idx = target_idx; 44 TP_printk("ctx_idx=%u scheme_idx=%u target_idx=%lu nr_regions=%u %lu-%lu: %u %u", 46 __entry->target_idx, __entry->nr_regions,
|
/linux-master/net/nfc/ |
H A D | nfc.h | 30 u32 target_idx; member in struct:nfc_rawsock 47 void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, 79 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx); 84 int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx, 137 int nfc_dep_link_up(struct nfc_dev *dev, int target_idx, u8 comm_mode); 141 int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol); 143 int nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx, u8 mode); 145 int nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb,
|
H A D | rawsock.c | 90 pr_debug("addr dev_idx=%u target_idx=%u protocol=%u\n", 91 addr->dev_idx, addr->target_idx, addr->nfc_protocol); 106 if (addr->target_idx > dev->target_next_idx - 1 || 107 addr->target_idx < dev->target_next_idx - dev->n_targets) { 112 rc = nfc_activate_target(dev, addr->target_idx, addr->nfc_protocol); 117 nfc_rawsock(sk)->target_idx = addr->target_idx; 181 u32 target_idx = nfc_rawsock(sk)->target_idx; local 185 pr_debug("sk=%p target_idx [all...] |
H A D | core.c | 268 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) argument 273 if (dev->targets[i].idx == target_idx) 363 int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx, argument 371 target = nfc_find_target(dev, target_idx); 381 nfc_llcp_mac_is_up(dev, target_idx, comm_mode, rf_mode); 383 return nfc_genl_dep_link_up_event(dev, target_idx, comm_mode, rf_mode); 391 * @target_idx: index of the target that must be activated 394 int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol) argument 399 pr_debug("dev_name=%s target_idx=%u protocol=%u\n", 400 dev_name(&dev->dev), target_idx, protoco 442 nfc_deactivate_target(struct nfc_dev *dev, u32 target_idx, u8 mode) argument 488 nfc_data_exchange(struct nfc_dev *dev, u32 target_idx, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) argument 825 nfc_target_lost(struct nfc_dev *dev, u32 target_idx) argument [all...] |
H A D | llcp.h | 65 u32 target_idx; member in struct:nfc_llcp_local 106 u32 target_idx; member in struct:nfc_llcp_sock
|
H A D | netlink.c | 199 int nfc_genl_target_lost(struct nfc_dev *dev, u32 target_idx) argument 214 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx)) 647 int nfc_genl_dep_link_up_event(struct nfc_dev *dev, u32 target_idx, argument 666 nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target_idx)) 882 u32 device_idx, target_idx, protocol; local 896 target_idx = nla_get_u32(info->attrs[NFC_ATTR_TARGET_INDEX]); 899 nfc_deactivate_target(dev, target_idx, NFC_TARGET_MODE_SLEEP); 900 rc = nfc_activate_target(dev, target_idx, protocol); 910 u32 device_idx, target_idx; local 923 target_idx [all...] |
H A D | llcp_sock.c | 513 pr_debug("%p %d %d %d\n", sk, llcp_sock->target_idx, 525 llcp_addr->target_idx = llcp_sock->target_idx; 669 pr_debug("addr dev_idx=%u target_idx=%u protocol=%u\n", addr->dev_idx, 670 addr->target_idx, addr->nfc_protocol); 704 addr->target_idx != local->target_idx) {
|
H A D | llcp_core.c | 793 ret = nfc_data_exchange(local->dev, local->target_idx, 992 new_sock->target_idx = local->target_idx; 1589 void nfc_llcp_mac_is_up(struct nfc_dev *dev, u32 target_idx, argument 1600 local->target_idx = target_idx;
|
H A D | llcp_commands.c | 385 err = nfc_data_exchange(dev, local->target_idx, skb,
|
/linux-master/include/uapi/linux/ |
H A D | nfc.h | 268 __u32 target_idx; member in struct:sockaddr_nfc 276 __u32 target_idx; member in struct:sockaddr_nfc_llcp
|
/linux-master/net/core/ |
H A D | netprio_cgroup.c | 38 * @target_idx. @dev->priomap.priomap_len > @target_idx after successful 41 static int extend_netdev_table(struct net_device *dev, u32 target_idx) argument 48 if (old && old->priomap_len > target_idx) 54 * accommodate @target_idx. 60 if (new_len > target_idx)
|
/linux-master/include/net/nfc/ |
H A D | nfc.h | 277 int nfc_target_lost(struct nfc_dev *dev, u32 target_idx); 279 int nfc_dep_link_is_up(struct nfc_dev *dev, u32 target_idx,
|
/linux-master/mm/damon/ |
H A D | dbgfs.c | 556 int target_idx = 0; local 564 target_idx, r->ar.start, r->ar.end); 569 target_idx++; 603 static int add_init_region(struct damon_ctx *c, int target_idx, argument 615 if (idx++ == target_idx) { 638 int target_idx; local 649 &target_idx, &ar.start, &ar.end, &parsed); 652 err = add_init_region(c, target_idx, &ar);
|
H A D | core.c | 938 int target_idx = 0; local 946 target_idx++; 948 matched = target_idx == filter->target_idx;
|
H A D | sysfs-schemes.c | 334 int target_idx; member in struct:damon_sysfs_scheme_filter 472 return sysfs_emit(buf, "%d\n", filter->target_idx); 480 int err = kstrtoint(buf, 0, &filter->target_idx); 1914 filter->target_idx = sysfs_filter->target_idx;
|
/linux-master/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 695 int connect_socket(int dev_idx, int target_idx) argument 707 addr.target_idx = target_idx; 724 int target_idx; local 739 target_idx = get_taginfo(dev_idx, sd, fid, pid); 740 if (target_idx == -1) 742 return connect_socket(dev_idx, target_idx);
|
/linux-master/include/linux/ |
H A D | damon.h | 329 * @target_idx: Index of the &struct damon_target of 345 int target_idx; member in union:damos_filter::__anon1092
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz9477_acl.c | 497 * @target_idx: The destination index where the first entry should be placed 510 u16 target_idx) 515 for (i = start_idx; i > target_idx; i--) { 507 ksz9477_move_entries_upwards(struct ksz_device *dev, struct ksz9477_acl_entries *acles, u16 start_idx, u16 num_entries_to_move, u16 target_idx) argument
|