Home
last modified time | relevance | path

Searched refs:fld (Results 1 – 33 of 33) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/fld/
Dfld_request.c112 static int fld_rrb_hash(struct lu_client_fld *fld, u64 seq) in fld_rrb_hash() argument
114 LASSERT(fld->lcf_count > 0); in fld_rrb_hash()
115 return do_div(seq, fld->lcf_count); in fld_rrb_hash()
119 fld_rrb_scan(struct lu_client_fld *fld, u64 seq) in fld_rrb_scan() argument
130 hash = fld_rrb_hash(fld, seq); in fld_rrb_scan()
135 list_for_each_entry(target, &fld->lcf_targets, ft_chain) { in fld_rrb_scan()
149 fld->lcf_name, hash, seq, fld->lcf_count); in fld_rrb_scan()
151 list_for_each_entry(target, &fld->lcf_targets, ft_chain) { in fld_rrb_scan()
183 fld_client_get_target(struct lu_client_fld *fld, u64 seq) in fld_client_get_target() argument
187 LASSERT(fld->lcf_hash != NULL); in fld_client_get_target()
[all …]
Dlproc_fld.c61 struct lu_client_fld *fld = (struct lu_client_fld *)m->private; in fld_proc_targets_seq_show() local
64 LASSERT(fld != NULL); in fld_proc_targets_seq_show()
66 spin_lock(&fld->lcf_lock); in fld_proc_targets_seq_show()
68 &fld->lcf_targets, ft_chain) in fld_proc_targets_seq_show()
70 spin_unlock(&fld->lcf_lock); in fld_proc_targets_seq_show()
78 struct lu_client_fld *fld = (struct lu_client_fld *)m->private; in fld_proc_hash_seq_show() local
80 LASSERT(fld != NULL); in fld_proc_hash_seq_show()
82 spin_lock(&fld->lcf_lock); in fld_proc_hash_seq_show()
83 seq_printf(m, "%s\n", fld->lcf_hash->fh_name); in fld_proc_hash_seq_show()
84 spin_unlock(&fld->lcf_lock); in fld_proc_hash_seq_show()
[all …]
DMakefile1 obj-$(CONFIG_LUSTRE_FS) += fld.o
2 fld-y := fld_request.o fld_cache.o
3 fld-$(CONFIG_PROC_FS) += lproc_fld.o
/linux-4.1.27/net/decnet/
Ddn_route.c343 if (compare_keys(&rth->fld, &rt->fld)) { in dn_insert_route()
965 struct flowidn fld = { in dn_route_output_slow() local
1036 if (!fld.daddr) { in dn_route_output_slow()
1037 fld.daddr = fld.saddr; in dn_route_output_slow()
1044 if (!fld.daddr) { in dn_route_output_slow()
1045 fld.daddr = in dn_route_output_slow()
1046 fld.saddr = dnet_select_source(dev_out, 0, in dn_route_output_slow()
1048 if (!fld.daddr) in dn_route_output_slow()
1051 fld.flowidn_oif = LOOPBACK_IFINDEX; in dn_route_output_slow()
1060 le16_to_cpu(fld.daddr), le16_to_cpu(fld.saddr), in dn_route_output_slow()
[all …]
Ddn_rules.c70 struct flowidn *fld = &flp->u.dn; in dn_fib_rule_action() local
96 err = tbl->lookup(tbl, fld, (struct dn_fib_res *)arg->result); in dn_fib_rule_action()
110 struct flowidn *fld = &fl->u.dn; in dn_fib_rule_match() local
111 __le16 daddr = fld->daddr; in dn_fib_rule_match()
112 __le16 saddr = fld->saddr; in dn_fib_rule_match()
182 struct flowidn fld = { .daddr = addr }; in dnet_addr_type() local
190 if (!tb->lookup(tb, &fld, &res)) { in dnet_addr_type()
Ddn_fib.c196 struct flowidn fld; in dn_fib_check_nh() local
216 memset(&fld, 0, sizeof(fld)); in dn_fib_check_nh()
217 fld.daddr = nh->nh_gw; in dn_fib_check_nh()
218 fld.flowidn_oif = nh->nh_oif; in dn_fib_check_nh()
219 fld.flowidn_scope = r->rtm_scope + 1; in dn_fib_check_nh()
221 if (fld.flowidn_scope < RT_SCOPE_LINK) in dn_fib_check_nh()
222 fld.flowidn_scope = RT_SCOPE_LINK; in dn_fib_check_nh()
224 if ((err = dn_fib_lookup(&fld, &res)) != 0) in dn_fib_check_nh()
412 int dn_fib_semantic_match(int type, struct dn_fib_info *fi, const struct flowidn *fld, struct dn_fi… in dn_fib_semantic_match() argument
432 if (!fld->flowidn_oif || in dn_fib_semantic_match()
[all …]
Ddn_nsp_out.c79 struct flowidn fld; in dn_nsp_send() local
92 memset(&fld, 0, sizeof(fld)); in dn_nsp_send()
93 fld.flowidn_oif = sk->sk_bound_dev_if; in dn_nsp_send()
94 fld.saddr = dn_saddr2dn(&scp->addr); in dn_nsp_send()
95 fld.daddr = dn_saddr2dn(&scp->peer); in dn_nsp_send()
96 dn_sk_ports_copy(&fld, scp); in dn_nsp_send()
97 fld.flowidn_proto = DNPROTO_NSP; in dn_nsp_send()
98 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, 0) == 0) { in dn_nsp_send()
Daf_decnet.c912 struct flowidn fld; in __dn_connect() local
952 memset(&fld, 0, sizeof(fld)); in __dn_connect()
953 fld.flowidn_oif = sk->sk_bound_dev_if; in __dn_connect()
954 fld.daddr = dn_saddr2dn(&scp->peer); in __dn_connect()
955 fld.saddr = dn_saddr2dn(&scp->addr); in __dn_connect()
956 dn_sk_ports_copy(&fld, scp); in __dn_connect()
957 fld.flowidn_proto = DNPROTO_NSP; in __dn_connect()
958 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, flags) < 0) in __dn_connect()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_fld.h133 int fld_client_init(struct lu_client_fld *fld,
136 void fld_client_fini(struct lu_client_fld *fld);
138 void fld_client_flush(struct lu_client_fld *fld);
140 int fld_client_lookup(struct lu_client_fld *fld, u64 seq, u32 *mds,
143 int fld_client_create(struct lu_client_fld *fld,
147 int fld_client_delete(struct lu_client_fld *fld, u64 seq,
150 int fld_client_add_target(struct lu_client_fld *fld,
153 int fld_client_del_target(struct lu_client_fld *fld,
156 void fld_client_proc_fini(struct lu_client_fld *fld);
Dlu_object.h555 struct fld;
/linux-4.1.27/include/linux/mlx5/
Ddevice.h49 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
50 #define __mlx5_bit_off(typ, fld) ((unsigned)(unsigned long)(&(__mlx5_nullp(typ)->fld))) argument
51 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
52 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
53 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
54 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
55 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
58 #define MLX5_FLD_SZ_BYTES(typ, fld) (__mlx5_bit_sz(typ, fld) / 8) argument
61 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) argument
62 #define MLX5_ADDR_OF(typ, p, fld) ((char *)(p) + MLX5_BYTE_OFF(typ, fld)) argument
[all …]
/linux-4.1.27/scripts/coccinelle/misc/
Ddoubleinit.cocci17 identifier I, s, fld;
22 struct I s =@p0 { ..., .fld@p = E, ...};
25 identifier I, s, r.fld;
30 struct I s =@p0 { ..., .fld@p = E, ...};
34 fld << r.fld;
40 cocci.print_main(fld,p0)
46 fld << r.fld;
52 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
/linux-4.1.27/drivers/xen/
Dfallback.c64 #define COPY_BACK(pop, fld) \ in xen_physdev_op_compat() argument
66 memcpy(arg, &op.u.fld, sizeof(op.u.fld)); \ in xen_physdev_op_compat()
/linux-4.1.27/include/net/
Ddn_route.h75 struct flowidn fld; member
90 return rt->fld.flowidn_iif != 0; in dn_is_input_route()
95 return rt->fld.flowidn_iif == 0; in dn_is_output_route()
Ddn_fib.h86 int (*lookup)(struct dn_fib_table *t, const struct flowidn *fld,
106 const struct flowidn *fld, struct dn_fib_res *res);
109 void dn_fib_select_multipath(const struct flowidn *fld, struct dn_fib_res *res);
125 int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res);
Ddn.h196 static inline void dn_sk_ports_copy(struct flowidn *fld, struct dn_scp *scp) in dn_sk_ports_copy() argument
198 fld->fld_sport = scp->addrloc; in dn_sk_ports_copy()
199 fld->fld_dport = scp->addrrem; in dn_sk_ports_copy()
/linux-4.1.27/drivers/media/platform/ti-vpe/
Dvpdma.h158 #define ADB_ADDR(dma_buf, str, fld) ((dma_buf)->addr + offsetof(str, fld)) argument
159 #define MMR_ADB_ADDR(buf, str, fld) ADB_ADDR(&(buf), struct str, fld) argument
/linux-4.1.27/scripts/coccinelle/null/
Dkmerr.cocci22 identifier f,fld;
26 ... when != x->fld
/linux-4.1.27/drivers/staging/lustre/lustre/
DMakefile1 obj-$(CONFIG_LUSTRE_FS) += libcfs/ obdclass/ ptlrpc/ fld/ osc/ mgc/ \
/linux-4.1.27/drivers/net/ethernet/ti/
Ddavinci_cpdma.c134 #define chan_read(chan, fld) __raw_readl((chan)->fld) argument
135 #define desc_read(desc, fld) __raw_readl(&(desc)->fld) argument
137 #define chan_write(chan, fld, v) __raw_writel(v, (chan)->fld) argument
138 #define desc_write(desc, fld, v) __raw_writel((u32)(v), &(desc)->fld) argument
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_smp.c242 int fld = blk % 3; in update_smp_state() local
246 switch (fld) { in update_smp_state()
/linux-4.1.27/drivers/scsi/
Dvirtio_scsi.c792 #define virtscsi_config_get(vdev, fld) \ argument
794 typeof(((struct virtio_scsi_config *)0)->fld) __val; \
795 virtio_cread(vdev, struct virtio_scsi_config, fld, &__val); \
799 #define virtscsi_config_set(vdev, fld, val) \ argument
801 typeof(((struct virtio_scsi_config *)0)->fld) __val = (val); \
802 virtio_cwrite(vdev, struct virtio_scsi_config, fld, &__val); \
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Dvnic_devcmd.h500 #define FILTER_FIELD_VALID(fld) (1 << (fld - 1)) argument
/linux-4.1.27/drivers/hid/usbhid/
Dhid-pidff.c906 static int pidff_find_special_keys(int *keys, struct hid_field *fld, in pidff_find_special_keys() argument
914 for (j = 0; j < fld->maxusage; j++) { in pidff_find_special_keys()
915 if (fld->usage[j].hid == (HID_UP_PID | usagetable[i])) { in pidff_find_special_keys()
/linux-4.1.27/drivers/message/fusion/
Dmptscsih.c599 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_io_done()
601 le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx) : req_idx; in mptscsih_io_done()
1347 my_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_qcmd()
2428 req_index = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_copy_sense_data()
2654 req_idx = le16_to_cpu(req->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_scandv_complete()
2915 my_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_do_cmd()
Dmptbase.c533 req_idx = le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_reply()
534 cb_idx = mr->u.frame.hwhdr.msgctxu.fld.cb_idx; in mpt_reply()
918 mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; /* byte */ in mpt_get_msg_frame()
922 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_get_msg_frame()
923 mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; in mpt_get_msg_frame()
968 mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; /* byte */ in mpt_put_msg_frame()
972 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_put_msg_frame()
973 mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; in mpt_put_msg_frame()
1004 mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; in mpt_put_msg_frame_hi_pri()
1007 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_put_msg_frame_hi_pri()
[all …]
Dmptbase.h301 } fld; member
Dmptctl.c253 le16_to_cpu(req->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_reply()
1884 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_do_mpt_command()
Dmptspi.c279 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptspi_writeIOCPage4()
Dmptlan.c1184 i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_lan_post_receive_buckets()
/linux-4.1.27/net/ceph/
Dosd_client.c123 #define osd_req_op_data(oreq, whch, typ, fld) \ argument
126 &(oreq)->r_ops[whch].typ.fld; \
/linux-4.1.27/drivers/video/fbdev/
Damifb.c373 #define CUSTOM_OFS(fld) ((long)&((struct CUSTOM*)0)->fld) argument
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddsi.c1216 #define DSI_FLD_GET(fld, start, end)\ in _dsi_print_reset_status() argument
1217 FLD_GET(dsi_read_reg(dsidev, DSI_##fld), start, end) in _dsi_print_reset_status()