/net/ceph/ |
H A D | ceph_fs.c | 33 int mode; local 42 mode = CEPH_FILE_MODE_WR; 45 mode = CEPH_FILE_MODE_RD; 49 mode = CEPH_FILE_MODE_RDWR; 54 mode |= CEPH_FILE_MODE_LAZY; 57 return mode; 61 int ceph_caps_for_mode(int mode) argument 65 if (mode & CEPH_FILE_MODE_RD) 68 if (mode & CEPH_FILE_MODE_WR) 73 if (mode [all...] |
/net/netfilter/ |
H A D | xt_SECMARK.c | 30 static u8 mode; variable 38 BUG_ON(info->mode != mode); 40 switch (mode) { 94 if (mode && mode != info->mode) { 95 pr_info("mode already set to %hu cannot mix with " 96 "rules for mode %hu\n", mode, inf [all...] |
/net/irda/ |
H A D | irnetlink.c | 53 u32 mode; local 58 mode = nla_get_u32(info->attrs[IRDA_NL_ATTR_MODE]); 60 IRDA_DEBUG(5, "%s(): Switching to mode: %d\n", __func__, mode); 72 irlap->mode = mode; 114 if(nla_put_u32(msg, IRDA_NL_ATTR_MODE, irlap->mode))
|
H A D | irda_device.c | 106 * in contention mode. 304 * Function setup_dma (idev, buffer, count, mode) 309 void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) argument 317 set_dma_mode(channel, mode);
|
H A D | iriap.c | 67 static int iriap_register_lsap(struct iriap_cb *self, __u8 slsap_sel, int mode); 175 struct iriap_cb *iriap_open(__u8 slsap_sel, int mode, void *priv, argument 193 self->mode = mode; 194 if (mode == IAS_CLIENT) 195 iriap_register_lsap(self, slsap_sel, mode); 267 static int iriap_register_lsap(struct iriap_cb *self, __u8 slsap_sel, int mode) argument 279 if (mode == IAS_CLIENT) 322 if (self->mode == IAS_CLIENT) { 854 if (self->mode [all...] |
H A D | af_irda.c | 413 DISCOVERY_MODE mode, 412 irda_selective_discovery_indication(discinfo_t *discovery, DISCOVERY_MODE mode, void *priv) argument
|
/net/core/ |
H A D | iovec.c | 38 int verify_iovec(struct msghdr *m, struct iovec *iov, struct sockaddr_storage *address, int mode) argument 43 if (mode == VERIFY_READ) {
|
H A D | datagram.c | 68 static int receiver_wake_function(wait_queue_t *wait, unsigned int mode, int sync, argument 78 return autoremove_wake_function(wait, mode, sync, key);
|
/net/ |
H A D | sysctl_net.c | 40 /* Return standard mode bits for table entry. */ 51 int mode = (table->mode >> 6) & 7; local 52 return (mode << 6) | (mode << 3) | mode; 56 int mode = (table->mode >> 3) & 7; local 57 return (mode << 3) | mode; [all...] |
H A D | compat.c | 82 struct sockaddr_storage *kern_address, int mode) 87 if (mode == VERIFY_READ) { 81 verify_compat_iovec(struct msghdr *kern_msg, struct iovec *kern_iov, struct sockaddr_storage *kern_address, int mode) argument
|
/net/bridge/ |
H A D | br_netlink.c | 51 u8 mode = !!(p->flags & BR_HAIRPIN_MODE); local 56 nla_put_u8(skb, IFLA_BRPORT_MODE, mode) ||
|
/net/irda/ircomm/ |
H A D | ircomm_tty_attach.c | 51 DISCOVERY_MODE mode, 366 DISCOVERY_MODE mode, 385 if(mode == DISCOVERY_PASSIVE) 843 /* Go back to search mode */ 892 /* Go back to search mode */ 953 /* Go back to search mode */ 365 ircomm_tty_discovery_indication(discinfo_t *discovery, DISCOVERY_MODE mode, void *priv) argument
|
/net/irda/irlan/ |
H A D | irlan_client.c | 81 * If we are in peer mode, the client may not have got the discovery 115 * mode (in that case we must leave the client idle 150 DISCOVERY_MODE mode, 166 if(mode == DISCOVERY_PASSIVE) 149 irlan_client_discovery_indication(discinfo_t *discovery, DISCOVERY_MODE mode, void *priv) argument
|
/net/mac80211/ |
H A D | chan.c | 33 enum ieee80211_chanctx_mode mode) 39 if (mode == IEEE80211_CHANCTX_EXCLUSIVE) 45 if (ctx->mode == IEEE80211_CHANCTX_EXCLUSIVE) 79 enum ieee80211_chanctx_mode mode) 94 ctx->mode = mode; 334 WARN_ONCE(1, "Invalid SMPS mode %d\n", 377 enum ieee80211_chanctx_mode mode) 388 ctx = ieee80211_find_chanctx(local, chandef, mode); 390 ctx = ieee80211_new_chanctx(local, chandef, mode); 31 ieee80211_find_chanctx(struct ieee80211_local *local, const struct cfg80211_chan_def *chandef, enum ieee80211_chanctx_mode mode) argument 77 ieee80211_new_chanctx(struct ieee80211_local *local, const struct cfg80211_chan_def *chandef, enum ieee80211_chanctx_mode mode) argument 375 ieee80211_vif_use_channel(struct ieee80211_sub_if_data *sdata, const struct cfg80211_chan_def *chandef, enum ieee80211_chanctx_mode mode) argument [all...] |
H A D | debugfs_netdev.c | 221 /* auto should be dynamic if in PS mode */ 259 enum ieee80211_smps_mode mode; local 261 for (mode = 0; mode < IEEE80211_SMPS_NUM_MODES; mode++) { 262 if (strncmp(buf, smps_modes[mode], buflen) == 0) { 263 int err = ieee80211_set_smps(sdata, mode); 533 #define DEBUGFS_ADD_MODE(name, mode) \ 534 debugfs_create_file(#name, mode, sdata->vif.debugfs_dir, \
|
/net/batman-adv/ |
H A D | sysfs.c | 60 .mode = _mode }, \ 238 const char *mode; local 241 mode = "client"; 243 mode = "server"; 245 return sprintf(buff, "%s\n", mode); 276 "Invalid parameter for 'vis mode' setting received: %s\n", 294 batadv_info(net_dev, "Changing vis mode from: %s to: %s\n", old_mode, 364 "Invalid parameter for 'gw mode' setting received: %s\n", 384 batadv_info(net_dev, "Changing gw mode from: %s to: %s\n",
|
/net/irda/irnet/ |
H A D | irnet_irda.c | 1661 DISCOVERY_MODE mode, 1692 DISCOVERY_MODE mode, 1660 irnet_discovery_indication(discinfo_t * discovery, DISCOVERY_MODE mode, void * priv) argument 1691 irnet_expiry_indication(discinfo_t * expiry, DISCOVERY_MODE mode, void * priv) argument
|
/net/netfilter/ipset/ |
H A D | ip_set_bitmap_ipmac.c | 121 struct bitmap_ipmac *map, int mode) 125 if (mode == IPSET_ADD_START_STORED_TIMEOUT) { 118 bitmap_ipmac_add_timeout(unsigned long *timeout, const struct bitmap_ipmac_adt_elem *e, const struct ip_set_ext *ext, struct bitmap_ipmac *map, int mode) argument
|
/net/vmw_vsock/ |
H A D | vmci_transport.h | 78 u64 mode; member in union:vmci_transport_packet::__anon171
|
/net/9p/ |
H A D | trans_fd.c | 518 static int p9_pollwake(wait_queue_t *wait, unsigned int mode, int sync, void *key) argument
|
H A D | client.c | 885 fid->mode = -1; 1208 int p9_client_open(struct p9_fid *fid, int mode) argument 1217 p9_debug(P9_DEBUG_9P, ">>> %s fid %d mode %d\n", 1218 p9_is_proto_dotl(clnt) ? "TLOPEN" : "TOPEN", fid->fid, mode); 1221 if (fid->mode != -1) 1225 req = p9_client_rpc(clnt, P9_TLOPEN, "dd", fid->fid, mode); 1227 req = p9_client_rpc(clnt, P9_TOPEN, "db", fid->fid, mode); 1243 fid->mode = mode; 1253 int p9_client_create_dotl(struct p9_fid *ofid, char *name, u32 flags, u32 mode, argument 1298 p9_client_fcreate(struct p9_fid *fid, char *name, u32 perm, int mode, char *extension) argument 2098 p9_client_mknod_dotl(struct p9_fid *fid, char *name, int mode, dev_t rdev, kgid_t gid, struct p9_qid *qid) argument 2129 p9_client_mkdir_dotl(struct p9_fid *fid, char *name, int mode, kgid_t gid, struct p9_qid *qid) argument [all...] |
/net/atm/ |
H A D | clip.c | 318 static int clip_encap(struct atm_vcc *vcc, int mode) argument 320 CLIP_VCC(vcc)->encap = mode;
|
/net/caif/ |
H A D | caif_socket.c | 112 static void caif_flow_ctrl(struct sock *sk, int mode) argument 117 cf_sk->layer.dn->modemcmd(cf_sk->layer.dn, mode);
|
/net/sched/ |
H A D | cls_flow.c | 49 u32 mode; member in struct:flow_filter 308 if (f->mode == FLOW_MODE_HASH) 369 u32 mode; local 414 mode = f->mode; 416 mode = nla_get_u32(tb[TCA_FLOW_MODE]); 417 if (mode != FLOW_MODE_HASH && nkeys > 1) 420 if (mode == FLOW_MODE_HASH) 423 if (mode != FLOW_MODE_HASH) 434 mode [all...] |
/net/sunrpc/ |
H A D | svc.c | 43 * (legacy & UP mode) */ 55 int mode; /* Note: int not enum to avoid member in struct:svc_pool_map 63 .mode = SVC_POOL_DEFAULT 118 &svc_pool_map.mode, 0644); 121 * Detect best pool mapping mode heuristically, 176 * Initialise the pool map for SVC_POOL_PERCPU mode. 204 * Initialise the pool map for SVC_POOL_PERNODE mode. 250 if (m->mode == SVC_POOL_AUTO) 251 m->mode = svc_pool_map_choose_mode(); 253 switch (m->mode) { [all...] |