Searched refs:next_id (Results 1 - 25 of 43) sorted by last modified time

12

/linux-master/fs/ntfs3/
H A Dntfs_fs.h291 u32 next_id; member in struct:ntfs_sb_info::__anon74
H A Dfsntfs.c1943 sbi->security.next_id = SECURITY_ID_FIRST;
1952 u32 next_id; local
1962 next_id = le32_to_cpu(sii_e->sec_id) + 1;
1963 if (next_id >= sbi->security.next_id)
1964 sbi->security.next_id = next_id;
2197 d_security->key.sec_id = cpu_to_le32(sbi->security.next_id);
2268 sbi->security.next_id += 1;
/linux-master/drivers/virt/
H A Dvmgenid.c20 u8 *next_id; member in struct:vmgenid_state
52 state->next_id = devm_memremap(&device->dev, phys_addr, VMGENID_SIZE, MEMREMAP_WB);
53 if (IS_ERR(state->next_id)) {
54 ret = PTR_ERR(state->next_id);
58 memcpy(state->this_id, state->next_id, sizeof(state->this_id));
74 memcpy(state->this_id, state->next_id, sizeof(state->this_id));
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_submission.c2431 u32 next_id; local
2449 next_id = info->context_idx + 1;
2451 GEM_BUG_ON(next_id++ != child->guc_id.id);
/linux-master/kernel/bpf/
H A Dsyscall.c4275 #define BPF_OBJ_GET_NEXT_ID_LAST_FIELD next_id
4282 u32 next_id = attr->start_id; local
4285 if (CHECK_ATTR(BPF_OBJ_GET_NEXT_ID) || next_id >= INT_MAX)
4291 next_id++;
4293 if (!idr_get_next(idr, &next_id))
4298 err = put_user(next_id, &uattr->next_id);
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_cmd.c215 uint64_t id, next_id; local
227 next_id = info->next;
231 next_id);
242 id = next_id;
/linux-master/fs/xfs/
H A Dxfs_dquot.c731 xfs_dqid_t next_id = *id + 1; /* simple advance */ local
739 if (next_id < *id)
743 if (next_id % mp->m_quotainfo->qi_dqperchunk) {
744 *id = next_id;
748 /* Nope, next_id is now past the current chunk, so find the next one */
749 start = (xfs_fsblock_t)next_id / mp->m_quotainfo->qi_dqperchunk;
/linux-master/ipc/
H A Dipc_sysctl.c155 .data = &init_ipc_ns.ids[IPC_SEM_IDS].next_id,
156 .maxlen = sizeof(init_ipc_ns.ids[IPC_SEM_IDS].next_id),
164 .data = &init_ipc_ns.ids[IPC_MSG_IDS].next_id,
165 .maxlen = sizeof(init_ipc_ns.ids[IPC_MSG_IDS].next_id),
173 .data = &init_ipc_ns.ids[IPC_SHM_IDS].next_id,
174 .maxlen = sizeof(init_ipc_ns.ids[IPC_SHM_IDS].next_id),
216 if (((table->data == &ns->ids[IPC_SEM_IDS].next_id) ||
217 (table->data == &ns->ids[IPC_MSG_IDS].next_id) ||
218 (table->data == &ns->ids[IPC_SHM_IDS].next_id)) &&
282 else if (tbl[i].data == &init_ipc_ns.ids[IPC_SEM_IDS].next_id)
[all...]
H A Dshm.c964 int next_id; local
972 for (total = 0, next_id = 0; total < in_use; next_id++) {
976 ipc = idr_find(&shm_ids(ns).ipcs_idr, next_id);
/linux-master/samples/vfio-mdev/
H A Dmbochs.c191 u32 next_id; member in struct:mdev_state
549 mdev_state->next_id = 1;
945 dmabuf->id = mdev_state->next_id++;
/linux-master/tools/lib/bpf/
H A Dbpf.h479 LIBBPF_API int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id);
480 LIBBPF_API int bpf_map_get_next_id(__u32 start_id, __u32 *next_id);
481 LIBBPF_API int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id);
482 LIBBPF_API int bpf_link_get_next_id(__u32 start_id, __u32 *next_id);
H A Dbpf.c1011 static int bpf_obj_get_next_id(__u32 start_id, __u32 *next_id, int cmd) argument
1022 *next_id = attr.next_id;
1027 int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id) argument
1029 return bpf_obj_get_next_id(start_id, next_id, BPF_PROG_GET_NEXT_ID);
1032 int bpf_map_get_next_id(__u32 start_id, __u32 *next_id) argument
1034 return bpf_obj_get_next_id(start_id, next_id, BPF_MAP_GET_NEXT_ID);
1037 int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id) argument
1039 return bpf_obj_get_next_id(start_id, next_id, BPF_BTF_GET_NEXT_ID);
1042 int bpf_link_get_next_id(__u32 start_id, __u32 *next_id) argument
[all...]
/linux-master/tools/include/uapi/linux/
H A Dbpf.h398 * and updates *next_id* on success. If no other eBPF programs
411 * and updates *next_id* on success. If no other eBPF maps
625 * and updates *next_id* on success. If no other BTF objects
810 * and updates *next_id* on success. If no other eBPF links
1631 __u32 next_id; member in struct:bpf_attr::__anon3141
/linux-master/net/mptcp/
H A Dpm_netlink.c38 unsigned int next_id; member in struct:pm_nl_pernet
909 if (pernet->next_id == MPTCP_PM_MAX_ADDR_ID)
910 pernet->next_id = 1;
951 pernet->next_id);
952 if (!entry->addr.id && pernet->next_id != 1) {
953 pernet->next_id = 1;
962 if (entry->addr.id > pernet->next_id)
963 pernet->next_id = entry->addr.id;
1621 pernet->next_id = 1;
2303 pernet->next_id
[all...]
/linux-master/include/uapi/linux/
H A Dbpf.h398 * and updates *next_id* on success. If no other eBPF programs
411 * and updates *next_id* on success. If no other eBPF maps
625 * and updates *next_id* on success. If no other BTF objects
810 * and updates *next_id* on success. If no other eBPF links
1631 __u32 next_id; member in struct:bpf_attr::__anon2600
/linux-master/drivers/iommu/iommufd/
H A Dselftest.c939 unsigned int next_id; member in struct:selftest_access
1230 item->id = staccess->next_id++;
/linux-master/tools/perf/scripts/python/
H A Dexported-sql-viewer.py3463 next_id = int((lower_id + higher_id) / 2)
3464 QueryExec(query, "SELECT time FROM samples WHERE id = " + str(next_id))
3466 ok, dbid = self.IdBetween(query, lower_id, next_id, "DESC")
3468 ok, dbid = self.IdBetween(query, next_id, higher_id, "")
3471 next_id = dbid
3472 QueryExec(query, "SELECT time FROM samples WHERE id = " + str(next_id))
3476 lower_id = next_id
3478 higher_id = next_id
3483 lower_id = next_id
3485 higher_id = next_id
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_id.c28 __u32 i, next_id, info_len, nr_id_found; local
153 next_id = 0;
154 while (!bpf_prog_get_next_id(next_id, &next_id)) {
161 prog_fd = bpf_prog_get_fd_by_id(next_id);
169 if (prog_infos[i].id == next_id)
207 next_id = 0;
208 while (!bpf_map_get_next_id(next_id, &next_id)) {
214 map_fd = bpf_map_get_fd_by_id(next_id);
[all...]
/linux-master/drivers/soc/hisilicon/
H A Dkunpeng_hccs.c550 if (unlikely(rsp_head.next_id <= start_id)) {
553 rsp_head.next_id, start_id, die->die_id);
556 start_id = rsp_head.next_id;
H A Dkunpeng_hccs.h155 u8 next_id; member in struct:hccs_rsp_head
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c113 unsigned long next_id = (unsigned long)id + 1; local
120 counter, tmp, next_id) {
/linux-master/fs/xfs/scrub/
H A Ddqiterate.c94 uint64_t next_id; local
123 next_id = cursor->bmap.br_startoff * qi->qi_dqperchunk;
124 if (next_id > XFS_DQ_ID_MAX) {
131 *next_ondisk_id = next_id;
/linux-master/fs/hfs/
H A Dinode.c194 inode->i_ino = HFS_SB(sb)->next_id++;
/linux-master/kernel/
H A Dseccomp.c147 * @next_id: The id of the next request.
154 u64 next_id; member in struct:notification
1062 return filter->notif->next_id++;
1845 filter->notif->next_id = get_random_u64();
/linux-master/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c322 int next_id = VNIC_ID(0); local
324 vinfo = hfi1_netdev_get_first_data(dd, &next_id);
326 if (next_id > VNIC_ID(VNIC_MASK))

Completed in 607 milliseconds

12