Searched defs:mode (Results 1 - 25 of 44) sorted by relevance

12

/net/ceph/
H A Dceph_fs.c33 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 Dxt_SECMARK.c30 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 Dirnetlink.c53 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 Dirda_device.c106 * 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 Diriap.c67 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 Daf_irda.c413 DISCOVERY_MODE mode,
412 irda_selective_discovery_indication(discinfo_t *discovery, DISCOVERY_MODE mode, void *priv) argument
/net/core/
H A Diovec.c38 int verify_iovec(struct msghdr *m, struct iovec *iov, struct sockaddr_storage *address, int mode) argument
43 if (mode == VERIFY_READ) {
H A Ddatagram.c68 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 Dsysctl_net.c40 /* 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 Dcompat.c82 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 Dbr_netlink.c51 u8 mode = !!(p->flags & BR_HAIRPIN_MODE); local
56 nla_put_u8(skb, IFLA_BRPORT_MODE, mode) ||
/net/irda/ircomm/
H A Dircomm_tty_attach.c51 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 Dirlan_client.c81 * 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 Dchan.c33 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 Ddebugfs_netdev.c221 /* 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 Dsysfs.c60 .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 Dirnet_irda.c1661 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 Dip_set_bitmap_ipmac.c121 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 Dvmci_transport.h78 u64 mode; member in union:vmci_transport_packet::__anon171
/net/9p/
H A Dtrans_fd.c518 static int p9_pollwake(wait_queue_t *wait, unsigned int mode, int sync, void *key) argument
H A Dclient.c885 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 Dclip.c318 static int clip_encap(struct atm_vcc *vcc, int mode) argument
320 CLIP_VCC(vcc)->encap = mode;
/net/caif/
H A Dcaif_socket.c112 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 Dcls_flow.c49 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 Dsvc.c43 * (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...]

Completed in 1295 milliseconds

12