Searched refs:is_local (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/net/dccp/
H A Dfeat.h66 * @is_local: feature location (1) or feature-remote (0)
77 is_local; member in struct:dccp_feat_entry
85 return entry->is_local ? DCCPO_CONFIRM_L : DCCPO_CONFIRM_R; dccp_feat_genopt()
86 return entry->is_local ? DCCPO_CHANGE_L : DCCPO_CHANGE_R; dccp_feat_genopt()
92 * @is_local: local (1) or remote (0) @dependent_feat
98 bool is_local:1, member in struct:ccid_dependency
112 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local,
H A Dfeat.c284 dccp_debug(" * %s %s = ", entry->is_local ? "local" : "remote", dccp_feat_print_entry()
309 const bool is_local, dccp_feat_val const *fval) __dccp_feat_activate()
338 rx = (is_local == (dccp_feat_table[idx].rxtx == FEAT_AT_RX)); __dccp_feat_activate()
427 * - each feat_num/is_local combination is unique (old entries are overwritten)
432 u8 feat_num, bool is_local) dccp_feat_list_lookup()
437 if (entry->feat_num == feat_num && entry->is_local == is_local) list_for_each_entry()
459 if (entry->feat_num == feat && entry->is_local == local) { list_for_each_entry()
470 entry->is_local = local;
493 new->is_local = local; dccp_feat_push_change()
521 new->is_local = local; dccp_feat_push_confirm()
720 * @is_local: whether the local (1) or the remote (0) @feat is meant
725 static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local, __feat_register_sp() argument
741 return dccp_feat_push_change(fn, feat, is_local, mandatory, &fval); __feat_register_sp()
748 * @is_local: whether the local (1) or remote (0) @feat is meant
752 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, dccp_feat_register_sp() argument
759 return __feat_register_sp(&dccp_sk(sk)->dccps_featneg, feat, is_local, dccp_feat_register_sp()
838 static const struct ccid_dependency *dccp_feat_ccid_deps(u8 ccid, bool is_local) dccp_feat_ccid_deps() argument
843 * feature and Send Ack Vector is an RX feature, `is_local' dccp_feat_ccid_deps()
849 .is_local = true, dccp_feat_ccid_deps()
858 .is_local = false, dccp_feat_ccid_deps()
871 .is_local = true, dccp_feat_ccid_deps()
877 .is_local = true, dccp_feat_ccid_deps()
883 .is_local = false, dccp_feat_ccid_deps()
899 .is_local = false, dccp_feat_ccid_deps()
905 .is_local = false, dccp_feat_ccid_deps()
911 .is_local = true, dccp_feat_ccid_deps()
917 .is_local = true, dccp_feat_ccid_deps()
926 return ccid2_dependencies[is_local]; dccp_feat_ccid_deps()
928 return ccid3_dependencies[is_local]; dccp_feat_ccid_deps()
938 * @is_local: whether TX CCID (1) or RX CCID (0) is meant
942 static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) dccp_feat_propagate_ccid() argument
944 const struct ccid_dependency *table = dccp_feat_ccid_deps(id, is_local); dccp_feat_propagate_ccid()
950 table[i].is_local, dccp_feat_propagate_ccid()
985 ccids[entry->is_local] = entry->val.sp.vec[0]; dccp_feat_finalise_settings()
1002 u8 is_local, ccid; dccp_feat_server_ccid_dependencies() local
1004 for (is_local = 0; is_local <= 1; is_local++) { dccp_feat_server_ccid_dependencies()
1005 entry = dccp_feat_list_lookup(fn, DCCPF_CCID, is_local); dccp_feat_server_ccid_dependencies()
1012 if (dccp_feat_propagate_ccid(fn, ccid, is_local)) dccp_feat_server_ccid_dependencies()
1519 cur->is_local ? "local" : "remote", list_for_each_entry()
1524 fvals[idx][cur->is_local] = &cur->val; list_for_each_entry()
308 __dccp_feat_activate(struct sock *sk, const int idx, const bool is_local, dccp_feat_val const *fval) __dccp_feat_activate() argument
431 dccp_feat_list_lookup(struct list_head *fn_list, u8 feat_num, bool is_local) dccp_feat_list_lookup() argument
/linux-4.4.14/net/bridge/
H A Dbr_fdb.c205 if (f && f->is_local && !f->added_by_user && f->dst == p) br_fdb_find_delete_local()
227 if (f->dst == p && f->is_local && !f->added_by_user) { br_fdb_changeaddr()
269 if (f && f->is_local && !f->dst) br_fdb_change_mac_address()
284 if (f && f->is_local && !f->dst) br_fdb_change_mac_address()
364 if (f->is_local) br_fdb_delete_by_port()
455 fe->is_local = f->is_local; br_fdb_fillbuf()
501 unsigned char is_local, fdb_create()
511 fdb->is_local = is_local; fdb_create()
535 if (fdb->is_local) fdb_insert()
583 if (unlikely(fdb->is_local)) { br_fdb_update()
620 if (fdb->is_local) fdb_to_nud()
797 fdb->is_local = 1; fdb_add_entry()
803 fdb->is_local = 0; fdb_add_entry()
809 fdb->is_local = 0; fdb_add_entry()
497 fdb_create(struct hlist_head *head, struct net_bridge_port *source, const unsigned char *addr, __u16 vid, unsigned char is_local, unsigned char is_static) fdb_create() argument
H A Dbr_input.c191 dst->is_local) { br_handle_frame_finish()
H A Dbr_private.h146 unsigned char is_local:1, member in struct:net_bridge_fdb_entry
/linux-4.4.14/fs/nfs/
H A Dfile.c711 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_getlk() argument
728 if (is_local) do_getlk()
745 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_unlk() argument
773 if (!is_local) do_unlk()
786 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_setlk() argument
803 if (!is_local) do_setlk()
835 int is_local = 0; nfs_lock() local
848 is_local = 1; nfs_lock()
857 ret = do_getlk(filp, cmd, fl, is_local); nfs_lock()
859 ret = do_unlk(filp, cmd, fl, is_local); nfs_lock()
861 ret = do_setlk(filp, cmd, fl, is_local); nfs_lock()
873 int is_local = 0; nfs_flock() local
891 is_local = 1; nfs_flock()
895 return do_unlk(filp, cmd, fl, is_local); nfs_flock()
896 return do_setlk(filp, cmd, fl, is_local); nfs_flock()
/linux-4.4.14/include/uapi/linux/
H A Dif_bridge.h95 __u8 is_local; member in struct:__fdb_entry
/linux-4.4.14/drivers/misc/vmw_vmci/
H A Dvmci_queue_pair.c1379 bool is_local = flags & VMCI_QPFLAG_LOCAL; qp_broker_create() local
1402 if (is_local && peer != VMCI_INVALID_ID && context_id != peer) qp_broker_create()
1409 if (vmci_ctx_get_id(context) == VMCI_HOST_CONTEXT_ID && !is_local) { qp_broker_create()
1456 if (is_local) { qp_broker_create()
1508 if (is_local) { qp_broker_create()
1607 bool is_local = flags & VMCI_QPFLAG_LOCAL; qp_broker_attach() local
1614 if (is_local) { qp_broker_attach()
1766 if (!is_local) qp_broker_attach()
1795 bool is_local = flags & VMCI_QPFLAG_LOCAL; qp_broker_alloc() local
1799 (flags & ~VMCI_QP_ALL_FLAGS) || is_local || qp_broker_alloc()
1816 if (!is_local && vmci_ctx_qp_exists(context, handle)) { qp_broker_alloc()
1844 !(create && is_local); qp_broker_alloc()
2167 bool is_local = false; vmci_qp_broker_detach() local
2206 is_local = entry->qp.flags & VMCI_QPFLAG_LOCAL; vmci_qp_broker_detach()
2261 if (is_local) vmci_qp_broker_detach()
2282 if (!is_local) vmci_qp_broker_detach()
2304 bool is_local = false; vmci_qp_broker_map() local
2333 is_local = entry->qp.flags & VMCI_QPFLAG_LOCAL; vmci_qp_broker_map()
2415 bool is_local = false; vmci_qp_broker_unmap() local
2444 is_local = entry->qp.flags & VMCI_QPFLAG_LOCAL; vmci_qp_broker_unmap()
/linux-4.4.14/drivers/firewire/
H A Dcore-device.c431 return sprintf(buf, "%u\n", device->is_local); is_local_show()
483 __ATTR_RO(is_local),
1248 device->is_local = node == card->local_node; fw_node_event()
1284 device->is_local ? 0 : INITIAL_DELAY); fw_node_event()
H A Dcore-cdev.c879 if (!client->device->is_local) ioctl_add_descriptor()
1527 if (!client->device->is_local) ioctl_send_phy_packet()
1559 if (!client->device->is_local) ioctl_receive_phy_packets()
H A Dsbp2.c1144 if (device->is_local) sbp2_probe()
/linux-4.4.14/net/vmw_vsock/
H A Dvmci_transport.c1117 bool is_local; vmci_transport_recv_connecting_server() local
1172 is_local = vmci_transport_recv_connecting_server()
1175 flags |= is_local ? VMCI_QPFLAG_LOCAL : 0; vmci_transport_recv_connecting_server()
1364 bool is_local; vmci_transport_recv_connecting_client_negotiate() local
1432 is_local = vsk->remote_addr.svm_cid == vsk->local_addr.svm_cid; vmci_transport_recv_connecting_client_negotiate()
1433 flags = is_local ? VMCI_QPFLAG_LOCAL : 0; vmci_transport_recv_connecting_client_negotiate()
/linux-4.4.14/include/linux/
H A Dfirewire.h197 unsigned is_local:1; member in struct:fw_device
/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_ctl.c83 bool is_local; __ip_vs_addr_is_local_v6() local
85 is_local = !dst->error && dst->dev && (dst->dev->flags & IFF_LOOPBACK); __ip_vs_addr_is_local_v6()
88 return is_local; __ip_vs_addr_is_local_v6()
/linux-4.4.14/drivers/staging/fwserial/
H A Dfwserial.c2119 if (parent->is_local) { fwserial_add_peer()

Completed in 1092 milliseconds